Sha256: 1d4f1633cf4b4ca0548e4d867717c51d2098deeca75f64504d3831d388aa062a
Contents?: true
Size: 363 Bytes
Versions: 78
Compression:
Stored size: 363 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 print %x[#{@command}].chomp
Version data entries
78 entries across 78 versions & 3 rubygems