penny-0.32.0.6: Extensible double-entry accounting system

Safe HaskellNone

Penny.Zinc

Description

Zinc - the Penny command-line interface

Synopsis

Documentation

data Defaults Source

Constructors

Defaults 

Fields

sensitive :: CaseSensitive
 
matcher :: Matcher
 
colorToFile :: ColorToFile
 
defaultScheme :: Maybe Scheme

If Nothing, no default scheme. If the user does not pick a scheme, no colors are used.

moreSchemes :: [Scheme]
 
sorter :: [(SortField, SortOrder)]

For example, to sort by date and then by payee if the dates are equal, use

 [(Date, Ascending), (Payee, Ascending)]
exprDesc :: ExprDesc
 
formatQty :: [LedgerItem] -> Amount Qty -> Text
 

newtype ColorToFile Source

Whether to use color when standard output is not a terminal.

Constructors

ColorToFile 

Fields

unColorToFile :: Bool
 

data Matcher Source

Constructors

Within 
Exact 
PCRE 

Instances

runZincSource

Arguments

:: Version

Version of the executable

-> Defaults 
-> Runtime 
-> [Report] 
-> IO ()