cloudblue / connect-cli Goto Github PK
View Code? Open in Web Editor NEWCommand-line utility for CloudBlue Connect.
Home Page: https://connect.cloudblue.com
License: Apache License 2.0
Command-line utility for CloudBlue Connect.
Home Page: https://connect.cloudblue.com
License: Apache License 2.0
If I create a report specifying with the option -f for an output format that does not exist it raises an exception instead of notifying the user with an error message.
Example:
ccli report execute my_awesome_report_pdf -d my_awesome_project -f pdf
Traceback (most recent call last):
File "/Users/galonso00/.env/cli/bin/ccli", line 8, in
sys.exit(main())
File "/Users/galonso00/.env/cli/lib/python3.9/site-packages/connect/cli/ccli.py", line 16, in main
cli(prog_name='ccli', standalone_mode=False)
File "/Users/galonso00/.env/cli/lib/python3.9/site-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/Users/galonso00/.env/cli/lib/python3.9/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/Users/galonso00/.env/cli/lib/python3.9/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/galonso00/.env/cli/lib/python3.9/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/galonso00/.env/cli/lib/python3.9/site-packages/connect/cli/core/base.py", line 14, in invoke
return super().invoke(ctx)
File "/Users/galonso00/.env/cli/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/galonso00/.env/cli/lib/python3.9/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/Users/galonso00/.env/cli/lib/python3.9/site-packages/click/decorators.py", line 73, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/Users/galonso00/.env/cli/lib/python3.9/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/Users/galonso00/.env/cli/lib/python3.9/site-packages/connect/cli/plugins/report/commands.py", line 58, in cmd_execute_report
execute_report(config, reports_dir, report_id, output_file, output_format)
File "/Users/galonso00/.env/cli/lib/python3.9/site-packages/connect/cli/plugins/report/helpers.py", line 118, in execute_report
inputs = get_report_inputs(config, client, report, output_format)
File "/Users/galonso00/.env/cli/lib/python3.9/site-packages/connect/cli/plugins/report/wizard.py", line 271, in get_report_inputs
intro=generate_intro(config, report, output_format),
File "/Users/galonso00/.env/cli/lib/python3.9/site-packages/connect/cli/plugins/report/wizard.py", line 238, in generate_intro
output_format=output_formats[output_format],
KeyError: 'pdf'
When I try to check the ccli version, I always get 0.0.1. I tested this on the latest 21.10 version. See the example below:
PS C:\Connect_CLI\connect-cli_21.10_windows_amd64\dist> .\ccli.exe --version
ccli, version 0.0.1
This should match the release version, in this case, 21.10
Did everything as described in the documentation:
C:\Windows\system32>ccli
Traceback (most recent call last):
File "cli\ccli.py", line 31, in <module>
File "cli\ccli.py", line 15, in main
File "cli\core\plugins.py", line 14, in load_plugins
File "pkg_resources\__init__.py", line 2450, in load
File "pkg_resources\__init__.py", line 2456, in resolve
ModuleNotFoundError: No module named 'connect.cli.plugins.play'
[33500] Failed to execute script ccli
When a template extension project is created of type Fulfillment Automation and it's executed with cextrun
,
the error is shown: The status/es processed are invalid for the event usage_file_request_processing.
.
I determined it is due to the processed
status included in the statuses
argument for the method handle_usage_file_request_processing
.
As I saw the template in this repository, the processed
status is not included in the USAGE_FILE_STATUSES
constant.
And also the default Multi account extension project doesn't have this problem.
But in the Fulfillment type it keeps adding that status.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.