class Fastlane::Actions::CopyAction
Public Class Methods
available_options()
click to toggle source
# File lib/fastlane/plugin/copy/actions/copy_action.rb, line 19 def self.available_options [ FastlaneCore::ConfigItem.new(key: :source, short_option: "-s", description: "Source", optional: false, type: String), FastlaneCore::ConfigItem.new(key: :destination, short_option: "-d", description: "Destination", optional: false, type: String) ] end
description()
click to toggle source
# File lib/fastlane/plugin/copy/actions/copy_action.rb, line 11 def self.description "Copy file" end
is_supported?(platform)
click to toggle source
# File lib/fastlane/plugin/copy/actions/copy_action.rb, line 34 def self.is_supported?(platform) true end
run(params)
click to toggle source
# File lib/fastlane/plugin/copy/actions/copy_action.rb, line 7 def self.run(params) Helper::CopyHelper.copy(params[:source], params[:destination]) end