Sha256: 7251205deb648b36df1eac9bbc731e6cd8a6402251b4eb901b596e715a4b1fcb

Contents?: true

Size: 385 Bytes

Versions: 6

Compression:

Stored size: 385 Bytes

Contents

#!/usr/bin/env ruby

require 'boreman'
require 'boreman/version'
require 'optparse'

opts = {}

OptionParser.new do |o|
  o.banner = 'Usage: boreman [start|stop|restart|status] [selector]'

  o.on('--version', '-v') do
    puts Boreman::VERSION
    exit
  end
end.parse!

action   = ARGV[0]
selector = ARGV[1]

Boreman.run action, selector, opts

puts "Thanks for using Boreman!"
exit

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
boreman-0.1.28 exe/boreman
boreman-0.1.27 exe/boreman
boreman-0.1.26 exe/boreman
boreman-0.1.25 exe/boreman
boreman-0.1.24 exe/boreman
boreman-0.1.23 exe/boreman