Skip to content

Commit 23eb21e

Browse files
committed
mark AI remediations as internal command; deprecate version command; fix GHA runner
1 parent 13f90b7 commit 23eb21e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/build_executable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
os: [ ubuntu-20.04, macos-12, macos-14, windows-2019 ]
18+
os: [ ubuntu-20.04, macos-13, macos-14, windows-2019 ]
1919
mode: [ 'onefile', 'onedir' ]
2020
exclude:
2121
- os: ubuntu-20.04

cycode/cli/commands/ai_remediation/ai_remediation_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def _apply_fix(context: click.Context, diff: str, is_fix_available: bool) -> Non
3838
printer.print_result(CliResult(success=False, message='Failed to apply fix'))
3939

4040

41-
@click.command(short_help='Get AI remediation.')
41+
@click.command(short_help='Get AI remediation (INTERNAL).', hidden=True)
4242
@click.argument('detection_id', nargs=1, type=click.UUID, required=True)
4343
@click.option(
4444
'--fix',

cycode/cli/commands/version/version_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from cycode.cli.consts import PROGRAM_NAME
77

88

9-
@click.command(short_help='Show the CLI version and exit.')
9+
@click.command(short_help='Show the CLI version and exit. Use `cycode status` instead.', deprecated=True)
1010
@click.pass_context
1111
def version_command(context: click.Context) -> None:
1212
output = context.obj['output']

0 commit comments

Comments
 (0)