Skip to content

Commit

Permalink
replace option with argument for aurmr start argument
Browse files Browse the repository at this point in the history
  • Loading branch information
markusgrotz committed Aug 29, 2024
1 parent 181841c commit 5c9ce40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aurmr_setup/cli/system_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from importlib.resources import path


from click_prompt import choice_option
from click_prompt import choice_argument

from aurmr_setup.core.workspace import Workspace
from aurmr_setup.core.workspace import get_active_workspace
Expand All @@ -36,7 +36,7 @@ def get_launch_scripts() -> List[str]:


@cli.command()
@choice_option("--script", multiple=False, type=click.Choice(get_launch_scripts()))
@choice_argument("script", multiple=False, type=click.Choice(get_launch_scripts()))
def start(script: str):

logger.info("Running script %s", script)
Expand Down

0 comments on commit 5c9ce40

Please sign in to comment.