comma
A ',' character
Lexeme parser comma parses the character ',' and skips any trailing white space. Returns the string ",".
Specifically, this library replaces System.Exit.ExitCode with an abstract data type.
Version 0.0.4
Lexeme parser commaSep p parses zero or more occurrences of p separated by comma. Returns a list of values returned by p.
Lexeme parser commaSep1 p parses one or more occurrences of p separated by comma. Returns a list of values returned by p.
the filename of an executable with a list of arguments
Runs a command using the shell.
Runs a command using the shell, and returns Handles that may be used to communicate with the process via its stdin, stdout, and stderr respectively. The Handles are initially in binary mode; if you need them to be in text mode then use hSetBinaryMode.
a command line to execute using the shell
Given a program p and arguments args, showCommandForUser p args returns a string suitable for pasting into sh (on POSIX OSs) or cmd.exe (on Windows).
This is a framework for creating commandline applications. It provides various features which give a polished feel to your application.
It is designed to encourage you to provide clear documentation and working examples. It implements default 'help' and 'man' commands for your application, which will layout help text and generate Unix-style man pages.
It provides special handling for applications of the form ''program command args'', the style of interaction common in revision control systems. It will dispatch to handler functions that you provide for each command, and also provide command-specific help to the user.
Version 0.5.4