Sha256: 94dd5403cbd3d7a982fdf4e874cdb88c217f5c4bd18fe793081fe28b7f189029

Contents?: true

Size: 1009 Bytes

Versions: 524

Compression:

Stored size: 1009 Bytes

Contents

module Fastlane
  module Actions
    class OptOutUsageAction < Action
      def self.run(params)
        ENV['FASTLANE_OPT_OUT_USAGE'] = "YES"
        UI.message("Disabled upload of used actions")
      end

      def self.description
        "This will stop uploading the information which actions were run"
      end

      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

      def self.author
        "KrauseFx"
      end

      def self.is_supported?(platform)
        true
      end

      def self.example_code
        [
          'opt_out_usage # add this to the top of your Fastfile'
        ]
      end

      def self.category
        :misc
      end
    end
  end
end

Version data entries

524 entries across 524 versions & 5 rubygems

Version Path
fastlane-2.94.0.beta.20180429050039 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.94.0.beta.20180428050023 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.94.0.beta.20180427050031 fastlane/lib/fastlane/actions/opt_out_usage.rb
fastlane-2.94.0.beta.20180426050049 fastlane/lib/fastlane/actions/opt_out_usage.rb