Skip to content

Commit

Permalink
chore: added short name for alfred flags
Browse files Browse the repository at this point in the history
  • Loading branch information
raaymax committed Feb 16, 2024
1 parent 24ed53b commit ea41322
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alfred/ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@


@alfred.command("ci", help="continuous integration pipeline")
@alfred.option('--front', help="run for frontend only", is_flag=True, default=False)
@alfred.option('--back', help="run for backend only", is_flag=True, default=False)
@alfred.option('--front', '-f', help="run for frontend only", is_flag=True, default=False)
@alfred.option('--back', '-b', help="run for backend only", is_flag=True, default=False)
def ci(front, back):
if back or (not front and not back):
alfred.invoke_command("ci.mypy")
Expand Down

0 comments on commit ea41322

Please sign in to comment.