memory-cli-ops

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Memory CLI Operations

Memory CLI 操作

Execute and troubleshoot the memory-cli for the self-learning memory system.
执行并排查自学习记忆系统的memory-cli。

Quick Reference

快速参考

  • Commands - Full command reference
  • Troubleshooting - Debugging guide
  • Examples - Common workflows
  • 命令 - 完整命令参考
  • 故障排查 - 调试指南
  • 示例 - 常见工作流

When to Use

使用场景

  • Running CLI commands for episode/pattern management
  • Debugging CLI command failures
  • Understanding command syntax and options
  • Guiding users through CLI workflows
  • 运行用于片段/模式管理的CLI命令
  • 调试CLI命令执行失败问题
  • 理解命令语法和选项
  • 引导用户完成CLI工作流

CLI Overview

CLI 概述

Location:
./target/release/memory-cli
Output Formats: human (default), json, yaml
位置
./target/release/memory-cli
输出格式:human(默认)、json、yaml

Global Options

全局选项

bash
memory-cli [OPTIONS] <COMMAND>

Options:
  -c, --config <FILE>    Configuration file path
  -f, --format <FORMAT>  Output format (human|json|yaml)
  -v, --verbose          Enable verbose output
  --dry-run              Show what would be done
bash
memory-cli [OPTIONS] <COMMAND>

Options:
  -c, --config <FILE>    配置文件路径
  -f, --format <FORMAT>  输出格式(human|json|yaml)
  -v, --verbose          启用详细输出
  --dry-run              显示将要执行的操作

Commands Overview

命令概述

CommandAliasPurpose
episodeepEpisode management
patternpatPattern analysis
storagestStorage operations
configcfgConfiguration
healthhpHealth monitoring
backupbakBackup/restore
monitormonMetrics
See commands.md for detailed command documentation and examples.md for common workflows.
命令别名用途
episodeep片段管理
patternpat模式分析
storagest存储操作
configcfg配置
healthhp健康监控
backupbak备份/恢复
monitormon指标监控
查看**commands.md获取详细命令文档,查看examples.md**获取常见工作流。