Skip to main content

cmd_telemetry

Function cmd_telemetry 

Source
pub fn cmd_telemetry(args: &TelemetryArgs) -> i32
Expand description

decided telemetry [on|off|status] [--enterprise] [--unlock] — show or change sharing consent (ADR-041) and the enterprise hard-lock (ADR-086). Flag validation order is pinned: enterprise/unlock with a non-off action first, then unlock-without-enterprise, then the opt-in-while-locked refusal — three distinct exit-2 usage errors.