class ApiGenerators::CLI

Public Instance Methods

roda() click to toggle source
# File lib/roda_api_generator/cli.rb, line 13
def roda
  args = [options[:name] || 'test_app']

  script = RubyApiGenerators::Generators::Roda.new(args, opts_hash)
  script.invoke_all
end

Private Instance Methods

opts_hash() click to toggle source
# File lib/roda_api_generator/cli.rb, line 22
def opts_hash
  {
    test_framework: options[:test_framework]
  }
end