Skip to content

Commit 87cd5b2

Browse files
committed
CM-58022-hide ai-guardrails help for now
1 parent 0dccae8 commit 87cd5b2

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

cycode/cli/apps/ai_guardrails/__init__.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
from cycode.cli.apps.ai_guardrails.status_command import status_command
66
from 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)
1315
app.command(
1416
hidden=True,
1517
name='scan',

cycode/cli/apps/ai_guardrails/scan/handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)