From 864e96a23bafd23a01f681efa67831d7dbd94c7e Mon Sep 17 00:00:00 2001 From: Devdatta Kulkarni Date: Mon, 16 Mar 2015 11:02:27 -0500 Subject: [PATCH] Taking run_cmd as input on the CLI Change-Id: I75926684a60e05c66edcf69014a3b0cb27e5d8b4 Closes-Bug: #1432691 --- solumclient/solum.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/solumclient/solum.py b/solumclient/solum.py index 764acc6..e061a6a 100644 --- a/solumclient/solum.py +++ b/solumclient/solum.py @@ -680,15 +680,13 @@ Available commands: # Check for the entry point. Check args first, then the planfile. # If it's neither of those places, prompt for it and update the # plan definition. - ''' run_cmd = None if args.run_cmd is not None: plan_definition['artifacts'][0]['run_cmd'] = args.run_cmd 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> ") plan_definition['artifacts'][0]['run_cmd'] = run_cmd - ''' # Update name and description if specified. if args.name is not None: