Sha256: b55c6af9094ea15496b8c7107811806aab5134d733303518cb43a07a9d2eb329

Contents?: true

Size: 353 Bytes

Versions: 11

Compression:

Stored size: 353 Bytes

Contents

#!/usr/bin/env ruby
require 'luffa/cli/cli'

begin
  Luffa::CLI.start
  exit 0
rescue Luffa::ValidationError, Thor::RequiredArgumentMissingError, Thor::UndefinedCommandError => e
  puts e.message
  exit 64
rescue Thor::Error => e
  puts e.message
  if ENV['DEBUG'] == '1'
    puts e.backtrace.join("\n") if e.backtrace
    p e.class
  end
  exit 70
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
luffa-2.1.0 bin/luffa
luffa-2.0.0 bin/luffa
luffa-1.1.0 bin/luffa
luffa-1.0.7 bin/luffa
luffa-1.0.6 bin/luffa
luffa-1.0.5 bin/luffa
luffa-1.0.4 bin/luffa
luffa-1.0.3 bin/luffa
luffa-1.0.2 bin/luffa
luffa-1.0.1 bin/luffa
luffa-1.0.0 bin/luffa