catalog-read
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChinesePurpose
用途
Read the catalog index: either the top-level or a specific module's detailed index.
topics.md读取目录索引:可以是顶层的或特定模块的详细索引。
topics.mdInput
输入
- :
target(default) or a module nametopics
- :
target(默认值)或模块名称topics
Required Flow
必要流程
bash
memory-hub catalog-read [topics|<module>]bash
memory-hub catalog-read [topics|<module>]Output
输出
JSON envelope with containing the file content.
data.content包含的JSON包,其中存储文件内容。
data.contentdata.contentError Handling
错误处理
- → requested catalog file does not exist
CATALOG_NOT_FOUND
- → 请求的目录文件不存在
CATALOG_NOT_FOUND