class Fastlane::Actions::RemoveFilesAction

Public Class Methods

authors() click to toggle source
# File lib/fastlane/plugin/file_manager/actions/remove_files_action.rb, line 14
def self.authors
  ["Jason Nam"]
end
available_options() click to toggle source
# File lib/fastlane/plugin/file_manager/actions/remove_files_action.rb, line 18
def self.available_options
  [
    FastlaneCore::ConfigItem.new(key: :path,
                        short_option: "-p",
                         description: "Path for files to remove",
                            optional: false,
                                type: String)
  ]
end
description() click to toggle source
# File lib/fastlane/plugin/file_manager/actions/remove_files_action.rb, line 10
def self.description
  "Remove files"
end
is_supported?(platform) click to toggle source
# File lib/fastlane/plugin/file_manager/actions/remove_files_action.rb, line 28
def self.is_supported?(platform)
  true
end
run(params) click to toggle source
# File lib/fastlane/plugin/file_manager/actions/remove_files_action.rb, line 6
def self.run(params)
  Actions.sh("rm", "-rf", params[:path])
end