Sha256: 86c20906ccb012054f7c79e60aa3d1fdb8cf510ea6b3ad7a338edfdb690cf8c5

Contents?: true

Size: 339 Bytes

Versions: 1

Compression:

Stored size: 339 Bytes

Contents

#!/usr/bin/ruby

if ['-h', '--help'].in?(ARGV) || ARGV.length == 0
  puts 'syntax: [-v] "command string to match" then some other command to run with its args'
  exit
end

require 'after'

if ARGV[0] == '-v'
  ARGV.shift
  $VERBOSE = true
  puts 'running in verbose mode'
end
After.find_and_wait_for(ARGV.shift)
system(ARGV)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
after-0.0.2 bin/after