<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--Rendered using the Haskell Html Library v0.2--> <HTML ><HEAD ><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" ><TITLE >Distribution.Simple.Command</TITLE ><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css" ><SCRIPT SRC="haddock-util.js" TYPE="text/javascript" ></SCRIPT ></HEAD ><BODY ><DIV CLASS="outer" ><DIV CLASS="mini-topbar" >Distribution.Simple.Command</DIV ><DIV CLASS="mini-synopsis" ><H1 >Command interface </H1 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Distribution-Simple-Command.html#t%3ACommandUI" TARGET="main" >CommandUI</A > flags</DIV > <DIV CLASS="decl" ><A HREF="Distribution-Simple-Command.html#v%3AcommandShowOptions" TARGET="main" >commandShowOptions</A ></DIV > <H2 >Constructing commands </H2 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Distribution-Simple-Command.html#t%3AShowOrParseArgs" TARGET="main" >ShowOrParseArgs</A > </DIV > <DIV CLASS="decl" ><A HREF="Distribution-Simple-Command.html#v%3AmakeCommand" TARGET="main" >makeCommand</A ></DIV > <H2 >Associating actions with commands </H2 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Distribution-Simple-Command.html#t%3ACommand" TARGET="main" >Command</A > action</DIV > <DIV CLASS="decl" ><A HREF="Distribution-Simple-Command.html#v%3AcommandAddAction" TARGET="main" >commandAddAction</A ></DIV > <DIV CLASS="decl" ><A HREF="Distribution-Simple-Command.html#v%3AnoExtraFlags" TARGET="main" >noExtraFlags</A ></DIV > <H2 >Running commands </H2 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Distribution-Simple-Command.html#t%3ACommandParse" TARGET="main" >CommandParse</A > flags</DIV > <DIV CLASS="decl" ><A HREF="Distribution-Simple-Command.html#v%3AcommandsRun" TARGET="main" >commandsRun</A ></DIV > <H1 >Option Fields </H1 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Distribution-Simple-Command.html#t%3AOptionField" TARGET="main" >OptionField</A > a</DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="Distribution-Simple-Command.html#t%3AName" TARGET="main" >Name</A > </DIV > <H2 >Constructing Option Fields </H2 > <DIV CLASS="decl" ><A HREF="Distribution-Simple-Command.html#v%3Aoption" TARGET="main" >option</A ></DIV > <DIV CLASS="decl" ><A HREF="Distribution-Simple-Command.html#v%3AmultiOption" TARGET="main" >multiOption</A ></DIV > <H2 >Liftings & Projections </H2 > <DIV CLASS="decl" ><A HREF="Distribution-Simple-Command.html#v%3AliftOption" TARGET="main" >liftOption</A ></DIV > <DIV CLASS="decl" ><A HREF="Distribution-Simple-Command.html#v%3AviewAsFieldDescr" TARGET="main" >viewAsFieldDescr</A ></DIV > <H1 >Option Descriptions </H1 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Distribution-Simple-Command.html#t%3AOptDescr" TARGET="main" >OptDescr</A > a</DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="Distribution-Simple-Command.html#t%3ADescription" TARGET="main" >Description</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="Distribution-Simple-Command.html#t%3ASFlags" TARGET="main" >SFlags</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="Distribution-Simple-Command.html#t%3ALFlags" TARGET="main" >LFlags</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="Distribution-Simple-Command.html#t%3AOptFlags" TARGET="main" >OptFlags</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="Distribution-Simple-Command.html#t%3AArgPlaceHolder" TARGET="main" >ArgPlaceHolder</A > </DIV > <H2 >OptDescr smart constructors </H2 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="Distribution-Simple-Command.html#t%3AMkOptDescr" TARGET="main" >MkOptDescr</A > get set a</DIV > <DIV CLASS="decl" ><A HREF="Distribution-Simple-Command.html#v%3AreqArg" TARGET="main" >reqArg</A ></DIV > <DIV CLASS="decl" ><A HREF="Distribution-Simple-Command.html#v%3AreqArg%27" TARGET="main" >reqArg'</A ></DIV > <DIV CLASS="decl" ><A HREF="Distribution-Simple-Command.html#v%3AoptArg" TARGET="main" >optArg</A ></DIV > <DIV CLASS="decl" ><A HREF="Distribution-Simple-Command.html#v%3AoptArg%27" TARGET="main" >optArg'</A ></DIV > <DIV CLASS="decl" ><A HREF="Distribution-Simple-Command.html#v%3AnoArg" TARGET="main" >noArg</A ></DIV > <DIV CLASS="decl" ><A HREF="Distribution-Simple-Command.html#v%3AboolOpt" TARGET="main" >boolOpt</A ></DIV > <DIV CLASS="decl" ><A HREF="Distribution-Simple-Command.html#v%3AboolOpt%27" TARGET="main" >boolOpt'</A ></DIV > <DIV CLASS="decl" ><A HREF="Distribution-Simple-Command.html#v%3AchoiceOpt" TARGET="main" >choiceOpt</A ></DIV > <DIV CLASS="decl" ><A HREF="Distribution-Simple-Command.html#v%3AchoiceOptFromEnum" TARGET="main" >choiceOptFromEnum</A ></DIV ></DIV ></DIV ></BODY ></HTML >