Sha256: e48620365e186cd709059aa2c509b16f3999d73aab47ce462a32775b8913fd51

Contents?: true

Size: 1.36 KB

Versions: 2

Compression:

Stored size: 1.36 KB

Contents

require 'sfn'

module Sfn
  class Config
    # Validate command configuration
    class Validate < Bogo::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'
      )
      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

2 entries across 2 versions & 1 rubygems

Version Path
sfn-0.3.8 lib/sfn/config/validate.rb
sfn-0.3.6 lib/sfn/config/validate.rb