class Fastlane::Actions::NotifyAction
Public Class Methods
available_options()
click to toggle source
# File fastlane/lib/fastlane/actions/notify.rb, line 20 def self.available_options end
category()
click to toggle source
# File fastlane/lib/fastlane/actions/notify.rb, line 31 def self.category :deprecated end
deprecated_notes()
click to toggle source
# File fastlane/lib/fastlane/actions/notify.rb, line 35 def self.deprecated_notes "It's recommended to use the new `notification` action instead of `notify`" end
description()
click to toggle source
# File fastlane/lib/fastlane/actions/notify.rb, line 12 def self.description "Shows a macOS notification - use `notification` instead" end
example_code()
click to toggle source
# File fastlane/lib/fastlane/actions/notify.rb, line 27 def self.example_code nil end
is_supported?(platform)
click to toggle source
# File fastlane/lib/fastlane/actions/notify.rb, line 23 def self.is_supported?(platform) Helper.mac? end
run(params)
click to toggle source
# File fastlane/lib/fastlane/actions/notify.rb, line 4 def self.run(params) require 'terminal-notifier' UI.important("It's recommended to use the new 'notification' method instead of 'notify'") text = params.join(' ') TerminalNotifier.notify(text, title: 'fastlane') end