Class: EndOfLife::CLI

Inherits:
Object
  • Object
show all
Includes:
TerminalHelper
Defined in:
lib/end_of_life.rb

Instance Method Summary collapse

Methods included from TerminalHelper

#error_msg, #new_spinner, #paint, #table, #with_loading_spinner

Instance Method Details

#call(argv) ⇒ Object



18
19
20
21
# File 'lib/end_of_life.rb', line 18

def call(argv)
  parse_options(argv)
    .then { |options| execute_command(options) }
end