diff --git a/pecan/commands/base.py b/pecan/commands/base.py index 43c25a4..e076b39 100644 --- a/pecan/commands/base.py +++ b/pecan/commands/base.py @@ -108,6 +108,12 @@ class BaseCommandMeta(type): @property def summary(cls): + """ + This is used to populate the --help argument on the command line. + + This provides a default behavior which takes the first sentence of the + command's docstring and uses it. + """ return cls.__doc__.strip().splitlines()[0].rstrip('.')