module CloudFormationTool::CLI::ParamSupport::ClassMethods

Public Instance Methods

add_param_options() click to toggle source
# File lib/cloud_formation_tool/cli/param_support.rb, line 14
def add_param_options
  option [ "-p", "--param" ], "PARAM", [
    "Parameter to use with the cloudformation, of the format Mame=Tag",
    "Use multiple times to set multiple parameters.",
    "See 'parameters' command to list the paramaters supported by the tempalte."
    ].join("\n"), multivalued: true
  option [ "-i", "--import" ], "FILE", "Import parameters from YAML file or HTTP URL.", :attribute_name => :param_file
  option [ "-k", "--import-key" ], "KEY", [
    "When loading parameters from a YAML file, use the specified key to load a named",
    "map from the file, instead of using just the file itself as the parameter map"
    ].join("\n"), :attribute_name => :param_key
end