Sha256: 7a6485bd8abc742f66aa2d24607d5bc0bf993a2459179d4f82fccc52550050ea
Contents?: true
Size: 362 Bytes
Versions: 8
Compression:
Stored size: 362 Bytes
Contents
#!/usr/bin/env ruby $:.unshift(File.join(File.dirname(__FILE__), "..", "lib")) require "poolparty" require "poolpartycl" @command = ARGV[-1] || "" o = PoolParty::Optioner.new(ARGV) do |opts, optioner| opts.on('-c command', '--command command', 'Command to run') { |c| optioner.command c } end @command = o.command if o.command puts %x[#{@command}].chomp
Version data entries
8 entries across 8 versions & 2 rubygems