Skip to content

Commit 9fc98c0

Browse files
committed
docs(cli): update project init examples and OpenCode wording
1 parent 1b6ed86 commit 9fc98c0

8 files changed

Lines changed: 22 additions & 22 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ ow config show
110110
#### Step 4: Initialize in the current project (non-interactive)
111111

112112
```bash
113-
ow project init --yes --all --generate
113+
ow project init --yes --all
114114
```
115115

116116
This will:
@@ -123,13 +123,13 @@ This will:
123123
If you want a specific set of dependencies instead of `--all`:
124124

125125
```bash
126-
ow project init --yes --deps "zod,typescript,vitest" --generate
126+
ow project init --yes --deps "zod,typescript,vitest"
127127
```
128128

129129
Or exclude specific dependencies:
130130

131131
```bash
132-
ow project init --yes --all --skip "react,react-dom" --generate
132+
ow project init --yes --all --skip "react,react-dom"
133133
```
134134

135135
#### Step 5: Verify setup

apps/cli/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ ow list
127127
--all Select all deps
128128
--deps Comma-separated deps
129129
--skip Deps to exclude
130-
--generate, -g Generate references for new deps
130+
--generate, -g Force local generation for new deps
131131
--dry-run, -d Preview only
132132
--yes, -y Skip confirmations
133133
```

apps/cli/src/handlers/generate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export async function generateHandler(options: GenerateOptions): Promise<Generat
8080
repoPath = source.path;
8181
}
8282

83-
s.start("Generating reference with AI...");
83+
s.start("Generating reference with OpenCode...");
8484

8585
const qualifiedName = source.qualifiedName;
8686
const referenceRepoName = source.type === "remote" ? source.fullName : source.name;

apps/cli/src/handlers/pull.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ export async function pullHandler(options: PullOptions): Promise<PullResult> {
408408
verboseLog(`Starting AI reference generation for: ${repoPath}`, verbose);
409409

410410
if (!verbose) {
411-
s.start("Generating reference with AI...");
411+
s.start("Generating reference with OpenCode...");
412412
}
413413

414414
try {

apps/docs/src/content/docs/agents/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,5 +140,5 @@ ow project init
140140
ow pull owner/repo --force
141141

142142
# Or regenerate all project references
143-
ow project init --all --generate
143+
ow project init --all
144144
```

apps/docs/src/content/docs/reference/cli.mdx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -132,19 +132,19 @@ Scan project dependencies and install matching references.
132132
ow project init [options]
133133
```
134134

135-
| Option | Description |
136-
| --------------- | ----------------------------------- |
137-
| `--all` | Process all dependencies |
138-
| `--deps` | Comma-separated deps to include |
139-
| `--skip` | Deps to exclude |
140-
| `--generate` | Generate missing references locally |
141-
| `--dry-run` | Preview only |
142-
| `--yes` | Skip confirmations |
143-
| `--concurrency` | Max parallel installs (default: 4) |
135+
| Option | Description |
136+
| --------------- | --------------------------------------------- |
137+
| `--all` | Process all dependencies |
138+
| `--deps` | Comma-separated deps to include |
139+
| `--skip` | Deps to exclude |
140+
| `--generate` | Force local generation for missing references |
141+
| `--dry-run` | Preview only |
142+
| `--yes` | Skip confirmations |
143+
| `--concurrency` | Max parallel installs (default: 4) |
144144

145145
```bash
146146
ow project init
147-
ow project init --all --generate
147+
ow project init --all
148148
ow project init --deps zod,react
149149
ow project init --dry-run
150150
```

apps/web/src/lib/cli-data.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export const commands: Command[] = [
6262
{ flag: "--skip", description: "Comma-separated deps to exclude" },
6363
{
6464
flag: "--generate, -g",
65-
description: "Generate reference files for deps without existing ones",
65+
description: "Force local generation for deps without existing refs",
6666
},
6767
{ flag: "--dry-run, -d", description: "Show what would be done" },
6868
{ flag: "--yes, -y", description: "Skip confirmations" },
@@ -247,7 +247,7 @@ ow config show
247247
#### Step 5: Initialize in the current project (non-interactive)
248248
249249
\`\`\`bash
250-
ow project init --yes --all --generate
250+
ow project init --yes --all
251251
\`\`\`
252252
253253
This will:
@@ -258,12 +258,12 @@ This will:
258258
259259
If you want a specific set of dependencies instead of \`--all\`:
260260
\`\`\`bash
261-
ow project init --yes --deps "zod,typescript,vitest" --generate
261+
ow project init --yes --deps "zod,typescript,vitest"
262262
\`\`\`
263263
264264
Or exclude specific dependencies:
265265
\`\`\`bash
266-
ow project init --yes --all --skip "react,react-dom" --generate
266+
ow project init --yes --all --skip "react,react-dom"
267267
\`\`\`
268268
269269
#### Step 6: Verify setup

packages/sdk/src/reference.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ ow init --yes --agents "opencode,codex" --repo-root "~/ow" --model "anthropic/cl
221221
## 4) Initialize current project
222222
223223
\`\`\`bash
224-
ow project init --yes --all --generate
224+
ow project init --yes --all
225225
\`\`\`
226226
227227
## 5) Verify

0 commit comments

Comments
 (0)