Sha256: b41cfd0b6114310e23a03187a40cdf16517ec7fadac82cc153ed82ed9e8db34f

Contents?: true

Size: 350 Bytes

Versions: 1

Compression:

Stored size: 350 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 'sftui/cli'

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sftui-0.1.0 exe/sftui