class TorrentSearch::CLI
Public Class Methods
quit()
click to toggle source
# File lib/torrent_search/cli.rb, line 6 def self.quit puts "\nQuitting.." exit 0 end
Public Instance Methods
search(*search_terms)
click to toggle source
# File lib/torrent_search/cli.rb, line 23 def search(*search_terms) Controllers::Search.new.search search_terms, options end
version(*)
click to toggle source
# File lib/torrent_search/cli.rb, line 12 def version(*) say VERSION end