class Fastlane::Actions::SalutationAction
Public Class Methods
available_options()
click to toggle source
# File lib/fastlane/plugin/testbm/actions/salutation_action.rb, line 28 def self.available_options [ FastlaneCore::ConfigItem.new(key: :person_name, env_name: "PERSON_NAME", description: "The person's name", optional: false, type: String) ]# If your method provides a return value, you can describe here what it does end
description()
click to toggle source
# File lib/fastlane/plugin/testbm/actions/salutation_action.rb, line 11 def self.description "Returns hello world" end
details()
click to toggle source
# File lib/fastlane/plugin/testbm/actions/salutation_action.rb, line 23 def self.details # Optional: "Just a test plugin" end
is_supported?(platform)
click to toggle source
# File lib/fastlane/plugin/testbm/actions/salutation_action.rb, line 38 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_value()
click to toggle source
# File lib/fastlane/plugin/testbm/actions/salutation_action.rb, line 19 def self.return_value # If your method provides a return value, you can describe here what it does end
run(params)
click to toggle source
# File lib/fastlane/plugin/testbm/actions/salutation_action.rb, line 6 def self.run(params) UI.message("Hello World!" + params[:person_name]) UI.message("#{ENV["TEST_VALUE"]} text from local ENV") end