Module: VPM::CommandOptions

Defined in:
lib/vpm/command_options.rb,
lib/vpm/command_options/list.rb,
lib/vpm/command_options/install.rb,
lib/vpm/command_options/abstract_command_options.rb

Defined Under Namespace

Classes: AbstractCommandOptions, Install, List

Class Method Summary collapse

Class Method Details

.parse!(command, args) ⇒ Object



11
12
13
# File 'lib/vpm/command_options.rb', line 11

def self.parse!(command, args)
  parser(command).parse!(args)
end

.parser(command) ⇒ Object



5
6
7
8
9
# File 'lib/vpm/command_options.rb', line 5

def self.parser(command)
  if command == "install"
    Install.new
  end
end