feat: add send_mail.sh (#21)
This commit is contained in:
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/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" "$@")"
|
||||
|
||||
Reference in New Issue
Block a user