| Copyright | (c) Eric Mertens 2016 |
|---|---|
| License | ISC |
| Maintainer | emertens@gmail.com |
| Safe Haskell | None |
| Language | Haskell2010 |
Client.View.Help
Description
This module provides the rendering used for the /help command.
Synopsis
- helpImageLines :: ClientState -> Maybe Text -> Palette -> [Image']
Documentation
Arguments
| :: 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.