Copyright | (c) Eric Mertens 2016 |
---|---|
License | ISC |
Maintainer | emertens@gmail.com |
Safe Haskell | None |
Language | Haskell2010 |
This module provides the rendering used for the /help
command.
Synopsis
- helpImageLines :: ClientState -> Maybe Text -> Palette -> [Image']
Documentation
:: ClientState | client state |
-> Maybe Text | optional command name |
-> Palette | palette |
-> [Image'] | help lines |
Generate either the list of all commands and their arguments, or when given a command name generate the detailed help text for that command.