Sha256: 9856aef550a429443d759bbf3f4581742120a3e4077ff37f84b8a82298bcc6ae
Contents?: true
Size: 585 Bytes
Versions: 9
Compression:
Stored size: 585 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), desc: 'Choose which test framework to use' def init ProxyRb::Initializer.new.call(options[:test_framework]) end end end
Version data entries
9 entries across 9 versions & 1 rubygems