Revision 1736e06d
b/kamaki/cli/argument.py | ||
---|---|---|
169 | 169 |
def get_groups(self): |
170 | 170 |
return self.value.apis() |
171 | 171 |
|
172 |
_config_arg = ConfigArgument(1, 'Path to configuration file', '-c, --config') |
|
172 |
_config_arg = ConfigArgument( |
|
173 |
1, 'Path to configuration file', |
|
174 |
('-c', '--config')) |
|
173 | 175 |
|
174 | 176 |
|
175 | 177 |
class CmdLineConfigArgument(Argument): |
b/kamaki/cli/commands/image.py | ||
---|---|---|
201 | 201 |
owner=ValueArgument('set image owner (admin only)', '--owner'), |
202 | 202 |
properties=KeyValueArgument( |
203 | 203 |
'add property in key=value form (can be repeated)', |
204 |
('-p, --property')),
|
|
204 |
('-p', '--property')),
|
|
205 | 205 |
is_public=FlagArgument('mark image as public', '--public'), |
206 | 206 |
size=IntArgument('set image size', '--size'), |
207 | 207 |
update=FlagArgument( |
Also available in: Unified diff