Sha256: 84302ea3e4172519880e5cbb902280bc1e7e68f09f2c98f7be27341405ea266b

Contents?: true

Size: 516 Bytes

Versions: 29

Compression:

Stored size: 516 Bytes

Contents

#!/usr/bin/env ruby
require 'optparse'
require 'pathname'

$: << File.expand_path('../../lib', Pathname.new(__FILE__).realpath)
require 'junoser/squash'

command = :squash
opts = OptionParser.new do |opts|
  opts.banner = 'junoser-squash: squash config file.'
  opts.define_head 'Usage: junoser-squash [path]'

  opts.on_tail '-h', '--help', 'Show this message' do
    puts opts
    exit
  end
end
opts.parse!
case command
  when :squash
    puts Junoser::Squash.new($<).transform
  else
    puts opts
    abort
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
junoser-0.6.0 exe/junoser-squash
junoser-0.5.6 exe/junoser-squash
junoser-0.5.5 exe/junoser-squash
junoser-0.5.4 exe/junoser-squash
junoser-0.5.3 exe/junoser-squash
junoser-0.5.2 exe/junoser-squash
junoser-0.5.1 exe/junoser-squash
junoser-0.5.0 exe/junoser-squash
junoser-0.4.7 exe/junoser-squash
junoser-0.4.6 exe/junoser-squash
junoser-0.4.5 exe/junoser-squash
junoser-0.4.4 exe/junoser-squash
junoser-0.4.3 exe/junoser-squash
junoser-0.4.2 exe/junoser-squash
junoser-0.4.1 exe/junoser-squash
junoser-0.4.0 exe/junoser-squash
junoser-0.3.13 exe/junoser-squash
junoser-0.3.12 exe/junoser-squash
junoser-0.3.11 exe/junoser-squash
junoser-0.3.10 exe/junoser-squash