Sha256: afeeb7a2b7652c970478fa0d464b8be0546d58a25bfffe1b5a41f78c865b7e26

Contents?: true

Size: 346 Bytes

Versions: 2

Compression:

Stored size: 346 Bytes

Contents

#!/usr/bin/env ruby
require "terraformer"

begin
  Terraformer::CLI.start(ARGV)
rescue Exception => exception
  case exception
  when Terraformer::UserInputError
    exit 0
  else
    message = "[ERROR] #{exception.class.to_s}"
    message += " => #{exception.message}" unless exception.message.strip.empty?
    puts message
    exit 1
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
terraform-exporter-0.0.4 bin/terraformer
terraform-exporter-0.0.3 bin/terraformer