Skip to content

Commit 66468bd

Browse files
committed
fix: clarify that CLI --help text is not derived from featureDefinitions
AGENTS.md and architecture.md claimed all consumers read from featureDefinitions, but CLI --help text hardcodes its own feature list. Updated docs to explicitly note the exception.
1 parent a2b7c92 commit 66468bd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ A CLI installer tool for dAppBooster projects. It supports two modes:
3838
- Use **pnpm** only (never npm or yarn)
3939
- Treat `dist/` as build output — never edit directly
4040
- User input (`projectName`) must never be interpolated into shell command strings — use `execFile` (args array) instead
41-
- `source/constants/config.ts` is the single source of truth for feature metadata — all consumers read from it
41+
- `source/constants/config.ts` is the single source of truth for feature metadata — all programmatic consumers read from it (CLI `--help` text maintains its own copy)
4242
- Components are presentation-only — business logic lives in `source/operations/`
4343

4444
## Architecture

architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ source/
6161

6262
### Feature Definitions (`source/constants/config.ts`)
6363

64-
Single source of truth for all feature metadata. Every consumer reads from here:
64+
Single source of truth for feature metadata. All programmatic consumers (`--info`, validation, TUI multiselect, operations) read from here. CLI `--help` text maintains its own copy.
6565

6666
```ts
6767
featureDefinitions: Record<FeatureName, {

0 commit comments

Comments
 (0)