Skip to content

A Ruby script to grab a dad joke from an API and email it

Notifications You must be signed in to change notification settings

jhbigler/dadjoke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dadjoke

A Ruby script to grab a dad joke from an API and email it. I use it to email a dad joke to my work email once a week.

Usage

$ ./dadjoke.rb --help
Usage: dadjoke.rb [options]
    -t, --to TO_ADDRESSES            Comma-seperated list of email addresses to send to
    -f, --from FROM_ADDRESS          'From' address. Default: noreply@localhost
    -s, --subject SUBJECT            Email subject. Default: Dad Joke from localhost
    -d, --dry-run                    Print joke to screen without emailing

About

A Ruby script to grab a dad joke from an API and email it

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages