16 lines
330 B
Bash
Executable File
16 lines
330 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
# @describe Send a email.
|
|
# @meta require-tools mutt
|
|
# @option --recipient The recipient of the email.
|
|
# @option --subject The subject of the email.
|
|
# @option --body The body of the email.
|
|
|
|
main() {
|
|
mutt -s "$argc_subject" "$argc_recipient" <<<"$argc_body"
|
|
}
|
|
|
|
eval "$(argc --argc-eval "$0" "$@")"
|
|
|