hledger-0.15.1: The main command-line interface for the hledger accounting tool.

Hledger.Cli.Version

Synopsis

Documentation

progversionstr :: String -> StringSource

Given a program name, return a human-readable version string. For development builds, at least non-cabal builds, the patch level (ie the number of patches applied since last release tag) will also be included.

binaryfilename :: String -> StringSource

Given a program name, return a precise platform-specific executable name suitable for naming downloadable binaries. Can raise an error if the version and patch level was not defined correctly at build time.