Class: Covid19Updates::CLI

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failureObject



12
13
14
# File 'lib/covid_19_updates/cli.rb', line 12

def self.exit_on_failure
  true
end

Instance Method Details

#listObject



22
23
24
25
# File 'lib/covid_19_updates/cli.rb', line 22

def list
  list_new_networks
  enter_news_network_number
end

#startObject



17
18
19
# File 'lib/covid_19_updates/cli.rb', line 17

def start
  list
end