Skip to content

Commit 0a9f8e3

Browse files
committed
fix(cli): update initialization steps to reflect new command structure for knowledge project
1 parent 825370f commit 0a9f8e3

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/cli.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -453,9 +453,12 @@ Thumbs.db
453453
console.log('✅ Knowledge project initialized successfully!');
454454
console.log('');
455455
console.log('📋 Next steps:');
456-
console.log(' 1. cd ' + path.relative(process.cwd(), targetDir));
457-
console.log(' 2. bun install');
458-
console.log(' 3. bun run dev');
456+
if (targetDir !== '.') {
457+
console.log(' 1. cd ' + path.relative(process.cwd(), targetDir));
458+
}
459+
console.log(' 1. knowledge dev');
460+
console.log(' 2. knowledge build');
461+
console.log(' 4. knowledge serve');
459462
console.log('');
460463
console.log('🌐 Your documentation will be available at http://localhost:3000');
461464
}

0 commit comments

Comments
 (0)