ScanCode-Toolkit
  • Are you new to Scancode-Toolkit?
  • Getting Started
  • Command Line Interface Reference
  • Basic Tutorials
  • How-To Guides
  • Contribute
  • Plugins
  • Miscellaneous
  • Reference Docs
ScanCode-Toolkit
  • Print to stdout (Terminal)
  • Edit on GitHub

Print to stdout (Terminal)

If you want to format the output in JSON and print it at stdout, you can replace the JSON filename with a “-”, like --json-pp - instead of --json-pp output.json.

The following command will output the scan results in JSON format to stdout (In the Terminal):

./scancode -clpieu --json-pp - samples/

© Copyright nexB Inc. and others..

Built with Sphinx using a theme provided by Read the Docs.