Sha256: c5f35754aea38ead8ed121d523c85a10a120dd10f090a773768eea92ce14108e
Contents?: true
Size: 589 Bytes
Versions: 4
Compression:
Stored size: 589 Bytes
Contents
require 'thor' require 'aruba/console' require 'aruba/initializer' # Aruba module Aruba # Command line Interface # # @private class Cli < Thor def self.exit_on_failure? true end desc 'console', "Start aruba's console" def console Aruba::Console.new.start end desc 'init', 'Initialize aruba' option :test_framework, default: 'cucumber', enum: %w(cucumber rspec minitest), desc: 'Choose which test framework to use' def init Aruba::Initializer.new.call(options[:test_framework]) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
aruba-1.0.4 | lib/aruba/cli.rb |
aruba-1.0.3 | lib/aruba/cli.rb |
aruba-1.0.2 | lib/aruba/cli.rb |
aruba-1.0.1 | lib/aruba/cli.rb |