class Fastlane::Actions::OptOutUsageAction

Public Class Methods

author() click to toggle source
# File fastlane/lib/fastlane/actions/opt_out_usage.rb, line 21
def self.author
  "KrauseFx"
end
category() click to toggle source
# File fastlane/lib/fastlane/actions/opt_out_usage.rb, line 35
def self.category
  :misc
end
description() click to toggle source
# File fastlane/lib/fastlane/actions/opt_out_usage.rb, line 9
def self.description
  "This will stop uploading the information which actions were run"
end
details() click to toggle source
# File fastlane/lib/fastlane/actions/opt_out_usage.rb, line 13
def self.details
  [
    "By default, _fastlane_ will track what actions are being used. No personal/sensitive information is recorded.",
    "Learn more at [https://docs.fastlane.tools/#metrics](https://docs.fastlane.tools/#metrics).",
    "Add `opt_out_usage` at the top of your Fastfile to disable metrics collection."
  ].join("\n")
end
example_code() click to toggle source
# File fastlane/lib/fastlane/actions/opt_out_usage.rb, line 29
def self.example_code
  [
    'opt_out_usage # add this to the top of your Fastfile'
  ]
end
is_supported?(platform) click to toggle source
# File fastlane/lib/fastlane/actions/opt_out_usage.rb, line 25
def self.is_supported?(platform)
  true
end
run(params) click to toggle source
# File fastlane/lib/fastlane/actions/opt_out_usage.rb, line 4
def self.run(params)
  ENV['FASTLANE_OPT_OUT_USAGE'] = "YES"
  UI.message("Disabled upload of used actions")
end