Crate pop_telemetry

Source

Structs§

Config
Type to represent pop cli configuration. This will be written as json to a config.json file.
Telemetry

Enums§

TelemetryError

Functions§

config_file_path
Returns the configuration file path based on OS’s default config directory.
record_cli_command
Reports what CLI command was called to telemetry.
record_cli_used
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.
write_config_opt_out
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.

Type Aliases§

Result