Class: Fastlane::Actions::GsheetMetadataAction

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

Class Method Summary collapse

Class Method Details

.authorsObject



16
17
18
# File 'lib/fastlane/plugin/gsheet_metadata/actions/gsheet_metadata_action.rb', line 16

def self.authors
  ["Kevin Morais"]
end

.available_optionsObject



29
30
31
32
33
34
35
36
37
# File 'lib/fastlane/plugin/gsheet_metadata/actions/gsheet_metadata_action.rb', line 29

def self.available_options
  [
    # FastlaneCore::ConfigItem.new(key: :your_option,
    #                         env_name: "GSHEET_METADATA_YOUR_OPTION",
    #                      description: "A description of your option",
    #                         optional: false,
    #                             type: String)
  ]
end

.descriptionObject



12
13
14
# File 'lib/fastlane/plugin/gsheet_metadata/actions/gsheet_metadata_action.rb', line 12

def self.description
  "Generate metadata from Google Spreadsheet"
end

.detailsObject



24
25
26
27
# File 'lib/fastlane/plugin/gsheet_metadata/actions/gsheet_metadata_action.rb', line 24

def self.details
  # Optional:
  "Use a Google Spreadsheet and the plugin will generate txt files for every languages"
end

.is_supported?(platform) ⇒ Boolean

Returns:

  • (Boolean)


39
40
41
42
43
44
45
# File 'lib/fastlane/plugin/gsheet_metadata/actions/gsheet_metadata_action.rb', line 39

def self.is_supported?(platform)
  # Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example)
  # See: https://docs.fastlane.tools/advanced/#control-configuration-by-lane-and-by-platform
  #
  # [:ios, :mac, :android].include?(platform)
  true
end

.return_valueObject



20
21
22
# File 'lib/fastlane/plugin/gsheet_metadata/actions/gsheet_metadata_action.rb', line 20

def self.return_value
  # If your method provides a return value, you can describe here what it does
end

.run(params) ⇒ Object



7
8
9
10
# File 'lib/fastlane/plugin/gsheet_metadata/actions/gsheet_metadata_action.rb', line 7

def self.run(params)
  Helper::GsheetMetadataHelper.
  UI.message("The gsheet_metadata plugin is working!")
end