Expand description
The clap-4 command surface for btctax, extracted into the library so tooling
(the xtask man-page generator) can obtain the Command via Cli::command()
(clap::CommandFactory). The binary (main.rs) is a thin dispatch over these types.
FILE-FORMAT DOCS — SINGLE SOURCE OF TRUTH: the long-help (/// doc-comments with
#[arg(verbatim_doc_comment)]) on the file/format-taking args below is rendered BOTH
into --help (clap) AND into the per-subcommand man page (clap_mangen), zero drift.
Formats were read from the writers, never from stale comments: export CSVs from
render.rs, the classify-raw serde shape from btctax-core::EventPayload, the key
armor from btctax-store::Vault::backup_key, the selections header from
cmd::reconcile::import_selections, the lot pick from eventref::parse_lot_pick.
Structs§
Enums§
- Command
- FeeArg
- Filing
Status Arg - FormArg
- One official form in the
export-irs-pdfpacket (the--formsopt-in filter). - Method
Arg - Method
LotArg - Optimize
optimizesubcommand tree. Task 9 addsRun; Task 10 addsAccept; Task 11 addsConsult.- OutKind
Arg - Pseudo
reconcile pseudo <action>— the pseudo-reconcile mode sub-verbs (sub-project 2).- Pseudo
Kind Arg - The pseudo-default TYPE filter for
reconcile pseudo approve --kind. - Reconcile
- Self
Transfer Action Arg - WhatIf
what-ifsubcommand tree (task #43). READ-ONLY hypothetical-transaction tax planning: NOTHING is filed, appended, or persisted. Mirrors theoptimize consultshape, plus an ad-hocTaxProfile(so you can plan withouttax-profile set).