mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
docs: fix shell examples
This commit is contained in:
parent
5d68a7c2e0
commit
61f96028c5
1 changed files with 3 additions and 3 deletions
|
|
@ -59,7 +59,7 @@ Run the command with arguments:
|
|||
|
||||
## Inject shell output
|
||||
|
||||
Use `!command` to inject shell command output into your prompt.
|
||||
Use !`command` to inject shell command output into your prompt.
|
||||
|
||||
Create `.opencode/command/analyze-coverage.md`:
|
||||
|
||||
|
|
@ -69,7 +69,7 @@ description: Analyze test coverage
|
|||
---
|
||||
|
||||
Here are the current test results:
|
||||
`!npm test`
|
||||
!`npm test`
|
||||
|
||||
Based on these results, suggest improvements to increase coverage.
|
||||
```
|
||||
|
|
@ -82,7 +82,7 @@ description: Review recent changes
|
|||
---
|
||||
|
||||
Recent git commits:
|
||||
`!git log --oneline -10`
|
||||
!`git log --oneline -10`
|
||||
|
||||
Review these changes and suggest any improvements.
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue