Bases: pluggdapps.plugin.Plugin
Inside a pluggapps package, more than one web-application can be defined. Typically a web-application, which is going to be a plugin, must implement IWebApp interface and a bunch of plugins to handle http request - like, routing url to view-callables, view-plugin, resource-plugin, and reply back with valid response. To facilitate this repeatitive activity, pa-script provides this command to create a webapp-source-tree base on couple of parameters.
$ pa -c <master.ini> webapp [-t TARGET_DIR] <webapp-name>
creates a new web application under project source tree. This command creates relevant scaffolds, as modules and directories, under the specified target directory.
to learn more options on this sub-command use --help.
pluggdapps.interfaces.IScaffold.query_cmdline() interface method.
pluggdapps.interfaces.IScaffold.generate() interface method.
pluggdapps.interfaces.IScaffold.printhelp() interface method.
pluggdapps.interfaces.ICommand.subparser() interface method.
pluggdapps.interfaces.ICommand.handle() interface method.
pluggdapps.plugin.ISettings.default_settings() interface method.
pluggdapps.plugin.ISettings.normalize_settings() interface method.