Sha256: 26d94c4337a3cf0b58321d7e8b25a28886ef8f068474861fcce0670a96a4e216
Contents?: true
Size: 638 Bytes
Versions: 2
Compression:
Stored size: 638 Bytes
Contents
#!/usr/bin/env ruby lib = File.expand_path('../../lib/', __FILE__) $:.unshift lib unless $:.include?(lib) require 'doit' require 'micro-optparse' require 'globals' options = Parser.new do |p| p.banner = "Usage: doit script... [options] # execute locally or remotely" p.version = "doit #{Globals::VERSION}" p.option :list, 'Lists available scripts' p.option :remote, 'Remote host or comma separated hosts', default: '---', optional: true p.option :silent, 'Run silently; suppress output' p.option :verbose, 'Enable verbose output' p.option :noop, 'Suppress execution of commannds' end.process! Doit.start(options)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
doit-0.2.8 | bin/doit |
doit-0.2.7 | bin/doit |