Safe Haskell | None |
---|---|
Language | Haskell2010 |
Process command-line arguments, mimicking sendmail:
sendmail [flags] [receipients] < message -f = envelop sender address -F = full name of sender -bm = read mail from stdin (default) -bp, -bs, various others = we ignore these
TODO: add some fancy validation of addresses.
- data AttCmdArgs = AttCmdArgs {}
- withCmdArgs :: (AttCmdArgs -> IO b) -> IO b
Documentation
data AttCmdArgs Source #
Data structure for command-line arguments.
AttCmdArgs | |
|
withCmdArgs :: (AttCmdArgs -> IO b) -> IO b Source #