Skip to content

Commit

Permalink
EXAMPLES : Fix cli for rest api app.
Browse files Browse the repository at this point in the history
  • Loading branch information
crdoconnor committed Dec 11, 2023
1 parent 3913863 commit 71e6b3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/restapi/hitch/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def rbdd(keywords):
"""
Run story with name containing keywords and rewrite.
"""
_collection().shortcut(*keywords).play()
_collection(rewrite=True).shortcut(*keywords).play()


@cli.command()
Expand All @@ -34,7 +34,7 @@ def bdd(keywords):
"""
Run story with name containing keywords.
"""
_collection(rewrite=True).shortcut(*keywords).play()
_collection().shortcut(*keywords).play()


@cli.command()
Expand Down

0 comments on commit 71e6b3a

Please sign in to comment.