pub enum ConclusionsCmd {
List(ListArgs),
Export(ExportArgs),
Import(ImportArgs),
Merge(MergeArgs),
}Variants§
List(ListArgs)
List ledger entries grouped by conclusion class.
Export(ExportArgs)
Write all ledger conclusions to compact JSONL files under
.asd/conclusions/ (one file per class). Byte-stable when no new
entries — safe to run from a pre-commit hook.
Import(ImportArgs)
Read .asd/conclusions/*.jsonl back into the local ledger.
Idempotent — entries are keyed by entry_id. Use after git pull
or on a fresh clone to populate ASG with the committed conclusions.
Merge(MergeArgs)
Git merge driver for .asd/conclusions/*.jsonl. Not called
directly — asd init registers it as merge=asdconclusions so
git invokes asd conclusions merge %O %A %B to union the records
of two branches instead of raising a textual conflict. Operates
purely on the three files; never opens the database.
Trait Implementations§
Source§impl Debug for ConclusionsCmd
impl Debug for ConclusionsCmd
Source§impl FromArgMatches for ConclusionsCmd
impl FromArgMatches for ConclusionsCmd
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>
Assign values from
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>
Assign values from
ArgMatches to self.Source§impl Subcommand for ConclusionsCmd
impl Subcommand for ConclusionsCmd
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
Append to
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
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for ConclusionsCmd
impl RefUnwindSafe for ConclusionsCmd
impl Send for ConclusionsCmd
impl Sync for ConclusionsCmd
impl Unpin for ConclusionsCmd
impl UnsafeUnpin for ConclusionsCmd
impl UnwindSafe for ConclusionsCmd
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
Mutably borrows from an owned value. Read more