Revision 144b3551 kamaki/cli/one_command.py
b/kamaki/cli/one_command.py | ||
---|---|---|
55 | 55 |
return None |
56 | 56 |
|
57 | 57 |
|
58 |
def run(remote_base, cloud, parser, _help):
|
|
58 |
def run(auth_base, cloud, parser, _help):
|
|
59 | 59 |
group = get_command_group(list(parser.unparsed), parser.arguments) |
60 | 60 |
if not group: |
61 | 61 |
parser.parser.print_help() |
... | ... | |
96 | 96 |
exit(0) |
97 | 97 |
|
98 | 98 |
cls = cmd.get_class() |
99 |
executable = cls(parser.arguments, remote_base, cloud)
|
|
99 |
executable = cls(parser.arguments, auth_base, cloud)
|
|
100 | 100 |
parser.update_arguments(executable.arguments) |
101 | 101 |
#parsed, unparsed = parse_known_args(parser, executable.arguments) |
102 | 102 |
for term in _best_match: |
Also available in: Unified diff