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

Version Path
dri-0.11.0 exe/dri
dri-0.10.2 exe/dri
dri-0.10.1 exe/dri
dri-0.10.0 exe/dri
dri-0.9.0 exe/dri
dri-0.8.0 exe/dri
dri-0.7.0 exe/dri
dri-0.6.1 exe/dri
dri-0.6.0 exe/dri
dri-0.5.1 exe/dri
dri-0.5.0 exe/dri
dri-0.4.0 exe/dri
dri-0.3.1 exe/dri
dri-0.3.0 exe/dri
dri-0.2.0 exe/dri