summaryrefslogtreecommitdiff
path: root/pecan/commands
diff options
context:
space:
mode:
authorRyan Petrello <lists@ryanpetrello.com>2014-01-10 10:20:20 -0500
committerRyan Petrello <lists@ryanpetrello.com>2014-01-19 17:49:11 -0500
commit087ea4f6993c7b2f5f66fff52d46fd318e20b330 (patch)
tree2900c5c20265602b385a8257b29c5345f002a622 /pecan/commands
parent49315401929385f462c73947d7ea899688bd396e (diff)
downloadpecan-087ea4f6993c7b2f5f66fff52d46fd318e20b330.tar.gz
Improve pecan documentation and correct intersphinx references.
Change-Id: Iac6229a2727a3c662d3fe9e83e1aa02ef648f025
Diffstat (limited to 'pecan/commands')
-rw-r--r--pecan/commands/base.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/pecan/commands/base.py b/pecan/commands/base.py
index 2a79ca5..8f7d3dc 100644
--- a/pecan/commands/base.py
+++ b/pecan/commands/base.py
@@ -154,10 +154,13 @@ class BaseCommandParent(object):
},)
def run(self, args):
+ """To be implemented by subclasses."""
self.args = args
def load_app(self):
from pecan import load_app
return load_app(self.args.config_file)
-BaseCommand = BaseCommandMeta('BaseCommand', (BaseCommandParent,), {})
+BaseCommand = BaseCommandMeta('BaseCommand', (BaseCommandParent,), {
+ '__doc__': BaseCommandParent.__doc__
+})