add short help text for a deployment #511

Merged
telackey merged 1 commits from cli-info into main 2023-08-24 12:50:42 +00:00

View File

@ -30,6 +30,8 @@ class DeploymentContext:
@click.option("--dir", required=True, help="path to deployment directory") @click.option("--dir", required=True, help="path to deployment directory")
@click.pass_context @click.pass_context
def command(ctx, dir): def command(ctx, dir):
'''create a deployment'''
# Check that --stack wasn't supplied # Check that --stack wasn't supplied
if ctx.parent.obj.stack: if ctx.parent.obj.stack:
print("Error: --stack can't be supplied with the deployment command") print("Error: --stack can't be supplied with the deployment command")