hledger-ui
Safe HaskellNone
LanguageHaskell2010

Hledger.UI.UIOptions

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 DepthSpec #

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. An invalid --theme name will raise an error.