Revision 320aac17 kamaki/cli/command_tree.py
b/kamaki/cli/command_tree.py | ||
---|---|---|
137 | 137 |
self.name = name |
138 | 138 |
self.description = description |
139 | 139 |
|
140 |
def exclude(self, groups_to_exclude=[]): |
|
141 |
for group in groups_to_exclude: |
|
142 |
self.groups.pop(group, None) |
|
143 |
|
|
140 | 144 |
def add_command(self, command_path, description=None, cmd_class=None): |
141 | 145 |
terms = command_path.split('_') |
142 | 146 |
try: |
Also available in: Unified diff