glirc-2.13: Console IRC client

Copyright(c) Eric Mertens, 2016
LicenseISC
Maintaineremertens@gmail.com
Safe HaskellNone
LanguageHaskell2010

Client.Image.Arguments

Description

This module provides image rendering for the textbox in the context of command argument processing.

Synopsis

Documentation

argumentsImage :: Palette -> ArgumentSpec a -> String -> Image Source #

Parse command arguments against a given ArgumentSpec. The given text will be rendered and then any missing arguments will be indicated by extra placeholder values appended onto the image. Parameters are rendered with plainText except for the case of RemainingArg which supports WYSIWYG.