Closed surendrapathak closed 1 year ago
The error message is always "invalid spec." It should be called out specifically.
Error messages:
Example of better error handling below -
sbomqs score ~/Downloads/09-07-2022.csv --reportFormat basic2 Error: report format options are basic or detailed Usage: sbomqs score [flags] Flags: --category string scoring category --dirpath string sbom dir path --filepath string sbom file path -h, --help help for score --reportFormat string reporting format basic/detailed/json
The error message is always "invalid spec." It should be called out specifically.
Error messages:
Example of better error handling below -