Sha256: cac53150bb36bbd9051ace4061a4c87b7b5604092a440b60d0ef72b428b1fa25
Contents?: true
Size: 376 Bytes
Versions: 18
Compression:
Stored size: 376 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 'spandx/cli' Signal.trap('INT') do warn("\n#{caller.join("\n")}: interrupted") exit(1) end begin Spandx::CLI.start rescue Spandx::CLI::Error => error puts "ERROR: #{error.message}" exit 1 end
Version data entries
18 entries across 18 versions & 1 rubygems