reset now needs --application-name

parent 593ee631
......@@ -44,10 +44,11 @@ def set_deploy_status(verb, region, role_arn, application, reset=None):
@update.command()
@click.pass_context
def reset(ctx):
@click.option("--application-name", required=True, help="The application name (target group) to reset unlock for re-running the 'asg' subcommand on")
def reset(ctx, application_name):
region = ctx.obj.get('region')
role_arn = ctx.obj.get('role_arn')
set_deploy_status("stop", region, role_arn, "reset", True)
set_deploy_status("stop", region, role_arn, application_name, True)
@update.command()
@click.pass_context
......
......@@ -6,7 +6,7 @@ with open("README.md", "r") as fh:
setuptools.setup(
name="akinaka",
python_requires='>=3.3.0',
version="0.2.11",
version="0.2.12",
author="Afraz",
author_email="afraz@olindata.com",
description="OlinData's aws cli Extras",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment