File tree Expand file tree Collapse file tree 3 files changed +16
-6
lines changed
Expand file tree Collapse file tree 3 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 33from cycode .cli .apps .ai_remediation .ai_remediation_command import ai_remediation_command
44
55app = typer .Typer ()
6- app .command (name = 'ai_remediation' , short_help = 'Get AI remediation (INTERNAL).' , hidden = True )(ai_remediation_command )
6+ app .command (name = 'ai-remediation' , short_help = 'Get AI remediation (INTERNAL).' , hidden = True )(ai_remediation_command )
7+
8+ # backward compatibility
9+ app .command (hidden = True , name = 'ai_remediation' )(ai_remediation_command )
Original file line number Diff line number Diff line change 77app = typer .Typer (name = 'sbom' )
88app .callback (short_help = 'Generate SBOM report for remote repository by url or local directory by path.' )(sbom_command )
99app .command (name = 'path' , short_help = 'Generate SBOM report for provided path in the command.' )(path_command )
10- app .command (name = 'repository_url ' , short_help = 'Generate SBOM report for provided repository URI in the command.' )(
10+ app .command (name = 'repository-url ' , short_help = 'Generate SBOM report for provided repository URI in the command.' )(
1111 repository_url_command
1212)
13+
14+ # backward compatibility
15+ app .command (hidden = True , name = 'repository_url' )(repository_url_command )
Original file line number Diff line number Diff line change 1616
1717app .command (name = 'path' , short_help = 'Scan the files in the paths provided in the command.' )(path_command )
1818app .command (name = 'repository' , short_help = 'Scan the Git repository included files.' )(repository_command )
19- app .command (name = 'commit_history ' , short_help = 'Scan all the commits history in this git repository.' )(
19+ app .command (name = 'commit-history ' , short_help = 'Scan all the commits history in this git repository.' )(
2020 commit_history_command
2121)
22-
2322app .command (
24- name = 'pre_commit ' ,
23+ name = 'pre-commit ' ,
2524 short_help = 'Use this command in pre-commit hook to scan any content that was not committed yet.' ,
2625 rich_help_panel = 'Automation commands' ,
2726)(pre_commit_command )
2827app .command (
29- name = 'pre_receive ' ,
28+ name = 'pre-receive ' ,
3029 short_help = 'Use this command in pre-receive hook '
3130 'to scan commits on the server side before pushing them to the repository.' ,
3231 rich_help_panel = 'Automation commands' ,
3332)(pre_receive_command )
33+
34+ # backward compatibility
35+ app .command (hidden = True , name = 'commit_history' )(commit_history_command )
36+ app .command (hidden = True , name = 'pre_commit' )(pre_commit_command )
37+ app .command (hidden = True , name = 'pre_receive' )(pre_receive_command )
You can’t perform that action at this time.
0 commit comments