feat(cli): enable timestamped run output by default
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user