FOSSology  4.4.0
Open Source License Compliance by Open Source Software
FoScanner.CliOptions.CliOptions Class Reference
Inheritance diagram for FoScanner.CliOptions.CliOptions:
Inheritance graph
Collaboration diagram for FoScanner.CliOptions.CliOptions:
Collaboration graph

Public Member Functions

def update_args (self, Namespace args)
 

Public Attributes

 nomos
 
 copyright
 
 keyword
 
 ojo
 
 repo
 
 report_format
 

Static Public Attributes

 bool
 
 str
 
 ReportFormat
 

Detailed Description

Hold the various shared flags and data

:ivar nomos: run nomos scanner
:ivar ojo: run ojo scanner
:ivar copyright: run copyright scanner
:ivar keyword: run keyword scanner
:ivar repo: scan whole repo or just diff
:ivar diff_dir: directory to scan
:ivar allowlist: information from allowlist.json
:ivar report_format: Report format to use

Definition at line 24 of file CliOptions.py.

Member Function Documentation

◆ update_args()

def FoScanner.CliOptions.CliOptions.update_args (   self,
Namespace  args 
)
Update options based on argsparse values.

:param args: Argparse from cli

Definition at line 49 of file CliOptions.py.


The documentation for this class was generated from the following file: