Sha256: 1ee716c211a373ff2b5cf2ec3ab94c2808b9f386839627df4843afe8af1725c9

Contents?: true

Size: 441 Bytes

Versions: 3

Compression:

Stored size: 441 Bytes

Contents

#!/usr/bin/env ruby

require 'optparse'

require 'mate/bin'
require 'mate/tm_properties'

options = {}
OptionParser.new do |op|
  op.banner = "Usage: #{op.program_name} [options] dir [...]"

  op.on('--no-info-exclude', 'Skip reading .git/info/exclude') do
    options[:skip_info_exclude] = true
  end
end.order!

ARGV.each do |arg|
  if File.directory?(arg)
    Mate::TmProperties.create(arg, options)
  end
end

system Mate::Bin.v2, *ARGV

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mate-3.2.0 bin/tm2
mate-3.1.0 bin/tm2
mate-3.0.0 bin/tm2