aboutsummaryrefslogtreecommitdiffstats
path: root/src/Plugin/Help.hs
diff options
context:
space:
mode:
authorTeddy Wing2017-08-19 18:44:56 +0200
committerTeddy Wing2017-08-19 18:50:54 +0200
commit1884f2e54097bdce9a4a011065a89044c86a8ebf (patch)
tree5f378ce3e6ccc929837bc1e99c35cc88804fedb9 /src/Plugin/Help.hs
parent54f23f1d77a3623d6e18c0a55b622d4cfab60406 (diff)
downloadsorbot-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/Plugin/Help.hs')
0 files changed, 0 insertions, 0 deletions