Sha256: 77c9f94ef6a561b7dfb899b2e07af7597885c3f29e89bcd6c6c2f05bad387208

Contents?: true

Size: 812 Bytes

Versions: 3

Compression:

Stored size: 812 Bytes

Contents

#!/usr/bin/env ruby
$: << File.expand_path(File.dirname(File.realpath(__FILE__)) + '/../lib')
require 'rubygems'
require 'gli'
require 'git_reflow'

include GLI::App

program_desc 'Git Reflow manages your git workflow.'

version GitReflow::VERSION

commands_from 'git_reflow/commands'

pre do |global,command,options,args|
  # Pre logic here
  # Return true to proceed; false to abourt and not call the
  # chosen command
  # Use skips_pre before a command to skip this block
  # on that command only
  true
end

post do |global,command,options,args|
  # Post logic here
  # Use skips_post before a command to skip this
  # block on that command only
end

on_error do |exception|
  # Error logic here
  # return false to skip default error handling
  true
end

exit run(ARGV)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
git_reflow-0.8.9 exe/git-reflow
git_reflow-0.8.8 exe/git-reflow
git_reflow-0.8.7 exe/git-reflow