Class: PureMVCGen::Commands::InitializeCommand

Inherits:
CmdParse::Command show all
Defined in:
lib/pure_m_v_c_gen/commands/initialize_command.rb

Instance Method Summary collapse

Methods inherited from CmdParse::Command

#default_options

Constructor Details

#initializeInitializeCommand

Returns a new instance of InitializeCommand.



5
6
7
8
# File 'lib/pure_m_v_c_gen/commands/initialize_command.rb', line 5

def initialize
  super('init', false)
  self.short_desc = "Initializes the current working directory with a new PureMVC project"
end

Instance Method Details

#execute(args) ⇒ Object



10
11
12
# File 'lib/pure_m_v_c_gen/commands/initialize_command.rb', line 10

def execute(args)
  call_ant "new-pmvc"
end