Sha256: 737c632743ffa6cf7a146d82192438a6206dc41ca193ff5fcad136c17122baa5

Contents?: true

Size: 432 Bytes

Versions: 11

Compression:

Stored size: 432 Bytes

Contents

#!/usr/bin/env ruby

require_relative '../lib/tailor/cli'
require_relative '../lib/tailor/runtime_error'


begin
  failure = Tailor::CLI.run(ARGV.dup)
  exit(1) if failure
rescue Tailor::RuntimeError => ex
  STDERR.puts ex.message
  STDERR.puts ex.backtrace.join("\n")
rescue SystemExit => ex
  exit(ex.status)
rescue Exception => ex
  STDERR.puts("#{ex.message} (#{ex.class})")
  STDERR.puts(ex.backtrace.join("\n"))
  exit(1)
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
tailor-1.2.0 bin/tailor
tailor-1.1.5 bin/tailor
tailor-1.1.4 bin/tailor
tailor-1.1.3 bin/tailor
tailor-1.1.2 bin/tailor
tailor-1.1.1 bin/tailor
tailor-1.1.0 bin/tailor
tailor-1.0.1 bin/tailor
tailor-1.0.0 bin/tailor
tailor-1.0.0.alpha2 bin/tailor
tailor-1.0.0.alpha bin/tailor