Sha256: e59d712cc4edc490dacfac93631f3d06a2472df01c0e444d01925c9129d4d4c0
Contents?: true
Size: 594 Bytes
Versions: 11
Compression:
Stored size: 594 Bytes
Contents
# frozen_string_literal: true require 'thor' require 'proxy_rb/console' require 'proxy_rb/initializer' # ProxyRb module ProxyRb # Command line Interface # # @private class Cli < Thor def self.exit_on_failure? true end desc 'console', "Start proxy_rb's console" def console ProxyRb::Console.new.start end desc 'init', 'Initialize proxy_rb' option :test_framework, default: 'rspec', enum: %w(rspec cucumber), desc: 'Choose which test framework to use' def init ProxyRb::Initializer.new.call(options[:test_framework]) end end end
Version data entries
11 entries across 11 versions & 1 rubygems