Skip to content

greppable balance report mode showing full account names and tree structure #1550

Open
@simonmichael

Description

@simonmichael

Greg Risko (?) requested a balance report display mode that shows both the full account names, and a name on every line (like list mode) and also shows the tree structure with indentation (like tree mode). I think the wish is that the default balance command output is easy to understand and easy to process with unix tools like grep. The current tree-mode balance report can't be easily grepped because multicommodity balances are shown on multiple lines by default, with the account name only on one of those lines.

In my mind the balancesheet and incomestatement commands are intended to be the first and most-easily-understood reports run by new users, with balance being more of a power user command. Perhaps Greg avoids those because they're not so greppable either - multicommodity balances will be shown on one line, and probably elided.

So we should explore this. When would this mode be activated ? Must we add yet another flag ? What will it look like and how clear will it be in practice ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-WISHSome kind of improvement request or proposal.balancecliCommand line parsing, options, arguments and suchlike.needs-codeTo unblock: needs code/code updatesneeds-designTo unblock: needs more thought/planning, leading to a spec/planneeds-mockup/screenshotTo unblock: needs a rough mockup, eg in plain text, or a screenshot

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions