@kaynooo/cli-doctor 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -17,6 +17,14 @@ doctor --json # [{check, ok, detail, fix?}]
17
17
 
18
18
  A registry that does not answer leaves a package passing, with a note. Exit codes: 0 every check passed, 1 one failed, 2 a usage error.
19
19
 
20
+ ## cli stats
21
+
22
+ ```sh
23
+ cli stats [--since 7d] [--json] # runs per bin, failures, and the options usage errors did not know
24
+ ```
25
+
26
+ Every bin records each run in `~/.local/state/kaynooo-cli/usage.jsonl`: the bin, its command, the flag names it saw (never values or arguments), the exit code and, on a usage error, the unknown option. `KAYNOOO_CLI_NO_USAGE=1` turns it off; `guard` never records.
27
+
20
28
  ## cli list
21
29
 
22
30
  ```sh