From 0127f34befa1a5abdafe96c16518a71f2868a609 Mon Sep 17 00:00:00 2001 From: Taseer Date: Wed, 17 May 2017 00:06:55 +0500 Subject: Add cli-prompts while creating workspace Change-Id: I954b2fcf38e89f875f6b52cde63031fc663491dd Signed-off-by: Taseer Ahmed --- qtip/cli/commands/cmd_project.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'qtip') 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 = { -- cgit 1.2.3-korg