Crate pop_telemetry
source ·Structs§
- Type to represent pop cli configuration. This will be written as json to a config.json file.
Enums§
Functions§
- Returns the configuration file path based on OS’s default config directory.
- Reports what CLI command was called to telemetry.
- Generically reports that the CLI was used to the telemetry endpoint. There is explicitly no reqwest retries on failure to ensure overhead stays to a minimum.
- Writes opt-out to the configuration file at the specified path. opt-out is currently the only config type. Hence, if the file exists, it will be overwritten.