chore: some quality of life changes

This commit is contained in:
iff 2025-04-06 16:59:12 +02:00
parent 5b690ed7ca
commit 5235b29a51
3 changed files with 10 additions and 2 deletions

View file

@ -38,11 +38,12 @@ Your module should print:
- At the end of each suggestion, append `<_PR_BR>` so pay-respects knows you are either done or adding another suggestion
- **To `stderr`**: Any relevant information that should display to the user (e.g, warning for AI generated content)
An example of a shell based module that always adds a `sudo` before the command:
An example of a shell based module that always suggest adding a `sudo` or `doas`:
```sh
#!/bin/sh
echo "sudo $_PR_LAST_COMMAND"
echo "<_PR_BR>"
echo "doas $_PR_LAST_COMMAND"
```
## Adding a Module