Class: Fastlane::Actions::PoeditorExportAction

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

Class Method Summary collapse

Class Method Details

.authorsObject



12
13
14
# File 'lib/fastlane/plugin/poeditor_export/actions/poeditor_export_action.rb', line 12

def self.authors
  ["James Campbell"]
end

.available_optionsObject



16
17
18
19
20
21
22
23
24
# File 'lib/fastlane/plugin/poeditor_export/actions/poeditor_export_action.rb', line 16

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

.descriptionObject



8
9
10
# File 'lib/fastlane/plugin/poeditor_export/actions/poeditor_export_action.rb', line 8

def self.description
  "Exports translations from POEditor.com"
end

.is_supported?(platform) ⇒ Boolean

Returns:

  • (Boolean)


26
27
28
29
30
31
32
# File 'lib/fastlane/plugin/poeditor_export/actions/poeditor_export_action.rb', line 26

def self.is_supported?(platform)
  # Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example)
  # See: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
  #
  # [:ios, :mac, :android].include?(platform)
  true
end

.run(params) ⇒ Object



4
5
6
# File 'lib/fastlane/plugin/poeditor_export/actions/poeditor_export_action.rb', line 4

def self.run(params)
  UI.message("The poeditor_export plugin is working!")
end