acdcli.plugins package¶
Submodules¶
acdcli.plugins.template module¶
This is a template that you can use for adding custom plugins.
-
class
acdcli.plugins.template.TestPlugin[source]¶ Bases:
acdcli.plugins.Plugin-
MIN_VERSION= '0.3.1'¶
-
classmethod
action(args: argparse.Namespace) → int[source]¶ This is where the magic happens. Return a zero for success, a non-zero int for failure.
-
classmethod
attach(subparsers: argparse.ArgumentParser, log: list, **kwargs)[source]¶ Attaches this plugin to the top-level argparse subparser group :param subparsers the action subparser group :param log a list to put initialization log messages in
-
registry= {<class 'acdcli.plugins.template.TestPlugin'>}¶
-