Class: Raif::CLI::EvalsSetup
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Raif::CLI::Base
Instance Method Details
#run ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/raif/cli/evals_setup.rb', line 9 def run OptionParser.new do |opts| opts. = "Usage: raif evals:setup [options]" opts.on("-h", "--help", "Show this help message") do puts opts exit end end.parse!(args) # Load Rails application to use generators load_rails_application # Invoke the Rails generator require "rails/generators" Rails::Generators.invoke("raif:evals:setup", args) end |