Sha256: aed2126322ecf7d45cf7a2fe1344d0a7fbca8d06d1cf9e6ac8f5abf3ac1ee26a
Contents?: true
Size: 750 Bytes
Versions: 8
Compression:
Stored size: 750 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.length == 0 ::Guard.run_all scopes else output.puts "Unkown scope #{ rest.join(', ') }" end end end end end end Pry.commands.import ::Guard::Interactor::ALL
Version data entries
8 entries across 8 versions & 1 rubygems