Skip to content

Commit

Permalink
Command group
Browse files Browse the repository at this point in the history
  • Loading branch information
mayankpatibandla committed Aug 29, 2024
1 parent d9cbbda commit 4df3613
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
13 changes: 13 additions & 0 deletions pros/cli/branchline.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from pros.cli.common import *
from pros.common import ui
from .conductor import conductor

@conductor.group(aliases=["b", "branch"], short_help="Manage branchline templates")
@default_options
def branchline():
pass

@branchline.command("list", help="List available branchline templates")
def list_branchline():
ui.echo("Branchline templates:")

3 changes: 2 additions & 1 deletion pros/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
'v5_utils',
'misc_commands', # misc_commands must be after upload so that "pros u" is an alias for upload, not upgrade
'interactive',
'user_script'
'user_script',
'branchline',
]

if getattr(sys, 'frozen', False):
Expand Down

0 comments on commit 4df3613

Please sign in to comment.