dtale.cli package¶
Subpackages¶
Submodules¶
dtale.cli.clickutils module¶
-
dtale.cli.clickutils.
get_args
(click_wrapper)[source]¶ Retrieves arguments being passed in from the command-line and applying them to a click command
Parameters: click_wrapper – click context Returns: list of arguments Return type: list
-
dtale.cli.clickutils.
get_loader_options
(key, options)[source]¶ Filters dictionary of click parameters for ones which start with a certain prefix
Parameters: Returns: dictionary of click options with start with key
Return type:
-
dtale.cli.clickutils.
get_log_options
(options)[source]¶ Click logging options (logfile, log_level, verbose)
-
dtale.cli.clickutils.
get_named_options
(names, options)[source]¶ Filters click options for options in a specific subset of names
-
dtale.cli.clickutils.
loader_options
(key, params)[source]¶ Builds a decorator which will append a list of click parameters based on a combination of prefix & parameter name
loader_options(‘foo’, [‘bar’, ‘baz’]) => click.option(‘–foo-bar’), click.option(‘–foo-baz’)
Parameters: Returns: filter
Return type: func
-
dtale.cli.clickutils.
retrieve_meta_info_and_version
(name)[source]¶ Retrieves meta information and versioning of specific package name
-
dtale.cli.clickutils.
run
(click_wrapper)[source]¶ Wrapper function for executing click commands and handling exceptions produced from click commands with versioning boilerplate
Parameters: click_wrapper – click context