Sha256: 1f6bffbcb4d5d08f36b7a213a00d833f92a430b7741d86757b54a4d21cd7037d
Contents?: true
Size: 1.02 KB
Versions: 7
Compression:
Stored size: 1.02 KB
Contents
module Pantograph module Actions class OptOutUsageAction < Action def self.run(params) ENV['PANTOGRAPH_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, _pantograph_ will track what actions are being used. No personal/sensitive information is recorded.", "Learn more at [https://johnknapprs.github.io/pantograph/#metrics](https://johnknapprs.github.io/pantograph/#metrics).", "Add `opt_out_usage` at the top of your Pantfile 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 Pantfile' ] end def self.category :misc end end end end
Version data entries
7 entries across 7 versions & 1 rubygems