Skip to content

Commit

Permalink
Moving actions sub command to be in beta since we haven't decided to …
Browse files Browse the repository at this point in the history
…adopt that pattern
  • Loading branch information
joseph-flinn committed Feb 28, 2024
1 parent 86b9bd9 commit ed12be6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lint-workflow-v2/src/bitwarden_workflow_linter/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions lint-workflow-v2/src/bitwarden_workflow_linter/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit ed12be6

Please sign in to comment.