Sha256: 343bf96dee97fd5712eca9a1e061eac1b8c6580a902ff9435d59859236eba2cd

Contents?: true

Size: 340 Bytes

Versions: 6

Compression:

Stored size: 340 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 'dru'

Signal.trap('INT') do
  warn("\n#{caller.join("\n")}: interrupted")
  exit(1)
end

begin
  Dru::CLI.start
rescue Dru::CLI::Error => err
  puts "ERROR: #{err.message}"
  exit 1
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dru-0.5.2 exe/dru
dru-0.5.1 exe/dru
dru-0.5.0 exe/dru
dru-0.4.0 exe/dru
dru-0.3.1 exe/dru
dru-0.1.0 exe/dru