Method: Fastlane::Actions::CleanCocoapodsCacheAction.available_options

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

.available_optionsObject



23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# File 'fastlane/lib/fastlane/actions/clean_cocoapods_cache.rb', line 23

def self.available_options
  [
    FastlaneCore::ConfigItem.new(key: :name,
                                 env_name: "FL_CLEAN_COCOAPODS_CACHE_DEVELOPMENT",
                                 description: "Pod name to be removed from cache",
                                 optional: true,
                                 verify_block: proc do |value|
                                   UI.user_error!("You must specify pod name which should be removed from cache") if value.to_s.empty?
                                 end),
    FastlaneCore::ConfigItem.new(key: :no_ansi,
                                 env_name: "FL_CLEAN_COCOAPODS_CACHE_NO_ANSI",
                                 description: "Show output without ANSI codes",
                                 type: Boolean,
                                 default_value: false),
    FastlaneCore::ConfigItem.new(key: :verbose,
                                 env_name: "FL_CLEAN_COCOAPODS_CACHE_VERBOSE",
                                 description: "Show more debugging information",
                                 type: Boolean,
                                 default_value: false),
    FastlaneCore::ConfigItem.new(key: :silent,
                                 env_name: "FL_CLEAN_COCOAPODS_CACHE_SILENT",
                                 description: "Show nothing",
                                 type: Boolean,
                                 default_value: false),
    FastlaneCore::ConfigItem.new(key: :allow_root,
                                 env_name: "FL_CLEAN_COCOAPODS_CACHE_ALLOW_ROOT",
                                 description: "Allows CocoaPods to run as root",
                                 type: Boolean,
                                 default_value: false)
  ]
end