Sha256: dbd62b9776619e2723f39155b083ce4dd78692938a37f840df878fa90d84834a

Contents?: true

Size: 356 Bytes

Versions: 1

Compression:

Stored size: 356 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 'hackasm/cli'

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hackasm-0.1.0 exe/hackasm