Sha256: 48c09bfc6517d19b14a8509a5ca1fb1356b0cece5468b66dd13060213182bfc6
Contents?: true
Size: 526 Bytes
Versions: 6
Compression:
Stored size: 526 Bytes
Contents
#!/usr/bin/env ruby # hit Control + C to stop Signal.trap('INT') do warn ' cancelled by user (INT)' exit 1 end # @return [String] the path to the 'lib' directory of Inch def find_lib_path path = __FILE__ while File.symlink?(path) path = File.expand_path(File.readlink(path), File.dirname(path)) end File.join(File.dirname(File.expand_path(path)), '..', 'lib') end $LOAD_PATH.unshift(find_lib_path) require 'inch' require 'inch/cli' command = Inch::CLI::CommandParser.run(*ARGV) exit(command.exit_status)
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
inch-0.9.0.rc1 | bin/inch |
inch-0.8.0 | bin/inch |
inch-0.8.0.rc2 | bin/inch |
inch-0.8.0.rc1 | bin/inch |
inch-0.7.1 | bin/inch |
inch-0.7.0 | bin/inch |