pub enum Commands {
Show 42 variants
Save {
title: String,
content: String,
project: Option<String>,
type: String,
importance: String,
tags: Vec<String>,
what: Option<String>,
why: Option<String>,
context: Option<String>,
learned: Option<String>,
scope: Option<String>,
topic_key: Option<String>,
},
Search {
query: String,
project: Option<String>,
type: Option<String>,
limit: u32,
json: bool,
},
Get {
id: String,
json: bool,
},
List {
project: Option<String>,
all: bool,
type: Option<String>,
limit: u32,
json: bool,
},
Delete {
id: String,
hard: bool,
},
Restore {
id: String,
},
Relate {
from_id: String,
to_id: String,
relation_type: String,
confidence: Option<f32>,
},
Context {
project: Option<String>,
limit: u32,
},
Stats {
project: Option<String>,
},
Projects,
Serve {
port: u16,
host: String,
},
Mcp,
Tui,
Setup {
agent: AgentSetup,
},
Export {
project: Option<String>,
output: Option<PathBuf>,
format: String,
},
Import {
file: PathBuf,
project: Option<String>,
},
Doctor {
project: Option<String>,
json: bool,
},
Reindex {
project: Option<String>,
force: bool,
json: bool,
},
Bench {
scenario: Option<String>,
json: bool,
},
Learn {
project: Option<String>,
json: bool,
},
Consolidate {
project: Option<String>,
strategy: String,
days: u64,
dry_run: bool,
json: bool,
},
Block {
project: Option<String>,
slot: Option<String>,
title: Option<String>,
content: Option<String>,
},
Completion {
shell: String,
},
DbExport {
output: Option<String>,
},
DbImport {
file: String,
},
SaveBatch {
file: PathBuf,
project: Option<String>,
},
DeleteRelation {
relation_id: String,
},
Audit {
project: Option<String>,
days_threshold: u32,
json: bool,
},
Deduplicate {
project: Option<String>,
threshold: f64,
},
Feedback {
memory_id: String,
is_useful: bool,
reason: Option<String>,
},
Deprecate {
memory_id: String,
reason: String,
supersedes_id: Option<String>,
},
Graph {
project: Option<String>,
json: bool,
},
Summarize {
project: Option<String>,
session_id: Option<String>,
},
InjectContext {
project: Option<String>,
file: Option<String>,
limit: u32,
},
ForgetProject {
project: Option<String>,
confirm: bool,
},
Health {
project: Option<String>,
json: bool,
},
Remind {
project: Option<String>,
importance: String,
},
TagSuggest {
project: Option<String>,
title: String,
content: Option<String>,
},
KnowledgeGaps {
project: Option<String>,
json: bool,
},
Sync {
command: SyncCommands,
},
Watch {
project: Option<String>,
dir: Option<PathBuf>,
interval: u64,
ext: String,
},
Keys {
cmd: KeysCommands,
},
}Expand description
Comandos disponibles.
Variants§
Save
Guarda una nueva memoria.
Fields
Tags separados por coma.
Search
Busca memorias.
Fields
Get
Obtiene una memoria por ID.
List
Lista memorias.
Fields
Delete
Elimina una memoria.
Restore
Restaura una memoria eliminada.
Relate
Crea una relación entre memorias.
Fields
Context
Obtiene contexto reciente.
Stats
Muestra estadísticas.
Projects
Lista proyectos.
Serve
Inicia servidor HTTP.
Mcp
Inicia servidor MCP.
Tui
Inicia TUI interactiva (lista, grafo, entidades, temporal, search).
Setup
Configura integración con agentes.
Fields
agent: AgentSetupAgente a configurar.
Export
Exporta memorias a JSON o Markdown.
Fields
Import
Importa memorias desde JSON.
Doctor
Ejecuta diagnósticos.
Reindex
Reindexa embeddings de un proyecto.
Fields
Bench
Ejecuta un benchmark de retrieval quality.
Fields
Learn
Minería de failures — analiza sesiones fallidas y genera memorias correctivas.
Consolidate
Consolidación: compacta memorias viejas/stale/deprecadas en resúmenes.
Fields
Block
Memory blocks (Letta-inspired): human, persona, workflow.
Fields
Completion
Genera scripts de autocompletado para la shell.
DbExport
Exporta la base de datos completa a un archivo.
DbImport
Importa una base de datos desde un archivo.
SaveBatch
Guarda un lote de memorias desde un archivo JSON.
DeleteRelation
Elimina una relación por ID.
Audit
Audita calidad de memorias.
Fields
Deduplicate
Busca duplicados semánticos.
Feedback
Registra feedback sobre una memoria.
Fields
Deprecate
Depreca una memoria.
Fields
Graph
Muestra el grafo de conocimiento.
Summarize
Genera resumen ejecutivo.
InjectContext
Inyecta contexto formateado.
Fields
ForgetProject
Elimina todas las memorias de un proyecto.
Health
Muestra salud del sistema.
Remind
Muestra recordatorios importantes.
TagSuggest
Sugiere tags.
Fields
KnowledgeGaps
Detecta brechas de conocimiento.
Sync
Comandos de sincronizacion.
Fields
command: SyncCommandsWatch
Monitorear directorio y auto-guardar memorias.
Fields
Keys
Gestionar claves de encriptación.
Fields
cmd: KeysCommandsTrait 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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