Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot parse wfp files for C++ projects? #18

Closed
sebastianpfischer opened this issue Nov 8, 2022 · 4 comments
Closed

Cannot parse wfp files for C++ projects? #18

sebastianpfischer opened this issue Nov 8, 2022 · 4 comments
Assignees

Comments

@sebastianpfischer
Copy link

After setting up a 3.9.13 env, poetry run scanoss-py scan -o scan-output.json . works but when I call poetry run python -m scanoss.cli scanner_output.wfp, I get:
usage: cli.py [-h] {version,ver,scan,sc,fingerprint,fp,wfp,dependencies,dp,dep} ... cli.py: error: argument subparser: invalid choice: 'scanner_output.wfp' (choose from 'version', 'ver', 'scan', 'sc', 'fingerprint', 'fp', 'wfp', 'dependencies', 'dp', 'dep')

@eeisegn eeisegn self-assigned this Nov 9, 2022
@eeisegn
Copy link
Contributor

eeisegn commented Nov 9, 2022

Hi Sebastian,

You are missing the "action" command from the second command. I should be one of scan, wfp, dep.
So your command should look something like these:

poetry run python -m scanoss.cli scan -o scan-output.json .
poetry run python -m scanoss.cli wfp -o fingers.wfp .
poetry run python -m scanoss.cli scan -o scan-output.json -w fingers.wfp

Make sense or did we misunderstand your intent?

Thanks!

@sebastianpfischer
Copy link
Author

sebastianpfischer commented Nov 10, 2022

Hi @eeisegn,

sorry, my bad, somehow I got confused by the https://github.com/scanoss/scanoss.py/blob/main/PACKAGE.md...
I miss read that scanoss.cli is the same as scanoss-py.

I somehow thought I could get an analysis of the scan-output to know what it contains.

@sebastianpfischer
Copy link
Author

Else, do you support .spdx files with the cli?

@eeisegn
Copy link
Contributor

eeisegn commented Nov 10, 2022

Hi,

We support exporting results in the following formats:

  • RAW (json)
  • SPDX Lite (json)
  • CycloneDX (json)
  • CSV

Or scanoss-js client also supports HTML report generation. If you want to review the results graphically, please look at our Audit Workbench.

Thanks!

@eeisegn eeisegn closed this as completed Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants