changeset 535:03c3a77fda60 2.0.0b2

prepare: More help about scaffolding.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 29 Jul 2015 09:13:54 -0700
parents 5bbeb11fe8d9
children 119ac8018964
files piecrust/commands/builtin/scaffolding.py
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/piecrust/commands/builtin/scaffolding.py	Wed Jul 29 09:10:28 2015 -0700
+++ b/piecrust/commands/builtin/scaffolding.py	Wed Jul 29 09:13:54 2015 -0700
@@ -53,7 +53,8 @@
             src.setupPrepareParser(p, app)
             p.add_argument('-t', '--template', default='default',
                            help="The template to use, which will change the "
-                                "generated text and header.")
+                                "generated text and header. Run `chef help "
+                                "scaffolding` for more information.")
             p.set_defaults(source=src)
 
     def run(self, ctx):
@@ -192,6 +193,9 @@
                 "\n\n" +
                 textwrap.fill("The following templates are available:") +
                 "\n\n" +
-                help_list)
+                help_list +
+                "\n" +
+                "You can add user-defined templates by creating pages in a "
+                "`scaffold/pages` sub-directory in your website.")
         return help_txt