aboutsummaryrefslogtreecommitdiffstats
path: root/qtip/cli/commands/cmd_project.py
diff options
context:
space:
mode:
authorTaseer <taseer94@gmail.com>2017-05-17 00:06:55 +0500
committerTaseer <taseer94@gmail.com>2017-05-17 00:06:55 +0500
commit0127f34befa1a5abdafe96c16518a71f2868a609 (patch)
treee2a2efc270da39136ff46ff4f82841f3d3e22d40 /qtip/cli/commands/cmd_project.py
parentb5a115179cc75be6ca853d740dfce393fc8c1fd2 (diff)
Add cli-prompts while creating workspace
Change-Id: I954b2fcf38e89f875f6b52cde63031fc663491dd Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
Diffstat (limited to 'qtip/cli/commands/cmd_project.py')
-rw-r--r--qtip/cli/commands/cmd_project.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/qtip/cli/commands/cmd_project.py b/qtip/cli/commands/cmd_project.py
index 42fd000d..117330f5 100644
--- a/qtip/cli/commands/cmd_project.py
+++ b/qtip/cli/commands/cmd_project.py
@@ -36,10 +36,14 @@ def cli():
@cli.command(help="Create new testing project")
-@click.option('--pod', default='unknown', help='Name of pod under test')
-@click.option('--installer', help='OPNFV installer', default='manual')
-@click.option('--master-host', help='Installer hostname', default='dummy-host')
-@click.option('--scenario', default='unknown', help='OPNFV scenario')
+@click.option('--pod', default='unknown', prompt='Pod Name',
+ help='Name of pod under test')
+@click.option('--installer', prompt='OPNFV Installer',
+ help='OPNFV installer', default='manual')
+@click.option('--master-host', prompt='Installer Hostname',
+ help='Installer hostname', default='dummy-host')
+@click.option('--scenario', prompt='OPNFV Scenario', default='unknown',
+ help='OPNFV scenario')
@click.argument('name')
def create(pod, installer, master_host, scenario, name):
extra_vars = {