Sha256: b83db57836c325cb1b92a2a6b52735e71f376e1d681dfb69bb9b72863ad8dae4
Contents?: true
Size: 507 Bytes
Versions: 7
Compression:
Stored size: 507 Bytes
Contents
#! /usr/bin/env ruby # Trap interrupts to quit cleanly. See # https://twitter.com/mitchellh/status/283014103189053442 Signal.trap("INT") { exit 1 } begin require 'lionel_richie' rescue LoadError $LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib') require 'lionel_richie' end # Output message to $stderr, prefixed with the program name def pute(*args) first = args.shift.dup first.insert(0, "#{$0}: ") args.unshift(first) $stderr.puts(*args) end Lionel::CLI.start(ARGV)
Version data entries
7 entries across 7 versions & 1 rubygems