ScanCode-Toolkit
  • Getting Started
  • Tutorials
  • How-To Guides
  • Reference
  • Explanation
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.