Sha256: aced5a7a4b8f7aab35c7b4a77ef827fe1d43bd4b16734615a4253155345a59cd

Contents?: true

Size: 337 Bytes

Versions: 4

Compression:

Stored size: 337 Bytes

Contents

#!/usr/bin/env ruby

require 'forgitter'
require 'forgitter/cli'

option_parser = Forgitter::CLI::OptionParser.new
options = option_parser.parse(ARGV)

options[:types] = []
options[:types] << ARGV.pop until ARGV.empty?
if options[:types].empty?
  puts option_parser.help
  exit(1)
end

runner = Forgitter::Runner.new(options)
runner.run

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
forgitter-0.0.6 bin/forgitter
forgitter-0.0.5 bin/forgitter
forgitter-0.0.4 bin/forgitter
forgitter-0.0.3 bin/forgitter