Sha256: c264d992279e5db1678bffce08f5d30286ca91c6f7eddd2822358b5d66efc630

Contents?: true

Size: 324 Bytes

Versions: 4

Compression:

Stored size: 324 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

lib_path = File.expand_path('../lib', __dir__)
require "#{lib_path}/spandx"

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

begin
  Spandx::Cli::Main.start
rescue Spandx::Cli::Error => error
  puts "ERROR: #{error.message}"
  exit 1
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spandx-0.12.3 exe/spandx
spandx-0.12.2 exe/spandx
spandx-0.12.1 exe/spandx
spandx-0.12.0 exe/spandx