Skip to main content

parse_dispose_kind

Function parse_dispose_kind 

Source
pub fn parse_dispose_kind(s: &str) -> Result<DisposeKind, CliError>
Expand description

Parse a bulk-reclassify-outflow --kind argument. Accepts ONLY sell/spend; REJECTS gift and donate (and any other value) — the structural scope-lock [Q2]: GiftOut/Donate need a per-row donee and (for Donate) a qualified-appraisal FMV, so a uniform-across-many-rows bulk substitution of a market close price is semantically wrong. Those stay single-item (reclassify-outflow).