out package:hledger-lib

Get the string representation of an amount, without any @ cost.
showAmountWithoutCost = wbUnpack . showAmountB noCostFmt
Get the one-line string representation of a mixed amount, but without any @ costs. With a True argument, adds ANSI codes to show negative amounts in red. See showMixedAmountB for special cases.
Get the string representation of a mixed amount, without showing any costs. With a True argument, adds ANSI codes to show negative amounts in red. See showMixedAmountB for special cases.
Should ANSI color and styles be used for standard output ? Considers useColorOnHandle stdout and hasOutputFile.
Like useColorOnStdout, but using unsafePerformIO. Useful eg for low-level debug code. Sticky in GHCI until reloaded, may not always be affected by --color in a hledger config file, etc.
Timeout to be applied to individual tests.
String is the original representation of the timeout (such as "0.5m"), so that we can print it back. Integer is the number of microseconds.
A shortcut for creating Timeout values.