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

Method run

st2client/st2client/commands/pack.py:270–283  ·  view source on GitHub ↗
(self, args, **kwargs)

Source from the content-addressed store, hash-verified

268 )
269
270 def run(self, args, **kwargs):
271 is_structured_output = args.json or args.yaml
272
273 # If structured output is requested, do not print information about contents of pack
274 # This information is already exposed via st2 pack show ${pack_name} -j
275 if not is_structured_output:
276 self._get_content_counts_for_pack(args, **kwargs)
277
278 return self.manager.install(
279 args.packs,
280 force=args.force,
281 skip_dependencies=args.skip_dependencies,
282 **kwargs,
283 )
284
285 def _get_content_counts_for_pack(self, args, **kwargs):
286 # Global content list, excluding "tests"

Callers

nothing calls this directly

Calls 2

installMethod · 0.80

Tested by

no test coverage detected