Commit 759e85c
docs(usage): add --debug example + exit codes to help text (#171)
The 'testsprite usage' command help text listed three examples but
omitted the --debug flag (a global option useful for diagnosing auth
and network issues). It also didn't document the exit codes, which
matters for CI/CD scripts that gate on the return value.
This PR adds:
- A --debug example showing what it traces (HTTP method/path, request
id, latency) — useful when debugging 'auth error' or 'transport
failure' messages.
- An explicit exit-codes section (0 success, 3 auth error, 10 network
failure) so users scripting against the CLI know what to expect.
Pure documentation improvement — no behavioral change, no new deps.
Tested: existing unit tests pass (npm test).
Co-authored-by: MOAAMN SAYED <moaamnsayed560@gmail.com>1 parent 93c621c commit 759e85c
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| 203 | + | |
203 | 204 | | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
204 | 209 | | |
205 | 210 | | |
206 | 211 | | |
| |||
0 commit comments