@dotdotgod/cli 0.2.8 → 0.2.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotdotgod/cli",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "CLI for dotdotgod validation, local documentation search, and graph indexing.",
5
5
  "type": "module",
6
6
  "license": "Elastic-2.0",
package/src/cli/usage.mjs CHANGED
@@ -77,23 +77,32 @@ Ranks nodes related to one or more changed files. <root> is the project root; re
77
77
  return `Usage:
78
78
  dotdotgod graph communities <root> [--json]`;
79
79
  default:
80
- return `Usage:
81
- dotdotgod [--help|-h]
82
- dotdotgod [--version|-v]
83
- dotdotgod help [command]
84
- dotdotgod validate <root> [--include-local-memory] [--check-index] [--max-lines n] [--max-chars n] [--no-link-check] [--json]
85
- dotdotgod init <root> [--project-name NAME] [--dotdot-setting] [--dry-run] [--json]
86
- dotdotgod index <root> [--json]
87
- dotdotgod config <root> [--json]
88
- dotdotgod config init <root> [--json]
89
- dotdotgod status <root> [--json]
90
- dotdotgod query <root> <query> [--limit n] [--json]
91
- dotdotgod resolve <root> <ref> [--max-results n] [--include-archive] [--json]
92
- dotdotgod expand <root> <prompt> [--max-results n] [--include-archive] [--with-impact] [--fuzzy] [--json]
93
- dotdotgod traceability links <root> [--check|--write] [--json]
94
- dotdotgod trello sync <root> [--dry-run]
95
- dotdotgod graph impact <root> --changed <path> [--changed <path> ...] [--compact|--json|--yml|--yaml]
96
- dotdotgod graph communities <root> [--json]`;
80
+ return `dotdotgod is a project memory CLI for AI agents.
81
+
82
+ Usage:
83
+ dotdotgod <command> [options]
84
+ dotdotgod help <command>
85
+
86
+ Commands:
87
+ init Initialize project memory files.
88
+ config Inspect or initialize project configuration.
89
+ query Search project documentation.
90
+ resolve Resolve a project reference.
91
+ expand Expand references in a prompt.
92
+ validate Validate project memory and documentation.
93
+ index Build or refresh the local index.
94
+ status Show local index status.
95
+ traceability links Check or write generated traceability links.
96
+ graph impact Find files related to changed files.
97
+ graph communities Find groups of related project-memory nodes.
98
+ trello sync Synchronize Trello cards and documentation.
99
+
100
+ Options:
101
+ -h, --help Show help.
102
+ -v, --version Show the version.
103
+
104
+ Run \`dotdotgod help <command>\` or \`dotdotgod <command> --help\`
105
+ for command usage and options.`;
97
106
  }
98
107
  }
99
108
 
package/src/init.mjs CHANGED
@@ -101,6 +101,12 @@ Canonical instructions for AI coding agents working in this repository.
101
101
  - Update docs when behavior, architecture, or test strategy changes.
102
102
  - When using the dotdotgod CLI, run \`dotdotgod validate\` after docs changes and follow its traceability guidance for behavior specs.${dotdotAgentRule}
103
103
 
104
+ ## dotdotgod
105
+
106
+ dotdotgod is a project memory CLI for AI agents.
107
+
108
+ Use \`dotdotgod --help\` to discover available project-memory commands and their usage.
109
+
104
110
  ## Commands
105
111
 
106
112
  Document the project-specific commands here: