hledger-ui-1.40: Terminal interface for the hledger accounting system
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hledger.UI.UIOptions

Description

 
Synopsis

Documentation

prognameandversion :: String Source #

Generate the version string for this program. The template haskell call is here rather than in Hledger.Cli.Version to avoid wasteful recompilation.

data UIOpts Source #

Instances

Instances details
Show UIOpts Source # 
Instance details

Defined in Hledger.UI.UIOptions

HasCliOpts UIOpts Source # 
Instance details

Defined in Hledger.UI.UIOptions

HasBalancingOpts UIOpts Source # 
Instance details

Defined in Hledger.UI.UIOptions

HasInputOpts UIOpts Source # 
Instance details

Defined in Hledger.UI.UIOptions

HasReportOpts UIOpts Source # 
Instance details

Defined in Hledger.UI.UIOptions

Methods

reportOpts :: ReportableLens' UIOpts ReportOpts #

period :: ReportableLens' UIOpts Period #

statuses :: ReportableLens' UIOpts [Status] #

depth :: ReportableLens' UIOpts (Maybe Int) #

date2 :: ReportableLens' UIOpts Bool #

real :: ReportableLens' UIOpts Bool #

querystring :: ReportableLens' UIOpts [Text] #

HasReportOptsNoUpdate UIOpts Source # 
Instance details

Defined in Hledger.UI.UIOptions

HasReportSpec UIOpts Source # 
Instance details

Defined in Hledger.UI.UIOptions

rawOptsToUIOpts :: RawOpts -> IO UIOpts Source #

Process a RawOpts into a UIOpts. This will return a usage error if provided an invalid theme.