pub enum DeleteSubcommand {
Transactions(DeleteTransactionsArgs),
Categories(DeleteCategoriesArgs),
Autocats(DeleteAutoCatsArgs),
}Expand description
Subcommands for tiller delete.
Variants§
Transactions(DeleteTransactionsArgs)
Deletes one or more transactions from the local SQLite database by their IDs. At least one transaction ID must be provided.
Changes are made locally only. Use sync up to upload local changes to the Google Sheet.
Warning: This operation cannot be undone locally. However, if you haven’t run sync up
yet, you can restore the transactions by running sync down to re-download from the sheet.
Categories(DeleteCategoriesArgs)
Deletes one or more categories from the local SQLite database by their names.
Due to ON DELETE RESTRICT foreign key constraints, a category cannot be deleted if any
transactions or AutoCat rules reference it. You must first update or delete those
references before deleting the category.
Changes are made locally only. Use sync up to upload local changes to the Google Sheet.
Warning: This operation cannot be undone locally. However, if you haven’t run sync up
yet, you can restore the categories by running sync down to re-download from the sheet.
Autocats(DeleteAutoCatsArgs)
Deletes one or more AutoCat rules from the local SQLite database by their IDs.
AutoCat rules have synthetic auto-increment IDs assigned when first synced down or inserted locally.
Changes are made locally only. Use sync up to upload local changes to the Google Sheet.
Warning: This operation cannot be undone locally. However, if you haven’t run sync up
yet, you can restore the rules by running sync down to re-download from the sheet.
Trait Implementations§
Source§impl Clone for DeleteSubcommand
impl Clone for DeleteSubcommand
Source§fn clone(&self) -> DeleteSubcommand
fn clone(&self) -> DeleteSubcommand
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DeleteSubcommand
impl Debug for DeleteSubcommand
Source§impl FromArgMatches for DeleteSubcommand
impl FromArgMatches for DeleteSubcommand
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 DeleteSubcommand
impl Subcommand for DeleteSubcommand
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 subcommandAuto Trait Implementations§
impl Freeze for DeleteSubcommand
impl RefUnwindSafe for DeleteSubcommand
impl Send for DeleteSubcommand
impl Sync for DeleteSubcommand
impl Unpin for DeleteSubcommand
impl UnwindSafe for DeleteSubcommand
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more