forked from cerc-io/stack-orchestrator
add short help text for a deployment (#511)
This commit is contained in:
parent
7797185d07
commit
125af19890
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user