restructure the CLI: sub-commands #420
Replies: 1 comment
-
done |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
current CLI is described here: https://github.com/CycloneDX/cyclonedx-python#basic-usage
proposal: change the CLI to use proper sub-commands - one for each ecosystem:
benefits:
for example
cyclonedx requirements
requires an argument to the requirement-file - which defaults torequirements.txt
,while
cyclonedx-py environment
does not.and if each of the sub commands would act autonomous, it could even become available as a public python module:
$ python -m cyclonedx_py.cli --help $ python -m cyclonedx_py.cli.conda --help # ... and so on
Beta Was this translation helpful? Give feedback.
All reactions