BC: Add output file path argument#83
Conversation
Allow to specify the output file path to which the SBOM is written to on the command line. Signed-off-by: andreas hilti <andreas.hilti@bluewin.ch>
8b7a8d2 to
18d5a65
Compare
|
@coderpatros @codetent This might address #52. |
Signed-off-by: andreas hilti <andreas.hilti@bluewin.ch>
|
could you also change the logs to be sent to stdError instead of stdOut? |
I haven't managed to sent it to stdError; all that I managed was to suppress it completely by setting quiet=True as an additional argument for the info command. |
|
@jkowalleck If we were to initialize the conan_api differently, say: then we could redirect all the output to stderr; however, I'm not sure about side effects (even though I don't see any). |
lets do this :-) we could redirect logs to stdErr, have SBOM on stdOut, and then push a new major version and describe these breaking changes in the changelog. |
Signed-off-by: andreas hilti <andreas.hilti@bluewin.ch>
@jkowalleck I have added this change. |
Signed-off-by: andreas hilti <andreas.hilti@bluewin.ch>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
via #83 BREAKING CHANGE Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
via #83 BREAKING CHANGE Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Allow to specify the output file path to which the SBOM is written on the command line, e.g.
cyclonedx-conan -l conan.lock conanfile.txt --output sbom.json