merlin.spells.Initializer

Module Contents

class merlin.spells.Initializer.Initializer

Bases: merlin.spell

Create a new merlin project rooted at the given directory

project
doc = the name of the project
createPrefix
doc = create all directories leading up to the specified target
force
doc = initialize the target folder regardless of whether is it already part of a project
main(self, plexus, argv)

Make {folder} the root of a new merlin project. The target {folder} is given as an optional command line argument, and defaults to the current directory. Issue an error message if {folder} is already a merlin project.