Class: Meetupinator::CLI
- Inherits:
-
Thor
- Object
- Thor
- Meetupinator::CLI
- Defined in:
- lib/meetupinator/cli.rb
Overview
class doco rubocop:disable Metrics/LineLength
Instance Attribute Summary collapse
-
#api ⇒ Object
Returns the value of attribute api.
-
#event_finder ⇒ Object
Returns the value of attribute event_finder.
-
#event_list_file_writer ⇒ Object
Returns the value of attribute event_list_file_writer.
Instance Method Summary collapse
Instance Attribute Details
#api ⇒ Object
Returns the value of attribute api.
10 11 12 |
# File 'lib/meetupinator/cli.rb', line 10 def api @api end |
#event_finder ⇒ Object
Returns the value of attribute event_finder.
8 9 10 |
# File 'lib/meetupinator/cli.rb', line 8 def event_finder @event_finder end |
#event_list_file_writer ⇒ Object
Returns the value of attribute event_list_file_writer.
9 10 11 |
# File 'lib/meetupinator/cli.rb', line 9 def event_list_file_writer @event_list_file_writer end |
Instance Method Details
#format ⇒ Object
45 46 47 48 |
# File 'lib/meetupinator/cli.rb', line 45 def format Meetupinator::App.format() puts "Output written to #{options[:output]}" end |
#retrieve_events ⇒ Object
28 29 30 31 |
# File 'lib/meetupinator/cli.rb', line 28 def retrieve_events Meetupinator::App.retrieve_events() puts "Output written to #{options[:output]}" end |
#version ⇒ Object
53 54 55 |
# File 'lib/meetupinator/cli.rb', line 53 def version puts Meetupinator::App.version end |