license¶

                                                                                
 Usage: lftools-uv license [OPTIONS] COMMAND [ARGS]...                          
                                                                                
 Scan code for license headers                                                  
                                                                                
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --help          Show this message and exit.                                  │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ───────────────────────────────────────────────────────────────────╮
│ check   Check files for missing license headers.                             │
╰──────────────────────────────────────────────────────────────────────────────╯

Commands¶

check¶

                                                                                
 Usage: lftools-uv license check [OPTIONS] {source}                             
                                                                                
 Check files for missing license headers.                                       
                                                                                
 Does not care about line formatting of the license as long as all of the text  
 is there and in the correct order.                                             
                                                                                
 Note: This code only supports '#' comments for license headers.                
                                                                                
 Args: source: Source file or directory to check for license headers            
 license_file: License header file to compare against                           
                                                                                
 Examples: lftools-uv license check src/ lftools-uv license check myfile.py     
 --license custom-header.txt                                                    
                                                                                
╭─ Arguments ──────────────────────────────────────────────────────────────────╮
│ *    source      <path>  Source file or directory to check                   │
│                          [required]                                          │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --license  -l      <str>  License header file to compare against             │
│                           [default: license-header.txt]                      │
│ --help                    Show this message and exit.                        │
╰──────────────────────────────────────────────────────────────────────────────╯