Class: Fastlane::Actions::SentryCheckCliInstalledAction

Inherits:
Action
  • Object
show all
Defined in:
lib/fastlane/plugin/sentry/actions/sentry_check_cli_installed.rb

Documentation collapse

Class Method Summary collapse

Class Method Details

.authorsObject



28
29
30
# File 'lib/fastlane/plugin/sentry/actions/sentry_check_cli_installed.rb', line 28

def self.authors
  ["matt-oakes"]
end

.available_optionsObject



36
37
38
# File 'lib/fastlane/plugin/sentry/actions/sentry_check_cli_installed.rb', line 36

def self.available_options
  Helper::SentryConfig.common_cli_config_items
end

.descriptionObject



13
14
15
# File 'lib/fastlane/plugin/sentry/actions/sentry_check_cli_installed.rb', line 13

def self.description
  "Checks that sentry-cli with the correct version is installed"
end

.detailsObject



17
18
19
20
21
22
# File 'lib/fastlane/plugin/sentry/actions/sentry_check_cli_installed.rb', line 17

def self.details
  [
    "This action checks that the senty-cli is installed and meets the mimum verson requirements.",
    "You can use it at the start of your lane to ensure that sentry-cli is correctly installed."
  ].join(" ")
end

.is_supported?(platform) ⇒ Boolean

Returns:

  • (Boolean)


32
33
34
# File 'lib/fastlane/plugin/sentry/actions/sentry_check_cli_installed.rb', line 32

def self.is_supported?(platform)
  true
end

.return_valueObject



24
25
26
# File 'lib/fastlane/plugin/sentry/actions/sentry_check_cli_installed.rb', line 24

def self.return_value
  nil
end

.run(params) ⇒ Object



4
5
6
7
# File 'lib/fastlane/plugin/sentry/actions/sentry_check_cli_installed.rb', line 4

def self.run(params)
  Helper::SentryHelper.find_and_check_sentry_cli_path!(params)
  UI.success("Successfully checked that sentry-cli is installed")
end