e4a82c56b4
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
16 lines
329 B
Ruby
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 |