Class: InstagramConnect::CLI
- Inherits:
-
Thor
- Object
- Thor
- InstagramConnect::CLI
- Defined in:
- lib/instagram_connect/cli.rb
Overview
Command-line entry point: bundle exec instagram_connect doctor.
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
7 8 9 |
# File 'lib/instagram_connect/cli.rb', line 7 def self.exit_on_failure? true end |
Instance Method Details
#doctor ⇒ Object
12 13 14 15 16 |
# File 'lib/instagram_connect/cli.rb', line 12 def doctor Doctor.run.each do |check| say(format("%-9s %s", check[:ok] ? "OK" : "MISSING", check[:label])) end end |