class Manga::Tools::CLI

CLI class

Constants

HOST_OPTION

Public Class Methods

exit_on_failure?() click to toggle source
# File lib/manga/tools/cli.rb, line 14
def self.exit_on_failure?
  true
end

Public Instance Methods

follow(key) click to toggle source
# File lib/manga/tools/cli.rb, line 28
def follow(key)
  client = Manga::Tools::Client.new
  results = client.follow(key, options)
  Manga::Tools::Formatter.display(:follow, key, results)
end
follow_list() click to toggle source
# File lib/manga/tools/cli.rb, line 36
def follow_list
  client = Manga::Tools::Client.new
  results = client.follow_list(options)
  Manga::Tools::Formatter.display(:follow_list, results)
end