From ed12be655d8d430a342ee294eafb0b068aaf204a Mon Sep 17 00:00:00 2001 From: Joseph Flinn Date: Wed, 28 Feb 2024 14:44:24 -0800 Subject: [PATCH] Moving actions sub command to be in beta since we haven't decided to adopt that pattern --- lint-workflow-v2/src/bitwarden_workflow_linter/actions.py | 2 +- lint-workflow-v2/src/bitwarden_workflow_linter/cli.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lint-workflow-v2/src/bitwarden_workflow_linter/actions.py b/lint-workflow-v2/src/bitwarden_workflow_linter/actions.py index ebe48c43..c8744150 100644 --- a/lint-workflow-v2/src/bitwarden_workflow_linter/actions.py +++ b/lint-workflow-v2/src/bitwarden_workflow_linter/actions.py @@ -49,7 +49,7 @@ def extend_parser( The main argument parser to add sub commands and arguments to """ parser_actions = subparsers.add_parser( - "actions", help="Add or Update Actions in the pre-approved list." + "actions", help="!!BETA!!\nAdd or Update Actions in the pre-approved list." ) parser_actions.add_argument( "-o", "--output", action="store", default="actions.json" diff --git a/lint-workflow-v2/src/bitwarden_workflow_linter/cli.py b/lint-workflow-v2/src/bitwarden_workflow_linter/cli.py index 930b0519..13e984a7 100644 --- a/lint-workflow-v2/src/bitwarden_workflow_linter/cli.py +++ b/lint-workflow-v2/src/bitwarden_workflow_linter/cli.py @@ -42,6 +42,7 @@ def main(input_args: Optional[List[str]] = None) -> int: return linter_cmd.run(args.files, args.strict) if args.command == "actions": + print(f"{'-'*50}\n!!bwwl actions is in BETA!!\n{'-'*50}") if args.actions_command == "add": return actions_cmd.add(args.name, args.output) if args.actions_command == "update":