(self, resource, *args, **kwargs)
| 220 | |
| 221 | class PackShowCommand(PackResourceCommand): |
| 222 | def __init__(self, resource, *args, **kwargs): |
| 223 | help_string = ( |
| 224 | "Get information about an available %s from the index." |
| 225 | % resource.get_display_name().lower() |
| 226 | ) |
| 227 | super(PackShowCommand, self).__init__( |
| 228 | resource, "show", help_string, *args, **kwargs |
| 229 | ) |
| 230 | |
| 231 | self.parser.add_argument( |
| 232 | "pack", help="Name of the %s to show." % resource.get_display_name().lower() |
| 233 | ) |
| 234 | |
| 235 | @add_auth_token_to_kwargs_from_cli |
| 236 | def run(self, args, **kwargs): |
nothing calls this directly
no test coverage detected