Module zut.commands
Functions
|
Add the given function or module as a command. |
|
Add all sub modules of the given package as commands. |
|
|
|
|
|
|
|
|
|
Run a command. - handle may be: - An ArgumentParser objects: in this case, run_command will take care of calling parse_args on it. - A handle function already parsed before calling this run_command. - A dictionnary: this is intended for running Django subcommands directly from the keywork arguments of the Django command's handle(**option) method. Django-specific options (verbosity, settings, pythonpath, traceback, no_color, force_color and skip_checks) are removed. - context_builder: (args: dict, handle_parameters: list[str]) -> context manager, list of context managers or None. |