pub enum Commands {
Show 38 variants
Init(InitArgs),
Daemon(DaemonArgs),
Remember(RememberArgs),
Ingest(IngestArgs),
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),
Backup(BackupArgs),
Vacuum(VacuumArgs),
Link(LinkArgs),
Unlink(UnlinkArgs),
Related(RelatedArgs),
Graph(GraphArgs),
Export(ExportArgs),
Fts(FtsArgs),
PruneRelations(PruneRelationsArgs),
PruneNer(PruneNerArgs),
CleanupOrphans(CleanupOrphansArgs),
MemoryEntities(MemoryEntitiesArgs),
Cache(CacheArgs),
DeleteEntity(DeleteEntityArgs),
Reclassify(ReclassifyArgs),
RenameEntity(RenameEntityArgs),
MergeEntities(MergeEntitiesArgs),
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
Ingest(IngestArgs)
Bulk-ingest every file under a directory as separate memories (NDJSON output)
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
Backup(BackupArgs)
Back up the database using the SQLite Online Backup API
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
Export(ExportArgs)
Export memories as NDJSON (one JSON line per memory, plus a summary line)
Fts(FtsArgs)
FTS5 full-text search index management (rebuild or check)
PruneRelations(PruneRelationsArgs)
Bulk-delete all relationships of a given type (e.g. mentions)
PruneNer(PruneNerArgs)
Remove NER bindings (memory_entities rows) for an entity or all entities
CleanupOrphans(CleanupOrphansArgs)
Remove entities that have no memories and no relationships
MemoryEntities(MemoryEntitiesArgs)
List entities linked to a specific memory
Cache(CacheArgs)
Manage cached resources (embedding models, etc.)
DeleteEntity(DeleteEntityArgs)
Delete an entity and all its relationships from the graph
Reclassify(ReclassifyArgs)
Reclassify one entity or a batch of entities to a new type
RenameEntity(RenameEntityArgs)
Rename an entity preserving all relationships and memory bindings
MergeEntities(MergeEntitiesArgs)
Merge multiple source entities into a single target entity
DebugSchema(DebugSchemaArgs)
Implementations§
Source§impl Commands
impl Commands
Sourcepub fn is_embedding_heavy(&self) -> bool
pub fn is_embedding_heavy(&self) -> bool
Returns true for subcommands that load the ONNX model locally.
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