Class: PureMVCGen::Commands::NewCommand

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

Defined Under Namespace

Classes: CreateCommand, CreateMediator, CreateProxy

Instance Method Summary collapse

Methods inherited from CmdParse::Command

#default_options

Constructor Details

#initializeNewCommand

Returns a new instance of NewCommand.



5
6
7
8
9
10
11
12
13
# File 'lib/pure_m_v_c_gen/commands/new_command.rb', line 5

def initialize
  super('new', true)
  self.short_desc = "Command to generate PureMVC classes"
    
  # add sub commands
  self.add_command(CreateCommand.new)
  self.add_command(CreateMediator.new)
  self.add_command(CreateProxy.new)
end