Skip to content

Commit

Permalink
add short help text for a deployment (#511)
Browse files Browse the repository at this point in the history
  • Loading branch information
zramsay authored Aug 24, 2023
1 parent 7797185 commit 125af19
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ class DeploymentContext:
@click.option("--dir", required=True, help="path to deployment directory")
@click.pass_context
def command(ctx, dir):
'''create a deployment'''

# Check that --stack wasn't supplied
if ctx.parent.obj.stack:
print("Error: --stack can't be supplied with the deployment command")
Expand Down

0 comments on commit 125af19

Please sign in to comment.