Sha256: cf0383b2e8a390fae9ac2f8c96dc78aa3976b7645de80f394ce57d2d6f3978ef

Contents?: true

Size: 329 Bytes

Versions: 5

Compression:

Stored size: 329 Bytes

Contents

#!/usr/bin/env ruby
require_relative "../lib/saber"

begin
  Saber::CLI.start
rescue Interrupt => e
  Saber.ui.say "\nQuitting..."
  Saber.ui.debug e.backtrace.join("\n")
  exit 1
rescue SyntaxError
  raise
rescue Exception => e
  Saber.ui.error "#{e.class.name}: #{e.message}"
  Saber.ui.say e.backtrace.join("\n")
  exit 1
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
saber-1.2.4 bin/saber
saber-1.2.3 bin/saber
saber-1.2.2 bin/saber
saber-1.2.1 bin/saber
saber-1.2.0 bin/saber