feat: update usage recommendations across multiple workflow commands to require user confirmation and improve clarity

This commit is contained in:
catlog22
2026-02-01 22:04:26 +08:00
parent 5fb910610a
commit 7dcc0a1c05
70 changed files with 4420 additions and 1108 deletions

View File

@@ -88,6 +88,7 @@ export function run(argv: string[]): void {
.option('--host <host>', 'Server host to bind', '127.0.0.1')
.option('--no-browser', 'Start server without opening browser')
.option('--frontend <type>', 'Frontend type: js, react, both', 'both')
.option('--new', 'Launch React frontend (shorthand for --frontend react)')
.action(viewCommand);
// Serve command (alias for view)
@@ -99,6 +100,7 @@ export function run(argv: string[]): void {
.option('--host <host>', 'Server host to bind', '127.0.0.1')
.option('--no-browser', 'Start server without opening browser')
.option('--frontend <type>', 'Frontend type: js, react, both', 'both')
.option('--new', 'Launch React frontend (shorthand for --frontend react)')
.action(serveCommand);
// Stop command