Sha256: 16f03470ed259a985b1bcb0b5c8a0b4e32720ab49852afec9cba8341bc4e548c

Contents?: true

Size: 419 Bytes

Versions: 3

Compression:

Stored size: 419 Bytes

Contents

#!/usr/bin/env ruby

$:.unshift File.dirname(__FILE__) + '/../lib'
require "slop"
require "brah"
require "brah/version"

opts = Slop.parse do |o|
  o.banner = "usage: brah [OPTIONS]"
  o.bool '-h', '--help', 'displays this page'
  o.on '-v', '--version', 'displays the version' do
    puts Brah::VERSION
    exit
  end
end

if opts.help?
  puts opts
  exit
end

remote_output = `git remote -v`

Brah.run(remote_output)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
brah-0.5.0 bin/brah
brah-0.4.0 bin/brah
brah-0.3.0 bin/brah