ScanCode allows you to scan a codebase for license, copyright and other interesting information that can be discovered in files. The following options are available for detection when using ScanCode Toolkit:
The following examples will use the samples
directory that is provided with the ScanCode
Toolkit code. All examples will
be saved in the JSON format, which can be loaded into Scancode Workbench for visualization. See
:ref:`how_to_visualize_scan_results` for more information. Another output format option is a
static html file. See :ref:`cli_output_format` for more information.
To scan for licenses, copyrights, urls, emails, package information, and file information
scancode -clipeu --json output.json samples
scancode -cl --json-pp output.json samples
scancode -eu --json-pp output.json samples
scancode -p --json-pp output.json samples
scancode -i --json-pp output.json samples
scancode --examples
For more information, refer :ref:`cli_list_options`.