memory-cli-ops
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseMemory 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:
Output Formats: human (default), json, yaml
./target/release/memory-cli位置:
输出格式:human(默认)、json、yaml
./target/release/memory-cliGlobal 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 donebash
memory-cli [OPTIONS] <COMMAND>
Options:
-c, --config <FILE> 配置文件路径
-f, --format <FORMAT> 输出格式(human|json|yaml)
-v, --verbose 启用详细输出
--dry-run 显示将要执行的操作Commands Overview
命令概述
| Command | Alias | Purpose |
|---|---|---|
| episode | ep | Episode management |
| pattern | pat | Pattern analysis |
| storage | st | Storage operations |
| config | cfg | Configuration |
| health | hp | Health monitoring |
| backup | bak | Backup/restore |
| monitor | mon | Metrics |
See commands.md for detailed command documentation and examples.md for common workflows.
| 命令 | 别名 | 用途 |
|---|---|---|
| episode | ep | 片段管理 |
| pattern | pat | 模式分析 |
| storage | st | 存储操作 |
| config | cfg | 配置 |
| health | hp | 健康监控 |
| backup | bak | 备份/恢复 |
| monitor | mon | 指标监控 |
查看**commands.md获取详细命令文档,查看examples.md**获取常见工作流。