Sha256: f23c6ce7067032759721f17b0634efa5d9592bba5658c50907a63b2cba72bc71
Contents?: true
Size: 746 Bytes
Versions: 27
Compression:
Stored size: 746 Bytes
Contents
module Guard class Interactor ALL = Pry::CommandSet.new do create_command 'all' do group 'Guard' description 'Run all plugins.' banner <<-BANNER Usage: all <scope> Run the Guard plugin `run_all` action. You may want to specify an optional scope to the action, either the name of a Guard plugin or a plugin group. BANNER def process(*entries) scopes, rest = ::Guard::Interactor.convert_scope(entries) if rest.empty? ::Guard.run_all scopes else output.puts "Unknown scope #{ rest.join(', ') }" end end end end end end Pry.commands.import ::Guard::Interactor::ALL
Version data entries
27 entries across 25 versions & 2 rubygems