redline funnel
Where your own runs of the CLI succeed and fail. Off by default, local only.
Summarises your own runs of the CLI: runs, successes, failures and median time per command, and the most common errors. Recording is off until you set REDLINE_TELEMETRY=1. The record is a file on your machine that holds only a command name, an outcome, a duration and an error kind. Nothing sends it anywhere. Use it when you want to report where the CLI gets in your way.
Where it runs: Anywhere. The record is ~/.redline/funnel.jsonl.
Synopsis
redline funnel [--json]
redline funnel clearFlags
| Flag | Default | What it does |
|---|---|---|
--json | off | The summary, the file path and whether recording is on, as JSON. |
clear | Delete the record. |
--help prints the same list from the CLI you have installed.
Examples
Before recording is on
$ pnpm redline funnel off — export REDLINE_TELEMETRY=1 to record locally nothing recorded yet it would be written to /Users/you/.redline/funnel.jsonl, on this machine, and sent nowhere
$ npx redlinegate funnel off — export REDLINE_TELEMETRY=1 to record locally nothing recorded yet it would be written to /Users/you/.redline/funnel.jsonl, on this machine, and sent nowhere
$ yarn redline funnel off — export REDLINE_TELEMETRY=1 to record locally nothing recorded yet it would be written to /Users/you/.redline/funnel.jsonl, on this machine, and sent nowhere
$ bun run redline funnel off — export REDLINE_TELEMETRY=1 to record locally nothing recorded yet it would be written to /Users/you/.redline/funnel.jsonl, on this machine, and sent nowhere
Record, then read it back
$ export REDLINE_TELEMETRY=1 $ pnpm redline funnel
$ export REDLINE_TELEMETRY=1 $ npx redlinegate funnel
$ export REDLINE_TELEMETRY=1 $ yarn redline funnel
$ export REDLINE_TELEMETRY=1 $ bun run redline funnel
Exit codes
| Code | Meaning |
|---|---|
0 | Success. |
2 | A subcommand other than clear. |
Related
- Troubleshooting
- All commands and the shared exit codes
- Source:
cli/core/telemetry.ts