class Fastlane::Actions::OpenFinderAction
Public Class Methods
available_options()
click to toggle source
# File lib/fastlane/plugin/open_finder/actions/open_finder_action.rb, line 30 def self.available_options [ FastlaneCore::ConfigItem.new( key: :path, description: "传入一个 open 打开的路径", type: String ) ] end
description()
click to toggle source
# File lib/fastlane/plugin/open_finder/actions/open_finder_action.rb, line 14 def self.description "this is tool for mac os x to open finder" end
details()
click to toggle source
# File lib/fastlane/plugin/open_finder/actions/open_finder_action.rb, line 26 def self.details "this is tool for mac os x to open finder" end
is_supported?(platform)
click to toggle source
# File lib/fastlane/plugin/open_finder/actions/open_finder_action.rb, line 40 def self.is_supported?(platform) true end
return_value()
click to toggle source
# File lib/fastlane/plugin/open_finder/actions/open_finder_action.rb, line 22 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/open_finder/actions/open_finder_action.rb, line 7 def self.run(params) path = params[:path] system("open #{path}") ::Fastlane::Helper::OpenFinderHelper.show_message end