(self, resource, *args, **kwargs)
| 505 | |
| 506 | class PackConfigCommand(resource.ResourceCommand): |
| 507 | def __init__(self, resource, *args, **kwargs): |
| 508 | super(PackConfigCommand, self).__init__( |
| 509 | resource, |
| 510 | "config", |
| 511 | "Configure a %s based on config schema." |
| 512 | % resource.get_display_name().lower(), |
| 513 | *args, |
| 514 | **kwargs, |
| 515 | ) |
| 516 | |
| 517 | self.parser.add_argument( |
| 518 | "name", |
| 519 | help="Name of the %s(s) to configure." |
| 520 | % resource.get_display_name().lower(), |
| 521 | ) |
| 522 | |
| 523 | @add_auth_token_to_kwargs_from_cli |
| 524 | def run(self, args, **kwargs): |
nothing calls this directly
no test coverage detected