Skip to content

Commit 7638353

Browse files
committed
fix(cli): --docs-only prints an agent-context summary, not the project-init banner
1 parent 17a35d2 commit 7638353

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

  • server/typescript/packages/cli/src/commands

server/typescript/packages/cli/src/commands/init.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,13 @@ export async function initCommand(args: string[], cwd: string): Promise<number>
353353
}
354354

355355
if (!flags.quiet) {
356-
log.info(nextStepsBlock());
356+
if (flags.docsOnly) {
357+
log.info(`Scaffolded the MetaObjects agent context (${result.created.length} files): .metaobjects/AGENTS.md + .claude/skills/metaobjects-*.`);
358+
for (const w of result.warnings) log.info(` ${w}`);
359+
log.info("Re-run --docs-only --refresh-docs to update; --no-wire-root to skip the root CLAUDE.md @import.");
360+
} else {
361+
log.info(nextStepsBlock());
362+
}
357363
}
358364
return 0;
359365
} catch (err) {

0 commit comments

Comments
 (0)