Expand description
Palette command builders.
Every leaf parses its key=value args through parse_args. Eval-able
leaves build a nomiscript form string for
crate::app::App::submit_console_form; reports, account merge, account
balance and transaction list build values the caller resolves and runs.
Leaves that open modals or switch tabs take no args.
Structs§
- Report
Request - A
reports <kind>palette command: the typed args as form values.
Constants§
- BALANCE_
ACCOUNT - BALANCE_
ARGS - The args of
account balance, resolved like a form’s select values.
Functions§
- build_
account_ balance - The account label or id
account balancenames. - build_
account_ merge - The
account mergeargs as form values:fromandinto, each at most once. - build_
form - Attempt to build a nomiscript form for the leaf at
pathgivenargs. - build_
report_ request - Resolve a
reports <kind>palette command;Ok(None)for any other path. - build_
transaction_ filter - The
transaction listargs as filter values; the accepted keys are thetransaction-querydescriptor’s, paging ones aside. - parse_
args - The non-empty
key=valueargs, each key allowed and given once. An empty value means the key is not given. - report_
arg_ keys - The keys a report accepts as palette args: its single-value fields.
- report_
ready - Whether every field the report requires holds a value.