MCPcopy Create free account
hub / github.com/StackStorm/st2 / __init__

Method __init__

st2client/st2client/commands/action.py:282–292  ·  view source on GitHub ↗
(self, resource, *args, **kwargs)

Source from the content-addressed store, hash-verified

280
281class ActionDeleteCommand(resource.ContentPackResourceDeleteCommand):
282 def __init__(self, resource, *args, **kwargs):
283 super(ActionDeleteCommand, self).__init__(resource, *args, **kwargs)
284
285 self.parser.add_argument(
286 "-r",
287 "--remove-files",
288 action="store_true",
289 dest="remove_files",
290 default=False,
291 help="Remove action files from disk.",
292 )
293
294 @add_auth_token_to_kwargs_from_cli
295 def run(self, args, **kwargs):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected