class FakerBot::CLI
Constants
- Error
Public Instance Methods
list(*)
click to toggle source
# File lib/fakerbot/cli.rb, line 29 def list(*) if options[:help] invoke :help, ['list'] else FakerBot::Commands::List.new(options).execute end end
search(query)
click to toggle source
# File lib/fakerbot/cli.rb, line 44 def search(query) if options[:help] invoke :help, ['search'] else FakerBot::Commands::Search.new(options).execute(query) end end
version()
click to toggle source
# File lib/fakerbot/cli.rb, line 16 def version require_relative 'version' puts "v#{FakerBot::VERSION}" end