Sha256: ea83921d68a164c6ed49203a7fa65057396831788945dc0edf55fd83a6e33670

Contents?: true

Size: 361 Bytes

Versions: 1

Compression:

Stored size: 361 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(Dru::Argv.new.parse)
rescue Dru::CLI::Error => err
  puts "ERROR: #{err.message}"
  exit 1
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dru-0.6.0 exe/dru