Method: Fastlane::Actions::ErbAction.available_options

Defined in:
fastlane/lib/fastlane/actions/erb.rb

.available_optionsObject



30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# File 'fastlane/lib/fastlane/actions/erb.rb', line 30

def self.available_options
  [

    FastlaneCore::ConfigItem.new(key: :template,
                                 short_option: "-T",
                                 env_name: "FL_ERB_SRC",
                                 description: "ERB Template File",
                                 optional: false),
    FastlaneCore::ConfigItem.new(key: :destination,
                                 short_option: "-D",
                                 env_name: "FL_ERB_DST",
                                 description: "Destination file",
                                 optional: true),
    FastlaneCore::ConfigItem.new(key: :placeholders,
                                 short_option: "-p",
                                 env_name: "FL_ERB_PLACEHOLDERS",
                                 description: "Placeholders given as a hash",
                                 default_value: {},
                                 type: Hash),
    FastlaneCore::ConfigItem.new(key: :trim_mode,
                                 short_option: "-t",
                                 env_name: "FL_ERB_TRIM_MODE",
                                 description: "Trim mode applied to the ERB",
                                 optional: true)

  ]
end