diff options
author | Teddy Wing | 2017-08-19 18:44:56 +0200 |
---|---|---|
committer | Teddy Wing | 2017-08-19 18:50:54 +0200 |
commit | 1884f2e54097bdce9a4a011065a89044c86a8ebf (patch) | |
tree | 5f378ce3e6ccc929837bc1e99c35cc88804fedb9 /src/Message.hs | |
parent | 54f23f1d77a3623d6e18c0a55b622d4cfab60406 (diff) | |
download | sorbot-1884f2e54097bdce9a4a011065a89044c86a8ebf.tar.bz2 |
Add command line option handling
Use 'optparse-applicative' to parse command line options.
Provide a `--slack-token` option that sets a Slack API token to enable
access to the chat platform.
More options will come as needed (including things like database name,
language, possibly IRC configuration).
Code is based on the example in
https://hackage.haskell.org/package/optparse-applicative
Pretty cool option parser.
Diffstat (limited to 'src/Message.hs')
0 files changed, 0 insertions, 0 deletions