require 'rubygems' require 'appium_thor' Appium::Thor::Config.set do gem_name 'sauce_overage' github_owner 'bootstraponline' end # Must use '::' otherwise Default will point to Thor::Sandbox::Default # Debug by calling Thor::Base.subclass_files via Pry # # https://github.com/erikhuda/thor/issues/484 # # rubocop:disable Style/ClassAndModuleChildren class ::Default < Thor desc 'spec', 'Run RSpec tests' def spec exec 'bundle exec rspec spec' end desc 'cop', 'Executes rubocop' def cop exec 'bundle exec rubocop' end end