Documentation Index
Fetch the complete documentation index at: https://docs.scanoss.com/llms.txt
Use this file to discover all available pages before exploring further.
Basic Usage
To run a basic scan, import theScanner class and call scan_folder_with_options. By default, results are written to stdout as JSON:
Note:ScanossSettings()is initialised here with its default values. Replace'/path/to/project'with the path to the directory you want to scan.
Saving Results to a File
To write results to a file rather than stdout, pass the desired output path as thescan_output argument to the Scanner constructor: