bin/genit in genit-2.0 vs bin/genit in genit-2.1
- old
+ new
@@ -43,12 +43,15 @@
parameter "NAME", "the name of the project",
:attribute_name => :project_name
option ["-e", "--empty"], :flag, "Do not produce smoke test",
:default => false
+ option ["-H", "--haml"], :flag, "Create project files with haml",
+ :default => false
+ # TODO faire un hash d'option pour empty?, etc.
def execute
- project = ProjectCreator.new project_name, empty?
+ project = ProjectCreator.new project_name, empty?, haml?
project.create
end
end
# Command to compile a project.