Sha256: 2621f53265e454b72caeafe11afa3ed5a58cf3777941dc9cd7167bb7eb6aee46

Contents?: true

Size: 1.39 KB

Versions: 8

Compression:

Stored size: 1.39 KB

Contents

require 'sfn'

module Sfn
  class Config
    # Validate command configuration
    class Validate < Config

      attribute(
        :processing, [TrueClass, FalseClass],
        :description => 'Call the unicorns and explode the glitter bombs'
      )
      attribute(
        :file, String,
        :description => 'Path to template file',
        :default => nil
      )
      attribute(
        :file_path_prompt, [TrueClass, FalseClass],
        :default => true,
        :description => 'Enable interactive prompt for template path discovery'
      )
      attribute(
        :base_directory, String,
        :description => 'Path to root of of templates directory'
      )
      attribute(
        :no_base_directory, [TrueClass, FalseClass],
        :description => 'Unset any value used for the template root directory path'
      )
      attribute(
        :translate, String,
        :description => 'Translate generated template to given prodiver'
      )
      attribute(
        :translate_chunk, Integer,
        :description => 'Chunk length for serialization',
        :coerce => lambda{|v| v.to_i}
      )
      attribute(
        :apply_nesting, [TrueClass, FalseClass],
        :default => true,
        :description => 'Apply stack nesting'
      )
      attribute(
        :nesting_bucket, String,
        :description => 'Bucket to use for storing nested stack templates'
      )

    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sfn-0.5.0 lib/sfn/config/validate.rb
sfn-0.4.16 lib/sfn/config/validate.rb
sfn-0.4.14 lib/sfn/config/validate.rb
sfn-0.4.12 lib/sfn/config/validate.rb
sfn-0.4.10 lib/sfn/config/validate.rb
sfn-0.4.8 lib/sfn/config/validate.rb
sfn-0.4.6 lib/sfn/config/validate.rb
sfn-0.4.4 lib/sfn/config/validate.rb