Sha256: 69f36450bcc303e67f9f8ed554dbc6ce669a3dff560dc64cd90267e25bd9db72
Contents?: true
Size: 344 Bytes
Versions: 4
Compression:
Stored size: 344 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true lib_path = File.expand_path('../lib', __dir__) $:.unshift(lib_path) if !$:.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 => err puts "ERROR: #{err.message}" exit 1 end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
dri-0.1.3 | exe/dri |
dri-0.1.2 | exe/dri |
dri-0.1.1 | exe/dri |
dri-0.1.0 | exe/dri |