@@ -19,20 +19,15 @@ This is a complete reference for all `ctx` commands.
1919
2020All commands support these flags:
2121
22- | Flag | Description |
23- | -------------| -------------------|
24- | ` --help ` | Show command help |
25- | ` --version ` | Show version |
22+ | Flag | Description |
23+ | ------------------------| ---------------------------------------------------|
24+ | ` --help ` | Show command help |
25+ | ` --version ` | Show version |
26+ | ` --context-dir <path> ` | Override context directory (default: ` .context/ ` ) |
27+ | ` --quiet ` | Suppress non-essential output |
28+ | ` --no-color ` | Disable colored output |
2629
27- ** Planned flags** (not yet implemented):
28-
29- | Flag | Description |
30- | ------------------------| --------------------------------------------------|
31- | ` --context-dir <path> ` | Override context directory (default: ` .context ` ) |
32- | ` --quiet ` | Suppress non-essential output |
33- | ` --no-color ` | Disable colored output |
34-
35- > Use ` NO_COLOR=1 ` environment variable to disable colored output today.
30+ > The ` NO_COLOR=1 ` environment variable also disables colored output.
3631
3732## Commands
3833
@@ -411,6 +406,68 @@ ctx tasks snapshot "before-refactor"
411406
412407---
413408
409+ ### ` ctx decisions `
410+
411+ Manage the DECISIONS.md file.
412+
413+ ``` bash
414+ ctx decisions < subcommand>
415+ ```
416+
417+ #### ` ctx decisions reindex `
418+
419+ Regenerate the quick-reference index at the top of DECISIONS.md.
420+
421+ ``` bash
422+ ctx decisions reindex
423+ ```
424+
425+ The index is a compact table showing date and title for each decision,
426+ allowing AI tools to quickly scan entries without reading the full file.
427+
428+ Use this after manual edits to DECISIONS.md or when migrating existing
429+ files to use the index format.
430+
431+ ** Example** :
432+
433+ ``` bash
434+ ctx decisions reindex
435+ # ✓ Index regenerated with 12 entries
436+ ```
437+
438+ ---
439+
440+ ### ` ctx learnings `
441+
442+ Manage the LEARNINGS.md file.
443+
444+ ``` bash
445+ ctx learnings < subcommand>
446+ ```
447+
448+ #### ` ctx learnings reindex `
449+
450+ Regenerate the quick-reference index at the top of LEARNINGS.md.
451+
452+ ``` bash
453+ ctx learnings reindex
454+ ```
455+
456+ The index is a compact table showing date and title for each learning,
457+ allowing AI tools to quickly scan entries without reading the full file.
458+
459+ Use this after manual edits to LEARNINGS.md or when migrating existing
460+ files to use the index format.
461+
462+ ** Example** :
463+
464+ ``` bash
465+ ctx learnings reindex
466+ # ✓ Index regenerated with 8 entries
467+ ```
468+
469+ ---
470+
414471### ` ctx recall `
415472
416473Browse and search AI session history from Claude Code and other tools.
0 commit comments