cli/acceptance/testdata/telemetry/command-invocation.txtar
2026-04-16 21:42:46 +02:00

9 lines
268 B
Text

# Telemetry log mode outputs command invocation event to stderr
env GH_PRIVATE_ENABLE_TELEMETRY=1
env GH_TELEMETRY=log
env GH_TELEMETRY_SAMPLE_RATE=100
exec gh version
stderr 'Telemetry payload:'
stderr '"type": "command_invocation"'
stderr '"command": "gh version"'