Revision 320aac17 kamaki/cli/command_shell.py
b/kamaki/cli/command_shell.py | ||
---|---|---|
310 | 310 |
else: |
311 | 311 |
intro = self.cmd_tree.name |
312 | 312 |
|
313 |
acceptable = parser.arguments['config'].get_groups() |
|
314 |
total = self.cmd_tree.get_group_names() |
|
315 |
self.cmd_tree.exclude(set(total).difference(acceptable)) |
|
316 |
|
|
313 | 317 |
for subcmd in self.cmd_tree.get_subcommands(path): |
314 | 318 |
self._register_command(subcmd.path) |
315 | 319 |
|
Also available in: Unified diff