mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-24 06:45:22 +00:00
fix example
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
@@ -26,7 +26,7 @@ Usage notes:
|
||||
- If you _still_ need to run `grep`, STOP. ALWAYS USE ripgrep at `rg` (or /usr/bin/rg) first, which all opencode users have pre-installed.
|
||||
- When issuing multiple commands, use the ';' or '&&' operator to separate them. DO NOT use newlines (newlines are ok in quoted strings).
|
||||
- Avoid using `cd` to change directories when possible. Instead, set the `workdir` parameter or use absolute paths in your commands.
|
||||
<good-example>
|
||||
dir_path="/foo/bar", command="pytest tests"
|
||||
workdir="/foo/bar", command="pytest tests"
|
||||
</good-example>
|
||||
<good-example>
|
||||
|
||||
Reference in New Issue
Block a user