help-snapshots.test.ts.snap 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623
  1. // Bun Snapshot v1, https://bun.sh/docs/test/snapshots
  2. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode acp --help 1`] = `
  3. "opencode acp
  4. start ACP (Agent Client Protocol) server
  5. Options:
  6. -h, --help show help [boolean]
  7. -v, --version show version number [boolean]
  8. --print-logs print logs to stderr [boolean]
  9. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  10. --pure run without external plugins [boolean]
  11. --port port to listen on [number] [default: 0]
  12. --hostname hostname to listen on [string] [default: "127.0.0.1"]
  13. --mdns enable mDNS service discovery (defaults hostname to 0.0.0.0)
  14. [boolean] [default: false]
  15. --mdns-domain custom domain name for mDNS service (default: opencode.local)
  16. [string] [default: "opencode.local"]
  17. --cors additional domains to allow for CORS [array] [default: []]
  18. --cwd working directory [string] [default: "<HOME>"]"
  19. `;
  20. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode mcp --help 1`] = `
  21. "opencode mcp
  22. manage MCP (Model Context Protocol) servers
  23. Commands:
  24. opencode mcp add [name] add an MCP server
  25. opencode mcp list list MCP servers and their status [aliases: ls]
  26. opencode mcp auth [name] authenticate with an OAuth-enabled MCP server
  27. opencode mcp logout [name] remove OAuth credentials for an MCP server
  28. opencode mcp debug <name> debug OAuth connection for an MCP server
  29. Options:
  30. -h, --help show help [boolean]
  31. -v, --version show version number [boolean]
  32. --print-logs print logs to stderr [boolean]
  33. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  34. --pure run without external plugins [boolean]"
  35. `;
  36. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode attach --help 1`] = `
  37. "opencode attach <url>
  38. attach to a running opencode server
  39. Positionals:
  40. url http://localhost:4096 [string] [required]
  41. Options:
  42. -h, --help show help [boolean]
  43. -v, --version show version number [boolean]
  44. --print-logs print logs to stderr [boolean]
  45. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  46. --pure run without external plugins [boolean]
  47. --dir directory to run in [string]
  48. -c, --continue continue the last session [boolean]
  49. -s, --session session id to continue [string]
  50. --fork fork the session when continuing (use with --continue or --session) [boolean]
  51. -p, --password basic auth password (defaults to OPENCODE_SERVER_PASSWORD) [string]
  52. -u, --username basic auth username (defaults to OPENCODE_SERVER_USERNAME or 'opencode')
  53. [string]
  54. --mini start the minimal interactive interface [boolean] [default: false]
  55. --no-replay disable mini session history replay on resume and after resize [boolean]
  56. --replay-limit cap visible mini replay to the newest N messages [number]"
  57. `;
  58. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode run --help 1`] = `
  59. "opencode run [message..]
  60. run opencode with a message
  61. Positionals:
  62. message message to send [array] [default: []]
  63. Options:
  64. -h, --help show help [boolean]
  65. -v, --version show version number [boolean]
  66. --print-logs print logs to stderr [boolean]
  67. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  68. --pure run without external plugins [boolean]
  69. --command the command to run, use message for args [string]
  70. -c, --continue continue the last session [boolean]
  71. -s, --session session id to continue [string]
  72. --fork fork the session before continuing (requires --continue or --session) [boolean]
  73. --share share the session [boolean]
  74. -m, --model model to use in the format of provider/model [string]
  75. --agent agent to use [string]
  76. --format format: default (formatted) or json (raw JSON events)
  77. [string] [choices: "default", "json"] [default: "default"]
  78. -f, --file file(s) to attach to message [array]
  79. --title title for the session (uses truncated prompt if no value provided) [string]
  80. --attach attach to a running opencode server (e.g., http://localhost:4096) [string]
  81. -p, --password basic auth password (defaults to OPENCODE_SERVER_PASSWORD) [string]
  82. -u, --username basic auth username (defaults to OPENCODE_SERVER_USERNAME or 'opencode')
  83. [string]
  84. --dir directory to run in, path on remote server if attaching [string]
  85. --port port for the local server (defaults to random port if no value provided)
  86. [number]
  87. --variant model variant (provider-specific reasoning effort, e.g., high, max, minimal)
  88. [string]
  89. --thinking show thinking blocks [boolean]
  90. -i, --interactive run in direct interactive split-footer mode [boolean] [default: false]
  91. --auto auto-approve permissions that are not explicitly denied (dangerous!)
  92. [boolean] [default: false]"
  93. `;
  94. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode debug --help 1`] = `
  95. "opencode debug
  96. debugging and troubleshooting tools
  97. Commands:
  98. opencode debug config show resolved configuration
  99. opencode debug lsp LSP debugging utilities
  100. opencode debug rg ripgrep debugging utilities
  101. opencode debug file file system debugging utilities
  102. opencode debug scrap list all known projects
  103. opencode debug skill list all available skills
  104. opencode debug snapshot snapshot debugging utilities
  105. opencode debug startup print startup timing
  106. opencode debug agent <name> show agent configuration details
  107. opencode debug v2 debug v2 catalog and built-in plugins
  108. opencode debug info show debug information
  109. opencode debug paths show global paths (data, config, cache, state)
  110. opencode debug wait wait indefinitely (for debugging)
  111. Options:
  112. -h, --help show help [boolean]
  113. -v, --version show version number [boolean]
  114. --print-logs print logs to stderr [boolean]
  115. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  116. --pure run without external plugins [boolean]"
  117. `;
  118. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode providers --help 1`] = `
  119. "opencode providers
  120. manage AI providers and credentials
  121. Commands:
  122. opencode providers list list providers and credentials [aliases: ls]
  123. opencode providers login [url] log in to a provider
  124. opencode providers logout [provider] log out from a configured provider
  125. Options:
  126. -h, --help show help [boolean]
  127. -v, --version show version number [boolean]
  128. --print-logs print logs to stderr [boolean]
  129. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  130. --pure run without external plugins [boolean]"
  131. `;
  132. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode agent --help 1`] = `
  133. "opencode agent
  134. manage agents
  135. Commands:
  136. opencode agent create create a new agent
  137. opencode agent list list all available agents
  138. Options:
  139. -h, --help show help [boolean]
  140. -v, --version show version number [boolean]
  141. --print-logs print logs to stderr [boolean]
  142. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  143. --pure run without external plugins [boolean]"
  144. `;
  145. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode upgrade --help 1`] = `
  146. "opencode upgrade [target]
  147. upgrade opencode to the latest or a specific version
  148. Positionals:
  149. target version to upgrade to, for ex '0.1.48' or 'v0.1.48' [string]
  150. Options:
  151. -h, --help show help [boolean]
  152. -v, --version show version number [boolean]
  153. --print-logs print logs to stderr [boolean]
  154. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  155. --pure run without external plugins [boolean]
  156. -m, --method installation method to use
  157. [string] [choices: "curl", "npm", "pnpm", "bun", "brew", "choco", "scoop"]"
  158. `;
  159. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode uninstall --help 1`] = `
  160. "opencode uninstall
  161. uninstall opencode and remove all related files
  162. Options:
  163. -h, --help show help [boolean]
  164. -v, --version show version number [boolean]
  165. --print-logs print logs to stderr [boolean]
  166. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  167. --pure run without external plugins [boolean]
  168. -c, --keep-config keep configuration files [boolean] [default: false]
  169. -d, --keep-data keep session data and snapshots [boolean] [default: false]
  170. --dry-run show what would be removed without removing [boolean] [default: false]
  171. -f, --force skip confirmation prompts [boolean] [default: false]"
  172. `;
  173. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode serve --help 1`] = `
  174. "opencode serve
  175. starts a headless opencode server
  176. Options:
  177. -h, --help show help [boolean]
  178. -v, --version show version number [boolean]
  179. --print-logs print logs to stderr [boolean]
  180. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  181. --pure run without external plugins [boolean]
  182. --port port to listen on [number] [default: 0]
  183. --hostname hostname to listen on [string] [default: "127.0.0.1"]
  184. --mdns enable mDNS service discovery (defaults hostname to 0.0.0.0)
  185. [boolean] [default: false]
  186. --mdns-domain custom domain name for mDNS service (default: opencode.local)
  187. [string] [default: "opencode.local"]
  188. --cors additional domains to allow for CORS [array] [default: []]"
  189. `;
  190. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode web --help 1`] = `
  191. "opencode web
  192. start opencode server and open web interface
  193. Options:
  194. -h, --help show help [boolean]
  195. -v, --version show version number [boolean]
  196. --print-logs print logs to stderr [boolean]
  197. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  198. --pure run without external plugins [boolean]
  199. --port port to listen on [number] [default: 0]
  200. --hostname hostname to listen on [string] [default: "127.0.0.1"]
  201. --mdns enable mDNS service discovery (defaults hostname to 0.0.0.0)
  202. [boolean] [default: false]
  203. --mdns-domain custom domain name for mDNS service (default: opencode.local)
  204. [string] [default: "opencode.local"]
  205. --cors additional domains to allow for CORS [array] [default: []]"
  206. `;
  207. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode models --help 1`] = `
  208. "opencode models [provider]
  209. list all available models
  210. Positionals:
  211. provider provider ID to filter models by [string]
  212. Options:
  213. -h, --help show help [boolean]
  214. -v, --version show version number [boolean]
  215. --print-logs print logs to stderr [boolean]
  216. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  217. --pure run without external plugins [boolean]
  218. --verbose use more verbose model output (includes metadata like costs) [boolean]
  219. --refresh refresh the models cache from models.dev [boolean]"
  220. `;
  221. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode stats --help 1`] = `
  222. "opencode stats
  223. show token usage and cost statistics
  224. Options:
  225. -h, --help show help [boolean]
  226. -v, --version show version number [boolean]
  227. --print-logs print logs to stderr [boolean]
  228. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  229. --pure run without external plugins [boolean]
  230. --days show stats for the last N days (default: all time) [number]
  231. --tools number of tools to show (default: all) [number]
  232. --models show model statistics (default: hidden). Pass a number to show top N, otherwise
  233. shows all
  234. --project filter by project (default: all projects, empty string: current project)[string]"
  235. `;
  236. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode export --help 1`] = `
  237. "opencode export [sessionID]
  238. export session data as JSON
  239. Positionals:
  240. sessionID session id to export [string]
  241. Options:
  242. -h, --help show help [boolean]
  243. -v, --version show version number [boolean]
  244. --print-logs print logs to stderr [boolean]
  245. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  246. --pure run without external plugins [boolean]
  247. --sanitize redact sensitive transcript and file data [boolean]"
  248. `;
  249. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode import --help 1`] = `
  250. "opencode import <file>
  251. import session data from JSON file or URL
  252. Positionals:
  253. file path to JSON file or share URL [string] [required]
  254. Options:
  255. -h, --help show help [boolean]
  256. -v, --version show version number [boolean]
  257. --print-logs print logs to stderr [boolean]
  258. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  259. --pure run without external plugins [boolean]"
  260. `;
  261. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode github --help 1`] = `
  262. "opencode github
  263. manage GitHub agent
  264. Commands:
  265. opencode github install install the GitHub agent
  266. opencode github run run the GitHub agent
  267. Options:
  268. -h, --help show help [boolean]
  269. -v, --version show version number [boolean]
  270. --print-logs print logs to stderr [boolean]
  271. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  272. --pure run without external plugins [boolean]"
  273. `;
  274. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode pr --help 1`] = `
  275. "opencode pr <number>
  276. fetch and checkout a GitHub PR branch, then run opencode
  277. Positionals:
  278. number PR number to checkout [number] [required]
  279. Options:
  280. -h, --help show help [boolean]
  281. -v, --version show version number [boolean]
  282. --print-logs print logs to stderr [boolean]
  283. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  284. --pure run without external plugins [boolean]"
  285. `;
  286. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode session --help 1`] = `
  287. "opencode session
  288. manage sessions
  289. Commands:
  290. opencode session list list sessions
  291. opencode session delete <sessionID> delete a session
  292. Options:
  293. -h, --help show help [boolean]
  294. -v, --version show version number [boolean]
  295. --print-logs print logs to stderr [boolean]
  296. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  297. --pure run without external plugins [boolean]"
  298. `;
  299. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode plugin --help 1`] = `
  300. "opencode plugin <module>
  301. install plugin and update config
  302. Positionals:
  303. module npm module name [string] [required]
  304. Options:
  305. -h, --help show help [boolean]
  306. -v, --version show version number [boolean]
  307. --print-logs print logs to stderr [boolean]
  308. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  309. --pure run without external plugins [boolean]
  310. -g, --global install in global config [boolean] [default: false]
  311. -f, --force replace existing plugin version [boolean] [default: false]"
  312. `;
  313. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode db --help 1`] = `
  314. "opencode db
  315. database tools
  316. Commands:
  317. opencode db [query] open an interactive sqlite3 shell or run a query [default]
  318. opencode db path print the database path
  319. Positionals:
  320. query SQL query to execute [string]
  321. Options:
  322. -h, --help show help [boolean]
  323. -v, --version show version number [boolean]
  324. --print-logs print logs to stderr [boolean]
  325. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  326. --pure run without external plugins [boolean]
  327. --format Output format [string] [choices: "json", "tsv"] [default: "tsv"]"
  328. `;
  329. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode mcp list --help 1`] = `
  330. "opencode mcp list
  331. list MCP servers and their status
  332. Options:
  333. -h, --help show help [boolean]
  334. -v, --version show version number [boolean]
  335. --print-logs print logs to stderr [boolean]
  336. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  337. --pure run without external plugins [boolean]"
  338. `;
  339. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode mcp add --help 1`] = `
  340. "opencode mcp add [name]
  341. add an MCP server
  342. Positionals:
  343. name name of the MCP server [string]
  344. Options:
  345. -h, --help show help [boolean]
  346. -v, --version show version number [boolean]
  347. --print-logs print logs to stderr [boolean]
  348. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  349. --pure run without external plugins [boolean]
  350. --url URL for a remote MCP server [string]
  351. --env environment variable for a local MCP server (KEY=VALUE) [array]
  352. --header HTTP header for a remote MCP server (KEY=VALUE) [array]"
  353. `;
  354. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode mcp auth --help 1`] = `
  355. "opencode mcp auth [name]
  356. authenticate with an OAuth-enabled MCP server
  357. Commands:
  358. opencode mcp auth list list OAuth-capable MCP servers and their auth status [aliases: ls]
  359. Positionals:
  360. name name of the MCP server [string]
  361. Options:
  362. -h, --help show help [boolean]
  363. -v, --version show version number [boolean]
  364. --print-logs print logs to stderr [boolean]
  365. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  366. --pure run without external plugins [boolean]"
  367. `;
  368. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode mcp logout --help 1`] = `
  369. "opencode mcp logout [name]
  370. remove OAuth credentials for an MCP server
  371. Positionals:
  372. name name of the MCP server [string]
  373. Options:
  374. -h, --help show help [boolean]
  375. -v, --version show version number [boolean]
  376. --print-logs print logs to stderr [boolean]
  377. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  378. --pure run without external plugins [boolean]"
  379. `;
  380. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode providers list --help 1`] = `
  381. "opencode providers list
  382. list providers and credentials
  383. Options:
  384. -h, --help show help [boolean]
  385. -v, --version show version number [boolean]
  386. --print-logs print logs to stderr [boolean]
  387. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  388. --pure run without external plugins [boolean]"
  389. `;
  390. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode providers login --help 1`] = `
  391. "opencode providers login [url]
  392. log in to a provider
  393. Positionals:
  394. url opencode auth provider [string]
  395. Options:
  396. -h, --help show help [boolean]
  397. -v, --version show version number [boolean]
  398. --print-logs print logs to stderr [boolean]
  399. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  400. --pure run without external plugins [boolean]
  401. -p, --provider provider id or name to log in to (skips provider selection) [string]
  402. -m, --method login method label (skips method selection) [string]"
  403. `;
  404. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode providers logout --help 1`] = `
  405. "opencode providers logout [provider]
  406. log out from a configured provider
  407. Positionals:
  408. provider provider id or name to log out from [string]
  409. Options:
  410. -h, --help show help [boolean]
  411. -v, --version show version number [boolean]
  412. --print-logs print logs to stderr [boolean]
  413. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  414. --pure run without external plugins [boolean]"
  415. `;
  416. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode agent create --help 1`] = `
  417. "opencode agent create
  418. create a new agent
  419. Options:
  420. -h, --help show help [boolean]
  421. -v, --version show version number [boolean]
  422. --print-logs print logs to stderr [boolean]
  423. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  424. --pure run without external plugins [boolean]
  425. --path directory path to generate the agent file [string]
  426. --description what the agent should do [string]
  427. --mode agent mode [string] [choices: "all", "primary", "subagent"]
  428. --permissions, --tools comma-separated list of permissions to allow (default: all).
  429. Available: "bash, read, edit, glob, grep, webfetch, task, todowrite,
  430. websearch, lsp, skill" [string]
  431. -m, --model model to use in the format of provider/model [string]"
  432. `;
  433. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode agent list --help 1`] = `
  434. "opencode agent list
  435. list all available agents
  436. Options:
  437. -h, --help show help [boolean]
  438. -v, --version show version number [boolean]
  439. --print-logs print logs to stderr [boolean]
  440. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  441. --pure run without external plugins [boolean]"
  442. `;
  443. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode session list --help 1`] = `
  444. "opencode session list
  445. list sessions
  446. Options:
  447. -h, --help show help [boolean]
  448. -v, --version show version number [boolean]
  449. --print-logs print logs to stderr [boolean]
  450. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  451. --pure run without external plugins [boolean]
  452. -n, --max-count limit to N most recent sessions [number]
  453. --format output format [string] [choices: "table", "json"] [default: "table"]"
  454. `;
  455. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode session delete --help 1`] = `
  456. "opencode session delete <sessionID>
  457. delete a session
  458. Positionals:
  459. sessionID session ID to delete [string] [required]
  460. Options:
  461. -h, --help show help [boolean]
  462. -v, --version show version number [boolean]
  463. --print-logs print logs to stderr [boolean]
  464. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  465. --pure run without external plugins [boolean]"
  466. `;
  467. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode github install --help 1`] = `
  468. "opencode github install
  469. install the GitHub agent
  470. Options:
  471. -h, --help show help [boolean]
  472. -v, --version show version number [boolean]
  473. --print-logs print logs to stderr [boolean]
  474. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  475. --pure run without external plugins [boolean]"
  476. `;
  477. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode github run --help 1`] = `
  478. "opencode github run
  479. run the GitHub agent
  480. Options:
  481. -h, --help show help [boolean]
  482. -v, --version show version number [boolean]
  483. --print-logs print logs to stderr [boolean]
  484. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  485. --pure run without external plugins [boolean]
  486. --event GitHub mock event to run the agent for [string]
  487. --token GitHub personal access token (github_pat_********) [string]"
  488. `;
  489. exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode db path --help 1`] = `
  490. "opencode db path
  491. print the database path
  492. Options:
  493. -h, --help show help [boolean]
  494. -v, --version show version number [boolean]
  495. --print-logs print logs to stderr [boolean]
  496. --log-level log level [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"]
  497. --pure run without external plugins [boolean]"
  498. `;