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

Function _register_cli_opts

st2common/st2common/cmd/validate_config.py:46–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44
45
46def _register_cli_opts():
47 cli_opts = [
48 cfg.StrOpt(
49 "schema-path",
50 default=None,
51 required=True,
52 help="Path to the config schema to use for validation.",
53 ),
54 cfg.StrOpt(
55 "config-path",
56 default=None,
57 required=True,
58 help="Path to the config file to validate.",
59 ),
60 ]
61
62 do_register_cli_opts(cli_opts)
63
64
65def main():

Callers 1

mainFunction · 0.70

Calls 1

do_register_cli_optsFunction · 0.90

Tested by

no test coverage detected