puremvc-gen/lib/pure_m_v_c_gen/commands/initialize_command.rb
Greg Jastrab e4a82c56b4 Release quality functionality in place.
Command line parsing in place and complete for initial version.
Will look next into reading command name and constant as arguments instead of options.

Script determines whether ant is found on the path, and complains if it is not.

TODO: Fix log messages to be read in appropriately
2008-12-05 13:46:20 -05:00

16 lines
329 B
Ruby

module PureMVCGen
module Commands
class InitializeCommand < CmdParse::Command
def initialize
super('init', false)
self.short_desc = "Initializes the current working directory with a new PureMVC project"
end
def execute(args)
call_ant "new-pmvc"
end
end
end
end