class Fastlane::Actions::MyAction
Public Class Methods
available_options()
click to toggle source
# File lib/fastlane/plugin/my/actions/my_action.rb, line 24 def self.available_options [ # FastlaneCore::ConfigItem.new(key: :your_option, # env_name: "MY_YOUR_OPTION", # description: "A description of your option", # optional: false, # type: String) ] end
description()
click to toggle source
# File lib/fastlane/plugin/my/actions/my_action.rb, line 11 def self.description "Hello fastlane plugin demo" end
details()
click to toggle source
# File lib/fastlane/plugin/my/actions/my_action.rb, line 19 def self.details # Optional: "Hello fastlane plugin demo" end
is_supported?(platform)
click to toggle source
# File lib/fastlane/plugin/my/actions/my_action.rb, line 34 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
run(params)
click to toggle source
# File lib/fastlane/plugin/my/actions/my_action.rb, line 7 def self.run(params) UI.message("The my plugin is working!") end