Sha256: ea5136e3de1d9faee833d568046bc008ff78f9072283d924d3636269924ab9b3

Contents?: true

Size: 591 Bytes

Versions: 2

Compression:

Stored size: 591 Bytes

Contents

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

reflow_command = ARGV.shift
if reflow_command.nil? || GitReflow.workflow.commands[reflow_command.to_sym].nil?
  GitReflow.help
elsif ARGV.include? "--help"
  GitReflow.documentation_for_command(reflow_command)
else
  command_options = GitReflow.parse_command_options!(reflow_command)
  GitReflow.logger.debug "Running command `#{reflow_command}` with options: #{command_options.inspect}"
  GitReflow.public_send(reflow_command.to_sym, command_options)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
git_reflow-0.9.1 exe/git-reflow
git_reflow-0.9.0 exe/git-reflow