Skip to main content

Module parse

Module parse 

Source
Expand description

Pure arg -> draft parsers. No I/O, no clap types: trivially testable.

Functions§

build_draft
Builds the final draft. base comes from –draft (file or stdin); flag values override its fields. Without –draft, –book and –idem are required and postings come from –debit/–credit.
parse_posting
--debit treasury:btc:USD:1000 — parsed from the RIGHT so account paths may contain ‘:’. Format: ::.
parse_rfc3339