cmd-item-0.0.1.0: Library to compose and reuse command line fragments

Safe HaskellNone
LanguageHaskell2010

Data.CmdItem

Description

CmdItem is a tool to build command lines.

Synopsis

Documentation

render :: CmdItem -> IO Text Source

Renders a command line item to a Text string This will throw an error if anything goes wrong

renderMaybe :: CmdItem -> Maybe Text Source

Renders a command line item to a Maybe Text

renderEither :: CmdItem -> Either String Text Source

Renders a command line item to a Either String Text