Now pecan create works.

This commit is contained in:
Ryan Petrello
2012-03-14 18:13:23 -07:00
parent 6ede5714ca
commit 0df3ea4ecd
3 changed files with 18 additions and 21 deletions

View File

@@ -11,14 +11,15 @@ class CreateCommand(BaseCommand):
"""
arguments = ({
'command': 'destination',
'help': 'the destination to create the new project'
}, {
'command': 'template_name',
'help': 'a registered Pecan template',
'nargs': '?',
'default': DEFAULT_SCAFFOLD
},)
})
def run(self, args):
super(CreateCommand, self).run(args)
print "NOT IMPLEMENTED"
print args.template_name
BaseScaffold().copy_to(args.template_name)
BaseScaffold().copy_to(args.destination)