Sha256: 07cdbbfcfddb5491706c84329bace9d4f431fa5d262caad139fe1aa52dceb741

Contents?: true

Size: 705 Bytes

Versions: 1

Compression:

Stored size: 705 Bytes

Contents

#!/usr/bin/env ruby

begin
  require 'orly'
rescue LoadError
  require 'rubygems'
  require 'orly'
end

include Orly

Choice.options do

  header "Orly notifies you whenever you pull an update that requires 'bundle install' or 'rake db:migrate'"

  option :install do
    short '-i'
    long "--install"
    desc "install orly for this git repo"
    action { Orly::Installation::install() }
  end

  option :uninstall do
    short '-u'
    long "--uninstall"
    desc "uninstall orly for this git repo"
    action { Orly::Installation::uninstall() }
  end

  option :run do
    short '-r'
    long "--run"
    desc "run orly now"
    action { Orly::run() }
  end

end

Choice.help if Choice.choices.empty?

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
orly-0.0.4 bin/orly