X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=dcae-cli%2Fdcae_cli%2Fcommands%2Fprofiles%2Fcommands.py;fp=dcae-cli%2Fdcae_cli%2Fcommands%2Fprofiles%2Fcommands.py;h=df34b5cb620ac80e2a0a89a8ce7f16df40db644c;hb=91a44d2ce8398f0fd98e520933df605b00f80eee;hp=dfd55172c3bdfbe3502b1096eca339ed88689f3b;hpb=2de95edebaa92072aa857ca70961cd7bdaf7a77d;p=dcaegen2%2Fplatform%2Fcli.git diff --git a/dcae-cli/dcae_cli/commands/profiles/commands.py b/dcae-cli/dcae_cli/commands/profiles/commands.py index dfd5517..df34b5c 100644 --- a/dcae-cli/dcae_cli/commands/profiles/commands.py +++ b/dcae-cli/dcae_cli/commands/profiles/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. @@ -39,7 +39,7 @@ def profiles(): @profiles.command() @click.argument('name') def activate(name): - '''Sets profile NAME as the active profile''' + '''Sets profile (name) as the active profile''' activate_profile(name) @@ -56,7 +56,7 @@ def list_profiles(): @profiles.command() @click.argument('name') def show(name): - '''Prints the profile dictionary''' + '''Provides more information about a Profile''' profiles = get_profiles() try: click.echo(json.dumps(profiles[name], sort_keys=True, indent=4)) @@ -67,7 +67,7 @@ def show(name): @profiles.command() @click.argument('name', type=click.STRING) def create(name): - '''Creates a new profile NAME initialized with defaults''' + '''Creates new profile (name), with defaults''' create_profile(name) @@ -76,12 +76,12 @@ def create(name): @click.argument('key') @click.argument('value') def update(name, key, value): - '''Updates profile NAME such that KEY=VALUE''' + '''Updates profile (name) for specific Key/Value''' update_profile(name, **{key: value}) @profiles.command() @click.argument('name') def delete(name): - '''Deletes profile NAME''' + '''Deletes profile (name)''' delete_profile(name)