add short help text for a deployment (#511)
Publish / Build and publish (push) Successful in 1m53s Details
Deploy Test / Run deploy test suite (push) Successful in 5m57s Details
Smoke Test / Run basic test suite (push) Successful in 8m28s Details

pull/515/head v1.1.0-125af19-202308241250
Zach 2023-08-24 08:50:42 -04:00 committed by GitHub
parent 7797185d07
commit 125af19890
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

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