IcsUtils.JsonCli Common Library
JsonCli: Library for CLI based on JSON
This is the JsonCli common library. |
-
class opslib.icsutils.jsoncli.OrderNamespace(**kwargs)[source]
Namespace with Order: from argparse.Namespace
-
__init__(**kwargs)[source]
-
__module__ = 'opslib.icsutils.jsoncli'
-
__order__ = OrderedDict()
-
__setattr__(attr, value)[source]
-
opslib.icsutils.jsoncli.add_arguments(group, args)[source]
Add Arguments to CLI
-
opslib.icsutils.jsoncli.parse_args(args)[source]
Create the Command Line Interface
Parameters: | args (dict) – describes the command structure for the CLI |
-
opslib.icsutils.jsoncli.recursive_parser(parser, args)[source]
Recursive CLI Parser