Sha256: fdabfd206ade63df8dfb4a9ef6368b12528559b1ce550071b4fa18fd9931eaac

Contents?: true

Size: 454 Bytes

Versions: 2

Compression:

Stored size: 454 Bytes

Contents

#!/usr/bin/env ruby

require 'bundler'
begin
  Bundler.require
rescue Bundler::GemfileNotFound
ensure
  path = __FILE__
  while File.symlink?(path)
    path = File.expand_path(File.readlink(path), File.dirname(path))
  end
  $:.unshift(File.join(File.dirname(File.expand_path(path)), '..', 'lib'))

  require 'inch'
end

# hit Control + C to stop
Signal.trap("INT") do
  warn "  cancelled by user (INT)"
  exit 1
end

Inch::CLI::CommandParser.run(*ARGV)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
inch-0.1.2 bin/inch
inch-0.1.1 bin/inch