mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-10-29 18:05:30 +08:00
opencode: add page (#18690)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
This commit is contained in:
co-authored by
Managor
Dylan
parent
fafb8ac35e
commit
1e48045911
@@ -0,0 +1,24 @@
|
||||
# opencode
|
||||
|
||||
> AI coding agent.
|
||||
> More information: <https://opencode.ai/docs/cli/>.
|
||||
|
||||
- Start the interactive terminal UI:
|
||||
|
||||
`opencode`
|
||||
|
||||
- List all available models from configured providers:
|
||||
|
||||
`opencode models`
|
||||
|
||||
- Run opencode in a non-interactive mode by passing a prompt directly:
|
||||
|
||||
`opencode run {{message}}`
|
||||
|
||||
- Manage AI assistant agents for OpenCode:
|
||||
|
||||
`opencode agent {{command}}`
|
||||
|
||||
- Create a new agent with custom configuration:
|
||||
|
||||
`opencode agent create`
|
||||
Reference in New Issue
Block a user