pub enum Commands {
Show 26 variants
Init(InitArgs),
Daemon(DaemonArgs),
Remember(RememberArgs),
Recall(RecallArgs),
Read(ReadArgs),
List(ListArgs),
Forget(ForgetArgs),
Purge(PurgeArgs),
Rename(RenameArgs),
Edit(EditArgs),
History(HistoryArgs),
Restore(RestoreArgs),
HybridSearch(HybridSearchArgs),
Health(HealthArgs),
Migrate(MigrateArgs),
NamespaceDetect(NamespaceDetectArgs),
Optimize(OptimizeArgs),
Stats(StatsArgs),
SyncSafeCopy(SyncSafeCopyArgs),
Vacuum(VacuumArgs),
Link(LinkArgs),
Unlink(UnlinkArgs),
Related(RelatedArgs),
Graph(GraphArgs),
CleanupOrphans(CleanupOrphansArgs),
DebugSchema(DebugSchemaArgs),
}Variants§
Init(InitArgs)
Initialize database and download embedding model
Daemon(DaemonArgs)
Run or control the persistent embedding daemon
Remember(RememberArgs)
Save a memory with optional entity graph
Recall(RecallArgs)
Search memories semantically
Read(ReadArgs)
Read a memory by exact name
List(ListArgs)
List memories with filters
Forget(ForgetArgs)
Soft-delete a memory
Purge(PurgeArgs)
Permanently delete soft-deleted memories
Rename(RenameArgs)
Rename a memory preserving history
Edit(EditArgs)
Edit a memory’s body or description
History(HistoryArgs)
List all versions of a memory
Restore(RestoreArgs)
Restore a memory to a previous version
HybridSearch(HybridSearchArgs)
Search using hybrid vector + full-text search
Health(HealthArgs)
Show database health
Migrate(MigrateArgs)
Apply pending schema migrations
NamespaceDetect(NamespaceDetectArgs)
Resolve namespace precedence for the current invocation
Optimize(OptimizeArgs)
Run PRAGMA optimize on the database
Stats(StatsArgs)
Show database statistics
SyncSafeCopy(SyncSafeCopyArgs)
Create a checkpointed copy safe for file sync
Vacuum(VacuumArgs)
Run VACUUM after checkpointing the WAL
Link(LinkArgs)
Create an explicit relationship between two entities
Unlink(UnlinkArgs)
Remove a specific relationship between two entities
Related(RelatedArgs)
List memories connected via the entity graph
Graph(GraphArgs)
Export a graph snapshot in json, dot or mermaid
CleanupOrphans(CleanupOrphansArgs)
Remove entities that have no memories and no relationships
DebugSchema(DebugSchemaArgs)
Implementations§
Source§impl Commands
impl Commands
Sourcepub fn is_embedding_heavy(&self) -> bool
pub fn is_embedding_heavy(&self) -> bool
Retorna true para subcomandos que carregam o modelo ONNX localmente.
pub fn uses_cli_slot(&self) -> bool
Trait Implementations§
Source§impl FromArgMatches for Commands
impl FromArgMatches for Commands
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 Commands
impl Subcommand for Commands
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 Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnsafeUnpin for Commands
impl UnwindSafe for Commands
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> 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