Pagd

Template. Context. Page.

commands – Sub-commands for pagd script

This package contain a collection of sub-command plugins for pagd script. Sub-commands should implement pluggdapps.interfaces.ICommand interface.

TODO: we should define a separate sub-command interface for pagd

How to implement a sub-command plugin

Just like any other plugin, derive your class from Plugin base class and declare that the class implements pluggdapps.interfaces.ICommand interface. Refer to ICommand interface class to learn more about sub-command callbacks. And check out existing sub-command plugins as well.

Note that sub-command plugins normally invoke ILayout methods. And form there it is upto the layout-plugin to get the job done.

Table Of Contents

Related Topics

This Page