Merge "Taking run_cmd as input on the CLI"
This commit is contained in:
@@ -680,15 +680,13 @@ Available commands:
|
|||||||
# Check for the entry point. Check args first, then the planfile.
|
# Check for the entry point. Check args first, then the planfile.
|
||||||
# If it's neither of those places, prompt for it and update the
|
# If it's neither of those places, prompt for it and update the
|
||||||
# plan definition.
|
# plan definition.
|
||||||
'''
|
|
||||||
run_cmd = None
|
run_cmd = None
|
||||||
if args.run_cmd is not None:
|
if args.run_cmd is not None:
|
||||||
plan_definition['artifacts'][0]['run_cmd'] = args.run_cmd
|
plan_definition['artifacts'][0]['run_cmd'] = args.run_cmd
|
||||||
if plan_definition['artifacts'][0].get('run_cmd') is None:
|
if plan_definition['artifacts'][0].get('run_cmd') is None:
|
||||||
run_cmd = raw_input("Please specify an entry point for your "
|
run_cmd = raw_input("Please specify start/run command for your "
|
||||||
"application.\n> ")
|
"application.\n> ")
|
||||||
plan_definition['artifacts'][0]['run_cmd'] = run_cmd
|
plan_definition['artifacts'][0]['run_cmd'] = run_cmd
|
||||||
'''
|
|
||||||
|
|
||||||
# Update name and description if specified.
|
# Update name and description if specified.
|
||||||
if args.name is not None:
|
if args.name is not None:
|
||||||
|
Reference in New Issue
Block a user