Skip to content

Commit c1ddb7b

Browse files
committed
move show-secret option to a dedicated rich panel
1 parent 88231e0 commit c1ddb7b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cycode/cli/apps/scan/scan_command.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
_AUTH_RICH_HELP_PANEL = 'Authentication options'
1717
_EXPORT_RICH_HELP_PANEL = 'Export options'
1818
_SCA_RICH_HELP_PANEL = 'SCA options'
19+
_SECRET_RICH_HELP_PANEL = 'Secret options'
1920

2021

2122
def scan_command(
@@ -43,7 +44,9 @@ def scan_command(
4344
rich_help_panel=_AUTH_RICH_HELP_PANEL,
4445
),
4546
] = None,
46-
show_secret: Annotated[bool, typer.Option('--show-secret', help='Show Secrets in plain text.')] = False,
47+
show_secret: Annotated[
48+
bool, typer.Option('--show-secret', help='Show Secrets in plain text.', rich_help_panel=_SECRET_RICH_HELP_PANEL)
49+
] = False,
4750
soft_fail: Annotated[
4851
bool, typer.Option('--soft-fail', help='Run the scan without failing; always return a non-error status code.')
4952
] = False,

0 commit comments

Comments
 (0)