diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2016-11-09 14:56:51 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2016-11-09 15:01:44 +0800 |
commit | 8f27035ce5d24eca2382c01acf645851bd9f8c82 (patch) | |
tree | 587ae3cb3b3c65c49590552daf1eec29964e5c02 | |
parent | 03b2fdd33a019c4eabc8da7ba49c851bf91ffc4e (diff) |
rename cli_ansible
rename cli_ansible.py to ansible.py
rename CliAnsible to Ansible
Change-Id: Ia2852de4df2f67efe6a3765b029f3cecc8515c59
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
-rw-r--r-- | cli/commands/ansible.py (renamed from cli/commands/cli_ansible.py) | 2 | ||||
-rw-r--r-- | cli/entry.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cli/commands/cli_ansible.py b/cli/commands/ansible.py index 5919b7ac..001185a3 100644 --- a/cli/commands/cli_ansible.py +++ b/cli/commands/ansible.py @@ -14,7 +14,7 @@ import click ANSIBLE_CONF = '{}/conf/ansible.cfg'.format(os.environ['HOME']) -class CliAnsible: +class Ansible: def __init__(self): pass diff --git a/cli/entry.py b/cli/entry.py index 0f27be06..f9dc440c 100644 --- a/cli/entry.py +++ b/cli/entry.py @@ -9,7 +9,7 @@ import click -from cli.commands.cli_ansible import CliAnsible +from cli.commands.ansible import Ansible CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help']) @@ -19,7 +19,7 @@ CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help']) def cli(): pass -_ansible = CliAnsible() +_ansible = Ansible() @cli.group() |