Scripting and CLI applications
The libraries in this subsection are as follows:
- shelly: Shell programming in Haskell, similar to Turtle.
- turtle: Using Haskell as a shell and scripting language. Very beginner-friendly but perhaps lacking in some ways as a result. Nonetheless portable and exception-safe.
- cmdargs: Command-line parsers with a Template Haskell empowered interface. Provides compatibility with getopt parsers.
- haskeline: Bindings to readline with an easy-to-use interface for use in command-line programs.
- console-program: Defining CLI applications with multiple sub-commands, optional and positional arguments. Supports one-off and readline modes.
- shake: A build system written in Haskell. A replacement for the make system.
- propellor: Puppeting software for servers, using a Haskell EDSL for defining configurations.
Haskell is quite well suited for scripting and shell-programming. Both the Shelly
and
Turtle
libraries define APIs that wrap around shell functions. One of the features of Shelly...