File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
cycode/cli/apps/ai_guardrails Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 55from cycode .cli .apps .ai_guardrails .status_command import status_command
66from cycode .cli .apps .ai_guardrails .uninstall_command import uninstall_command
77
8- app = typer .Typer (name = 'ai-guardrails' , no_args_is_help = True )
8+ app = typer .Typer (name = 'ai-guardrails' , no_args_is_help = True , hidden = True )
99
10- app .command (name = 'install' , short_help = 'Install AI guardrails hooks for supported IDEs.' )(install_command )
11- app .command (name = 'uninstall' , short_help = 'Remove AI guardrails hooks from supported IDEs.' )(uninstall_command )
12- app .command (name = 'status' , short_help = 'Show AI guardrails hook installation status.' )(status_command )
10+ app .command (hidden = True , name = 'install' , short_help = 'Install AI guardrails hooks for supported IDEs.' )(install_command )
11+ app .command (hidden = True , name = 'uninstall' , short_help = 'Remove AI guardrails hooks from supported IDEs.' )(
12+ uninstall_command
13+ )
14+ app .command (hidden = True , name = 'status' , short_help = 'Show AI guardrails hook installation status.' )(status_command )
1315app .command (
1416 hidden = True ,
1517 name = 'scan' ,
Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ def _setup_scan_context(ctx: typer.Context) -> typer.Context:
246246 # Set up minimal required context
247247 ctx .obj ['progress_bar' ] = DummyProgressBar ([ScanProgressBarSection ])
248248 ctx .obj ['sync' ] = True # Synchronous scan
249- ctx .obj ['scan_type' ] = ScanTypeOption .SECRET # AI guardrails always scans for secrets
249+ ctx .obj ['scan_type' ] = ScanTypeOption .SECRET # AI guardrails always scans for secrets
250250 ctx .obj ['severity_threshold' ] = SeverityOption .INFO # Report all severities
251251
252252 # Set command name for scan logic
You can’t perform that action at this time.
0 commit comments