cyclonedx-cli icon indicating copy to clipboard operation
cyclonedx-cli copied to clipboard

Prepare documentation for v1 release

Open coderpatros opened this issue 4 years ago • 5 comments

The documentation needs a review before an official v1 release.

Current TODO:

  • [ ] basic example usage for each command
  • [ ] more docker image usage examples
  • [ ] expand documentation for installing runtime dependencies for Ubuntu
  • [ ] add documentation for installing runtime dependencies for Mac

Feel free to comment below if you think anything else is missing or needs improvement.

coderpatros avatar Feb 21 '21 11:02 coderpatros

@coderpatros Any updates on getting some docs around the Docker usage? I'd liked to use a local BOM file as input but it always gives me System.Byte[] if i don't specify an --output-file

coobr01 avatar Jul 18 '21 02:07 coobr01

What command and parameters are you using @coobr01?

coderpatros avatar Jul 18 '21 03:07 coderpatros

@coderpatros the one that ended up working was

docker run --rm -v "%cd%:/tmp" cyclonedx/cyclonedx-cli convert --input-file /tmp/bom-nodejs.xml --output-format CSV --output-file /tmp/coobr01.csv

If I remove the output-file param and just look to receive console output I get the System.Byte[] as a return.

coobr01 avatar Jul 18 '21 13:07 coobr01

@coderpatros, any update on this ticket?

I have spent several hours trying to get the latest binary to run on both mac and linux, but the setup documentation is missing. This is a bit frustrating, IMO, as there is no basic "Getting Started" section, nor a script to do whatever is necessary with the binaries to set up this tool.

You would probably have a higher adoption rate if a "Getting Started" section which describes how to set up the tool from was added.

dmuse89 avatar Jan 27 '22 10:01 dmuse89

@dmuse89 you should be able to just download the binary for your platform, mark the file as executable, and run it. You might have issues on Mac as we don't currently sign the binary with an Apple developer certificate. In that case it might be easier to use the Docker image.

coderpatros avatar Jan 29 '22 02:01 coderpatros