Skip to content

Commit

Permalink
馃毟 Add single letter query-templates alias (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushuk committed Feb 18, 2024
1 parent 31ae744 commit a73b3e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pros/cli/conductor.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def new_project(ctx: click.Context, path: str, target: str, version: str,


@conductor.command('query-templates',
aliases=['search-templates', 'ls-templates', 'lstemplates', 'querytemplates', 'searchtemplates'],
aliases=['search-templates', 'ls-templates', 'lstemplates', 'querytemplates', 'searchtemplates', 'q'],
context_settings={'ignore_unknown_options': True})
@click.option('--allow-offline/--no-offline', 'allow_offline', default=True, show_default=True,
help='(Dis)allow offline templates in the listing')
Expand Down Expand Up @@ -394,4 +394,4 @@ def reset(force: bool):
os.remove(file)

ui.echo("Conductor was reset")


0 comments on commit a73b3e0

Please sign in to comment.