diff options
Diffstat (limited to 'pecan/scaffolds/__init__.py')
-rw-r--r-- | pecan/scaffolds/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pecan/scaffolds/__init__.py b/pecan/scaffolds/__init__.py index ac22464..2dbe46f 100644 --- a/pecan/scaffolds/__init__.py +++ b/pecan/scaffolds/__init__.py @@ -42,6 +42,10 @@ class BaseScaffold(PecanScaffold): _scaffold_dir = ('pecan', os.path.join('scaffolds', 'base')) +class RestAPIScaffold(PecanScaffold): + _scaffold_dir = ('pecan', os.path.join('scaffolds', 'rest-api')) + + def copy_dir(source, dest, variables, out_=sys.stdout, i=0): """ Copies the ``source`` directory to the ``dest`` directory, where |