diff options
author | stark, steven <steven.stark@att.com> | 2020-09-17 13:04:35 -0700 |
---|---|---|
committer | stark, steven <steven.stark@att.com> | 2020-09-17 13:04:35 -0700 |
commit | 35375724d9657de99adb8e530e1be21305555a40 (patch) | |
tree | 28806a1a1317426546ffdb9755d6f632ce088605 /onap-client/onap_client/cli.py | |
parent | 591c548e569423dad8d106d4d2cd26bc5ce24b19 (diff) |
[VVP] Updating onap-client
Removing dependency on distutils
moving etc/ to package resource
Adding support for volume creation and delete
Removing module level imports
Adding delete capability to spec-engine
Adding kwarg to pass Client instance to functions
Issue-ID: VVP-469
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: Ie00065f54411c8ff40ea20c35fe919ce15f65e6a
Diffstat (limited to 'onap-client/onap_client/cli.py')
-rw-r--r-- | onap-client/onap_client/cli.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/onap-client/onap_client/cli.py b/onap-client/onap_client/cli.py index 1013403..c8d8657 100644 --- a/onap-client/onap_client/cli.py +++ b/onap-client/onap_client/cli.py @@ -48,9 +48,9 @@ from onap_client.util import utility_cli, get_actions def main(*args): cli_arguments = list(args) request_arguments = {} + configure_logging() oc = Client() - configure_logging() if len(args) > 0 and args[0] == "spec-engine": # use engine cli instead @@ -180,7 +180,7 @@ def help_table(data, utility_data={}): x.add_row(["", "", ""]) for item in data.get("clients"): - name = item + name = item.lower().replace("_", "-") description = "Various actions available for {}".format(name) parameters = ["--help"] x.add_row([name, description, "\n".join(parameters)]) |