gchar.utils.cli¶
print_version¶
-
gchar.utils.cli.
print_version
(module, ctx: click.core.Context, param: click.core.Option, value: bool) → None[source]¶ Print version information of cli :param module: current module using this cli. :param ctx: click context :param param: current parameter’s metadata :param value: value of current parameter
GLOBAL_CONTEXT_SETTINGS¶
-
gchar.utils.cli.
GLOBAL_CONTEXT_SETTINGS
= {'help_option_names': ['-h', '--help']}¶ dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s
(key, value) pairs
- dict(iterable) -> new dictionary initialized as if via:
d = {} for k, v in iterable:
d[k] = v
- dict(**kwargs) -> new dictionary initialized with the name=value pairs
in the keyword argument list. For example: dict(one=1, two=2)