add short help text for a deployment

This commit is contained in:
zramsay 2023-08-23 17:32:55 -04:00
parent 7797185d07
commit fb56c3a157

View File

@ -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")