Commit 1040a59e authored by Stavros Sachtouris's avatar Stavros Sachtouris

Rename package kamaki.cli.command_tree --> cmdtree

parent 8fdfa852
......@@ -371,7 +371,7 @@ Summary: create a command set
# File: grps.py
from kamaki.cli.commands import _command_init
from kamaki.cli.command_tree import CommandTree
from kamaki.cli.cmdtree import CommandTree
from kamaki.cli.argument import ValueArgument, FlagArgument
...
......
# Copyright 2012-2013 GRNET S.A. All rights reserved.
# Copyright 2012-2014 GRNET S.A. All rights reserved.
#
# Redistribution and use in source and binary forms, with or
# without modification, are permitted provided that the following
......
......@@ -53,7 +53,7 @@ def _init_shell(exe_string, parser, username='', userid=''):
from kamaki import __version__ as version
shell.greet(version, username, userid)
shell.do_EOF = shell.do_exit
from kamaki.cli.command_tree import CommandTree
from kamaki.cli.cmdtree import CommandTree
shell.cmd_tree = CommandTree(
'kamaki', 'A command line tool for poking clouds')
return shell
......
......@@ -38,7 +38,7 @@ from kamaki.cli import command
from kamaki.clients.astakos import LoggedAstakosClient
from kamaki.cli.commands import (
_command_init, errors, _optional_json, addLogSettings, _name_filter)
from kamaki.cli.command_tree import CommandTree
from kamaki.cli.cmdtree import CommandTree
from kamaki.cli.errors import (
CLIBaseUrlError, CLISyntaxError, CLIError, CLIInvalidArgument)
from kamaki.cli.argument import (
......
......@@ -34,7 +34,7 @@
from kamaki.cli import command
from kamaki.cli.argument import FlagArgument
from kamaki.cli.commands import _command_init, errors
from kamaki.cli.command_tree import CommandTree
from kamaki.cli.cmdtree import CommandTree
from kamaki.cli.errors import CLIError, CLISyntaxError
config_cmds = CommandTree('config', 'Kamaki configurations')
......
......@@ -38,7 +38,7 @@ from io import StringIO
from pydoc import pager
from kamaki.cli import command
from kamaki.cli.command_tree import CommandTree
from kamaki.cli.cmdtree import CommandTree
from kamaki.cli.utils import remove_from_items, filter_dicts_by_dict
from kamaki.cli.errors import (
raiseCLIError, CLISyntaxError, CLIBaseUrlError, CLIInvalidArgument)
......
......@@ -31,7 +31,7 @@
# interpreted as representing official policies, either expressed
# or implied, of GRNET S.A.
from kamaki.cli.command_tree import CommandTree
from kamaki.cli.cmdtree import CommandTree
from kamaki.cli.argument import ValueArgument
from kamaki.cli.history import History
from kamaki.cli import command
......
......@@ -38,7 +38,7 @@ from io import StringIO
from pydoc import pager
from kamaki.cli import command
from kamaki.cli.command_tree import CommandTree
from kamaki.cli.cmdtree import CommandTree
from kamaki.cli.utils import filter_dicts_by_dict
from kamaki.clients.image import ImageClient
from kamaki.clients.pithos import PithosClient
......
......@@ -35,7 +35,7 @@ from io import StringIO
from pydoc import pager
from kamaki.cli import command
from kamaki.cli.command_tree import CommandTree
from kamaki.cli.cmdtree import CommandTree
from kamaki.cli.errors import (
CLIBaseUrlError, CLIInvalidArgument, raiseCLIError)
from kamaki.clients.cyclades import (
......
......@@ -39,7 +39,7 @@ from os import path, walk, makedirs
from kamaki.clients.pithos import PithosClient, ClientError
from kamaki.cli import command
from kamaki.cli.command_tree import CommandTree
from kamaki.cli.cmdtree import CommandTree
from kamaki.cli.commands import (
_command_init, errors, addLogSettings, DontRaiseKeyError, _optional_json,
_name_filter, _optional_output_cmd)
......
......@@ -66,7 +66,7 @@ setup(
'kamaki.cli.config',
'kamaki.cli.argument',
'kamaki.cli.commands',
'kamaki.cli.command_tree',
'kamaki.cli.cmdtree',
'kamaki.clients',
'kamaki.clients.utils',
'kamaki.clients.astakos',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment