feat(cli): enable timestamped run output by default

This commit is contained in:
YeonGyu-Kim
2026-02-19 03:11:20 +09:00
parent d485ba2d4c
commit d5bd9cae98
5 changed files with 208 additions and 0 deletions
+2
View File
@@ -74,6 +74,7 @@ program
.option("--attach <url>", "Attach to existing opencode server URL")
.option("--on-complete <command>", "Shell command to run after completion")
.option("--json", "Output structured JSON result to stdout")
.option("--no-timestamp", "Disable timestamp prefix in run output")
.option("--verbose", "Show full event stream (default: messages/tools only)")
.option("--session-id <id>", "Resume existing session instead of creating new one")
.addHelpText("after", `
@@ -112,6 +113,7 @@ Unlike 'opencode run', this command waits until:
attach: options.attach,
onComplete: options.onComplete,
json: options.json ?? false,
timestamp: options.timestamp ?? true,
verbose: options.verbose ?? false,
sessionId: options.sessionId,
}