mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-14 02:48:23 +00:00
Update cheatsheets
This commit is contained in:
29
tldr/opencode
Normal file
29
tldr/opencode
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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