pub enum IncomeCmd {
Import {
year: i32,
file: PathBuf,
},
Show {
year: i32,
},
Clear {
year: i32,
},
Answer {
year: i32,
},
}Expand description
Full-return (v1) input subcommands (SPEC §4 / recon-04 §6). v1 ships the TOML bulk-import path +
a JSON show; incremental per-field subcommands (add-w2, …) are a follow-on.
Variants§
Import
Import full-return inputs from an offline TOML file into the vault for a tax year.
Fields
Show
Show the stored full-return inputs for a tax year (JSON, PII redacted), or nothing if none set.
Clear
Remove the stored full-return inputs for a tax year (fall back to a raw tax-profile).
Answer
Answer the return’s fail-loud questions interactively — the yes/no boxes that have no safe default (can someone claim you as a dependent? Schedule B’s foreign-account and foreign-trust lines) plus the optional dates of birth.
These questions REFUSE the return until they are answered: guessing “no” on your behalf would
understate your tax and print an unchecked box you never affirmed. This is the only way to answer
them without editing a TOML file. It never asks for a secret — SSNs and the IP PIN belong to
set-pii, which does not echo what you type.
Requires an existing return for the year (create one with income import).
Trait Implementations§
Source§impl FromArgMatches for IncomeCmd
impl FromArgMatches for IncomeCmd
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for IncomeCmd
impl Subcommand for IncomeCmd
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommand