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