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