Sha256: dac1ba0da1fc2c4de35d7946b4ce60c6759b5d781090e58141370066d34ec27e
Contents?: true
Size: 436 Bytes
Versions: 12
Compression:
Stored size: 436 Bytes
Contents
# frozen_string_literal: true module RailsTemplate18f module Generators module PipelineOptions extend ActiveSupport::Concern include CloudGovOptions included do class_option :terraform, type: :boolean, desc: "Generate actions for planning and applying terraform" end def terraform? options[:terraform].nil? ? terraform_dir_exists? : options[:terraform] end end end end
Version data entries
12 entries across 12 versions & 1 rubygems