Method: Fastlane::Actions::ShAction.available_options

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

.available_optionsObject



23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# File 'fastlane/lib/fastlane/actions/sh.rb', line 23

def self.available_options
  [
    FastlaneCore::ConfigItem.new(key: :command,
                                   description: 'Shell command to be executed',
                                   optional: false,
                                   is_string: true),
    FastlaneCore::ConfigItem.new(key: :log,
                                   description: 'Determines whether fastlane should print out the executed command itself and output of the executed command. If command line option --troubleshoot is used, then it overrides this option to true',
                                   optional: true,
                                   is_string: false,
                                   default_value: true),
    FastlaneCore::ConfigItem.new(key: :error_callback,
                                   description: 'A callback invoked with the command output if there is a non-zero exit status',
                                   optional: true,
                                   is_string: false,
                                   type: :string_callback,
                                   default_value: nil)
  ]
end