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
version() click to toggle source
# File lib/fakerbot/cli.rb, line 16
def version
  require_relative 'version'
  puts "v#{FakerBot::VERSION}"
end