Class: VolumeSweeper::Cli

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

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.optionsObject (readonly)

Returns the value of attribute options.



9
10
11
# File 'lib/volume_sweeper/cli.rb', line 9

def options
  @options
end

Class Method Details

.runObject

A simple cli scriptlet to proccess command line arguments and pass them to the core component to run.



14
15
16
17
18
19
# File 'lib/volume_sweeper/cli.rb', line 14

def run
  print_banner
  set_default_options
  process_user_input
  options
end