class Faker::Bot::Base

Constants

Error

Public Instance Methods

list(filter = nil) click to toggle source
# File lib/faker/bot.rb, line 27
def list(filter = nil)
  if options[:help]
    invoke :help, ['list']
  else
    filter_options = options.merge(filter: filter)
    Faker::Bot::Commands::List.new(filter_options).execute
  end
end
version() click to toggle source
# File lib/faker/bot.rb, line 15
def version
  puts "v#{Faker::Bot::VERSION}"
end