Sha256: c9d45a3dd148e129c1336679138be1567848cd05d9497aa60b002e8508bc80a3
Contents?: true
Size: 776 Bytes
Versions: 12
Compression:
Stored size: 776 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
12 entries across 12 versions & 1 rubygems