pop_telemetry

Function record_cli_command

source
pub async fn record_cli_command(
    tel: Telemetry,
    command_name: &str,
    data: Value,
) -> Result<()>
Expand description

Reports what CLI command was called to telemetry.

parameters: command_name: the name of the command entered (new, up, build, etc) data: the JSON representation of subcommands. This should never include any user inputted data like a file name.