MCPcopy Index your code
hub / github.com/StackStorm/st2 / main

Function main

st2client/st2client/shell.py:541–549  ·  view source on GitHub ↗
(argv=sys.argv[1:])

Source from the content-addressed store, hash-verified

539
540
541def main(argv=sys.argv[1:]):
542 setup_logging(argv)
543
544 if "--enable-profiler" in sys.argv:
545 setup_regular_profiler(service_name="st2cli")
546 sys.argv.remove("--enable-profiler")
547 argv.remove("--enable-profiler")
548
549 return Shell().run(argv)
550
551
552if __name__ == "__main__":

Callers 1

shell.pyFile · 0.70

Calls 5

setup_regular_profilerFunction · 0.90
setup_loggingFunction · 0.85
ShellClass · 0.85
removeMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected