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

Version Path
vtk-0.8.0 exe/vtk
vtk-0.7.0 exe/vtk
vtk-0.5.0 exe/vtk
vtk-0.4.0 exe/vtk
vtk-0.3.0 exe/vtk
vtk-0.2.6 exe/vtk
vtk-0.2.5 exe/vtk
vtk-0.2.4 exe/vtk
vtk-0.2.3 exe/vtk
vtk-0.2.2 exe/vtk
vtk-0.2.1 exe/vtk
vtk-0.2.0 exe/vtk
vtk-0.1.0 exe/vtk