| 319 | pk_argument_name = "name" |
| 320 | |
| 321 | def __init__(self, resource, *args, **kwargs): |
| 322 | super(KeyValuePairDeleteCommand, self).__init__(resource, *args, **kwargs) |
| 323 | |
| 324 | self.parser.add_argument( |
| 325 | "-s", |
| 326 | "--scope", |
| 327 | dest="scope", |
| 328 | default=DEFAULT_CUD_SCOPE, |
| 329 | help="Specify the scope under which you want " + "to place the item.", |
| 330 | ) |
| 331 | self.parser.add_argument( |
| 332 | "-u", |
| 333 | "--user", |
| 334 | dest="user", |
| 335 | default=None, |
| 336 | help="User for user scoped items (admin only).", |
| 337 | ) |
| 338 | |
| 339 | @resource.add_auth_token_to_kwargs_from_cli |
| 340 | def run(self, args, **kwargs): |