From: tierno Date: Tue, 3 Dec 2019 23:55:50 +0000 (+0000) Subject: change repo type to helm-chart,juju-bundle X-Git-Tag: v7.0.0rc1~2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F07%2F8307%2F1;p=osm%2Fosmclient.git change repo type to helm-chart,juju-bundle Change-Id: I69a8a8613ef81ef396d1da55376a2a306960eb2a Signed-off-by: tierno --- diff --git a/osmclient/scripts/osm.py b/osmclient/scripts/osm.py index 2aa16c6..ee3e792 100755 --- a/osmclient/scripts/osm.py +++ b/osmclient/scripts/osm.py @@ -2501,9 +2501,9 @@ def k8scluster_show(ctx, name, literal): @click.argument('name') @click.argument('uri') @click.option('--type', - type=click.Choice(['chart', 'bundle']), + type=click.Choice(['helm-chart', 'juju-bundle']), prompt=True, - help='type of repo (chart for helm-charts, bundle for juju-bundles)') + help='type of repo for helm-chart or juju-bundle') @click.option('--description', default='', help='human readable description') @@ -2539,8 +2539,8 @@ def repo_add(ctx, @click.argument('name') @click.option('--newname', help='New name for the repo') @click.option('--uri', help='URI of the repo') -@click.option('--type', type=click.Choice(['chart', 'bundle']), - help='type of repo (chart for helm-charts, bundle for juju-bundles)') +@click.option('--type', type=click.Choice(['helm-chart', 'juju-bundle']), + help='type of repo for helm-chart or juju-bundle') @click.option('--description', help='human readable description') #@click.option('--wait', # is_flag=True,