#!/usr/bin/env ruby require "terraforming" begin Terraformer::CLI.start(ARGV) rescue Terraformer::UserInputError, Terraformer::UserInputMaxAttemptsError, Terraformer::TerraformInvalidTfstateFile, Terraformer::TerraformFileNotFound => e if e.class.is_a? Terraformer::UserInputError exit 0 end exit 1 end