Correct mods example (#57)
Usage of single quotes around '$(mods -f "Explain why CLIs are awesome")' causes the command to be treated as a string instead of being executed. Updated, now aligns with what's shown in the gif.
This commit is contained in:
@@ -115,7 +115,7 @@ Use [`mods`](https://github.com/charmbracelet/mods) with `pop` to write an email
|
|||||||
> Use the `--preview` flag to preview the email and make changes before sending.
|
> Use the `--preview` flag to preview the email and make changes before sending.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pop <<< '$(mods -f "Explain why CLIs are awesome")' \
|
pop <<< "$(mods -f 'Explain why CLIs are awesome')" \
|
||||||
--subject "The command line is the best" \
|
--subject "The command line is the best" \
|
||||||
--preview
|
--preview
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user