test(opencode): update help snapshots (#34639)
This commit is contained in:
@@ -76,39 +76,47 @@ Positionals:
|
|||||||
message message to send [array] [default: []]
|
message message to send [array] [default: []]
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-h, --help show help [boolean]
|
-h, --help show help [boolean]
|
||||||
-v, --version show version number [boolean]
|
-v, --version show version number [boolean]
|
||||||
--print-logs print logs to stderr [boolean]
|
--print-logs print logs to stderr [boolean]
|
||||||
--log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
--log-level log level
|
||||||
--pure run without external plugins [boolean]
|
[string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
|
||||||
--command the command to run, use message for args [string]
|
--pure run without external plugins [boolean]
|
||||||
-c, --continue continue the last session [boolean]
|
--command the command to run, use message for args
|
||||||
-s, --session session id to continue [string]
|
[string]
|
||||||
--fork fork the session before continuing (requires --continue or
|
-c, --continue continue the last session [boolean]
|
||||||
--session) [boolean]
|
-s, --session session id to continue [string]
|
||||||
--share share the session [boolean]
|
--fork fork the session before continuing (requires
|
||||||
-m, --model model to use in the format of provider/model [string]
|
--continue or --session) [boolean]
|
||||||
--agent agent to use [string]
|
--share share the session [boolean]
|
||||||
--format format: default (formatted) or json (raw JSON events)
|
-m, --model model to use in the format of provider/model
|
||||||
|
[string]
|
||||||
|
--agent agent to use [string]
|
||||||
|
--format format: default (formatted) or json (raw JSON
|
||||||
|
events)
|
||||||
[string] [choices: "default", "json"] [default: "default"]
|
[string] [choices: "default", "json"] [default: "default"]
|
||||||
-f, --file file(s) to attach to message [array]
|
-f, --file file(s) to attach to message [array]
|
||||||
--title title for the session (uses truncated prompt if no value
|
--title title for the session (uses truncated prompt
|
||||||
provided) [string]
|
if no value provided) [string]
|
||||||
--attach attach to a running opencode server (e.g.,
|
--attach attach to a running opencode server (e.g.,
|
||||||
http://localhost:4096) [string]
|
http://localhost:4096) [string]
|
||||||
-p, --password basic auth password (defaults to OPENCODE_SERVER_PASSWORD)
|
-p, --password basic auth password (defaults to
|
||||||
|
OPENCODE_SERVER_PASSWORD) [string]
|
||||||
|
-u, --username basic auth username (defaults to
|
||||||
|
OPENCODE_SERVER_USERNAME or 'opencode')
|
||||||
[string]
|
[string]
|
||||||
-u, --username basic auth username (defaults to OPENCODE_SERVER_USERNAME or
|
--dir directory to run in, path on remote server if
|
||||||
'opencode') [string]
|
attaching [string]
|
||||||
--dir directory to run in, path on remote server if attaching
|
--port port for the local server (defaults to random
|
||||||
[string]
|
port if no value provided) [number]
|
||||||
--port port for the local server (defaults to random port if no value
|
--variant model variant (provider-specific reasoning
|
||||||
provided) [number]
|
effort, e.g., high, max, minimal) [string]
|
||||||
--variant model variant (provider-specific reasoning effort, e.g., high,
|
--thinking show thinking blocks [boolean]
|
||||||
max, minimal) [string]
|
-i, --interactive run in direct interactive split-footer mode
|
||||||
--thinking show thinking blocks [boolean]
|
[boolean] [default: false]
|
||||||
--dangerously-skip-permissions auto-approve permissions that are not explicitly denied
|
--auto, --yolo, --dangerously-skip-permissions auto-approve permissions that are not
|
||||||
(dangerous!) [boolean] [default: false]"
|
explicitly denied (dangerous!)
|
||||||
|
[boolean] [default: false]"
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode debug --help 1`] = `
|
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode debug --help 1`] = `
|
||||||
|
|||||||
Reference in New Issue
Block a user