opencode
opencode copied to clipboard
feat: add CLI arguments to agent create command for scripting
Summary
- Add
--path,--description, and--modeCLI options toopencode agent createcommand - Enables non-interactive agent creation for scripting and automation use cases
Usage
opencode agent create --path ./my-project --description "Review TypeScript code" --mode subagent
When all three arguments are provided, the command runs non-interactively and outputs only the created file path. When any argument is missing, it falls back to interactive prompts.
/review
/review
only I can trigger them haha
/review
/review
lgtm