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