BSD-3-Clause licensed and maintained by Henning Thielemann
This version can be pinned in stack with:shell-utility-0.1@sha256:9aec785694f832cb053e20c42f3a207788faeab8b724daac8bd26d8393178406,1301

Module documentation for 0.1

  • Shell
    • Shell.Utility
      • Shell.Utility.Exit
      • Shell.Utility.GetOpt
      • Shell.Utility.Log
      • Shell.Utility.ParseArgument
      • Shell.Utility.Quote
      • Shell.Utility.Verbosity

Utility functions for writing command-line programs including parsing of numbers with restrictions and enumerations for command-line arguments, verbosity controlled output, escaping shell arguments, exit with message.

The package has very light dependencies and is Haskell 98.

Changes

Change log for the shell-utility package

0.1

  • Log: Do not add trailing newlines. This is consistent with Cabal’s logging functions. It allows us to use initial newlines where appropriate.