Class: DevSystem::NewCommand

Inherits:
SimpleCommand show all
Defined in:
lib/dev_system/sub/generator/commands/new_command.rb

Instance Attribute Summary

Attributes inherited from BaseCommand

#env

Instance Method Summary collapse

Methods inherited from SimpleCommand

#call, #log_simple_remember, #simple_arg, #simple_arg_ask, #simple_arg_ask_snakecase, #simple_args, #simple_boolean, #simple_boolean_no, #simple_boolean_yes, #simple_color, #simple_controller_placement, #simple_string

Methods inherited from BaseCommand

#args, #call, call, get_command_signatures

Methods inherited from Command

call, #call, get_command_signatures

Methods inherited from Liza::Controller

color, inherited, on_connected

Methods inherited from Liza::Unit

const_missing, division, part, system, #system, test_class

Instance Method Details

#call_defaultObject



3
4
5
6
7
8
# File 'lib/dev_system/sub/generator/commands/new_command.rb', line 3

def call_default
  log :lower, "env.count is #{env.count}"
  args = env[:args] = ["new", *env[:args]]
  log "args = #{args.inspect}"
  DevBox[:generator].call env
end