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:
Brady Joslin
2024-04-16 08:58:37 -05:00
committed by GitHub
parent ec6849db62
commit 988feee2f3

View File

@@ -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.
```bash
pop <<< '$(mods -f "Explain why CLIs are awesome")' \
pop <<< "$(mods -f 'Explain why CLIs are awesome')" \
--subject "The command line is the best" \
--preview
```