Sha256: ecb36493ce45da3f39d62e93d5c1d6b2013e2205332090e2ccaf367bc90e3915

Contents?: true

Size: 372 Bytes

Versions: 4

Compression:

Stored size: 372 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 'k_starter'

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

begin
  KStarter::CLI.start
rescue KStarter::CLI::Error => e
  puts "ERROR: #{e.message}"
  exit 1
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
k_starter-0.1.4 exe/k_starter
k_starter-0.1.3 exe/k_starter
k_starter-0.1.2 exe/k_starter
k_starter-0.1.1 exe/k_starter