hledger-1.24: Command-line interface for the hledger accounting system
Safe HaskellNone
LanguageHaskell2010

Hledger.Cli.Version

Synopsis

Documentation

packageversion :: String Source #

This package's version, passed in as VERSION build variable, or a generic description.

progname :: String Source #

The name of this package's main executable.

versionStringFor :: Either String GitInfo -> String -> String Source #

Given a program name, make a version string consisting of:

  • the program name
  • the output of "git describe" in the current repo at build time (last tag, commit count since then, HEAD's git hash); or if that fails, buildversion
  • the platform (OS) name
  • the processor architecture name.