Class: Hashira::CLI::CommandLine

Inherits:
Object
  • Object
show all
Defined in:
lib/hashira/cli/command_line.rb

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ CommandLine

Returns a new instance of CommandLine.



4
5
6
# File 'lib/hashira/cli/command_line.rb', line 4

def initialize(argv)
  @arguments = Hashira::CLI::Arguments.new(argv)
end

Instance Method Details

#optionsObject



8
# File 'lib/hashira/cli/command_line.rb', line 8

def options = page || parsed