Pluggdapps

Component system. Web framework. And more ...

commands – List sub commands.

Module contents

class pluggdapps.commands.commands.Commands(pa, *args, **kwargs)[source]

Bases: pluggdapps.plugin.Singleton

Subcommand plugin for pa-script to list all available sub-commands along with a short description. Like,

1
$ pa commands
subparser(parser, subparsers)[source]

pluggdapps.interfaces.ICommand.subparser() interface method.

handle(args)[source]

pluggdapps.interfaces.ICommand.handle() interface method.