diff options
| author | celdem <celdem@gitlab.com> | 2020-04-03 00:07:51 +0100 |
|---|---|---|
| committer | celdem <celdem@gitlab.com> | 2020-04-03 00:07:51 +0100 |
| commit | 6d60bf9b59aef2b9032c58abb6aa62c4f204097c (patch) | |
| tree | fb1889d5beee80f3422dc2a2896eb6ef7b218af5 /exe | |
| parent | d45fcf8b7339efaecfc358daa43019050c787fe2 (diff) | |
Rename cli to spandxcli
Diffstat (limited to 'exe')
| -rwxr-xr-x | exe/spandx | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,9 +1,9 @@ #!/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' +# lib_path = File.expand_path('../lib', __dir__) +# $LOAD_PATH.unshift(lib_path) unless $LOAD_PATH.include?(lib_path) +require 'spandx/spandx_cli' Signal.trap('INT') do warn("\n#{caller.join("\n")}: interrupted") @@ -11,8 +11,8 @@ Signal.trap('INT') do end begin - Spandx::CLI.start -rescue Spandx::CLI::Error => error + Spandx::SpandxCli.start +rescue Spandx::SpandxCli::Error => error puts "ERROR: #{error.message}" exit 1 end |
