mcph.__main__
#
Main point to run script.
Module Contents#
Classes#
Class for CLI interface. |
Attributes#
- class CLI[source]#
Class for CLI interface.
- static callback() None [source]#
Stub for typer, so it is not transforming command to main CLI, only as subcommand.
Remove this when there will be more than one command.
- static check(plugin_name: str = Argument('all', help='Plugin name to check, or just `all`.'), folder: pathlib.Path = Argument(config.default_plugins_path, show_default='From Config', exists=True, file_okay=False, dir_okay=True, help='Folder with plugins. If passed something, try to find plugin with name of `plugin_name`.')) None [source]#
Check updates for plugin or all plugins.
- Parameters:
plugin_name – Plugin name to check, or just all.
folder – Folder with plugins. If nothing passing, use from config. If passed something, try to find plugin with name of
plugin_name
.