Sha256: 030e1f9fe9a23b501a2b4d2beb90c2df24db4fa9e1ddc2553bf49b9369d6d479
Contents?: true
Size: 359 Bytes
Versions: 15
Compression:
Stored size: 359 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true lib_path = File.expand_path('../lib', __dir__) $LOAD_PATH.unshift(lib_path) unless $LOAD_PATH.include?(lib_path) require 'dri/cli' Signal.trap('INT') do warn("\n#{caller.join("\n")}: interrupted") exit(1) end begin Dri::CLI.start rescue Dri::CLI::Error => e puts "ERROR: #{e.message}" exit 1 end
Version data entries
15 entries across 15 versions & 1 rubygems