summaryrefslogtreecommitdiffstats
path: root/dcae-cli/dcae_cli/commands/catalog/commands.py
diff options
context:
space:
mode:
authortb2541onap <tb2541@att.com>2018-09-17 14:46:02 -0400
committertb2541onap <tb2541@att.com>2018-10-04 13:42:56 -0400
commit91a44d2ce8398f0fd98e520933df605b00f80eee (patch)
tree1f151f693527c0b315b04fed18fc3e98dcc72915 /dcae-cli/dcae_cli/commands/catalog/commands.py
parent2de95edebaa92072aa857ca70961cd7bdaf7a77d (diff)
Policy Reconfiguration, Component Spec, Help text
Added Policy Reconfiguration support Updates to the Help text that is displayed to the user Issue-ID: DCAEGEN2-576 Change-Id: I12bf40b24d607fca33e321da8c9ba7fea2f200cd Signed-off-by: tb2541onap <tb2541@att.com>
Diffstat (limited to 'dcae-cli/dcae_cli/commands/catalog/commands.py')
-rw-r--r--dcae-cli/dcae_cli/commands/catalog/commands.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/dcae-cli/dcae_cli/commands/catalog/commands.py b/dcae-cli/dcae_cli/commands/catalog/commands.py
index 44771fa..dc6b27a 100644
--- a/dcae-cli/dcae_cli/commands/catalog/commands.py
+++ b/dcae-cli/dcae_cli/commands/catalog/commands.py
@@ -1,7 +1,7 @@
# ============LICENSE_START=======================================================
# org.onap.dcae
# ================================================================================
-# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (c) 2017-2018 AT&T Intellectual Property. All rights reserved.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -32,10 +32,11 @@ def catalog():
@catalog.command(name="list")
-@click.option("--expanded", is_flag=True, default=False, help="Display the expanded view - show all versions and all status")
+@click.option("--expanded", is_flag=True, default=False, help="Display the expanded view - show all versions and all statuses")
#TODO: @click.argument('query')
@click.pass_obj
def action_list(obj, expanded):
+ """Lists resources in the onboarding catalog"""
# Query both components and data formats. Display both sets.
user, catalog = obj['config']['user'], obj['catalog']
@@ -82,6 +83,7 @@ def action_list(obj, expanded):
@click.argument("resource", metavar="name:version")
@click.pass_obj
def action_show(obj, resource):
+ """Provides more information about a resource"""
# Query both components and data formats. Display both sets.
name, ver = util.parse_input(resource)
catalog = obj['catalog']