This is a rewrite of the dispatch
command-line tool for sending parameterized emails, now written in Rust. The older Python version is still available tagged as v0.1.0. This version (v0.2.0) includes the following new features:
- Feature: A new
dispatch generate
command. Similar to the old--make
argument, thegenerate
command will create a new set of configuration files. New in v0.2.0, thegenerate
command adds prompts for common fields, the ability to specify custom filenames for each of the three configuration files, and warnings when possibly overwriting existing configuration files. - Feature: A
--dry-run
mode that allows viewing the content of all emails that will be sent without actually sending any emails. - Feature: A
--verbose
mode that prints the content of emails tostdout
when sending emails. - Feature: Configuration files can now specify either absolute or relative paths to data and body files. For convenience, the
dispatch send
command now only requires the single configuration file as an argument. - Feature: A new
content_type
parameter in the configuration file that allows sending emails as eitherhtml
ortext
content. - Enhancement: Ability to parameterize the
from
field. - Enhancement: Option to bypass warnings about missing parameters.
- Enhancement: Improved error messaging.
- Enhancement: Other performance improvements.
This is a breaking change: configuration files will need to be updated to follow the new specification in README
.