SuperAPI AI Directory

zentao-doc

Office & productivity

View repository

Updated 10-15 22:37

About this skill

doc (v0.3.0)

CRITICAL — Before starting, you MUST first use the Read tool to read ../zentao-shared/SKILL.md, which contains authentication, environment variable configuration, and error handling.

Commands

  • doc list — List document list
  • doc get — Get document details

Common Use Cases

List Documents

zentao-cli doc list

Get Document

zentao-cli doc get 1

Output Fields

Field Type Description
id u64 Document ID
title string Document title
product u64 Associated product ID
project u64 Associated project ID
lib u64 Document library ID
type string Document type (e.g. "doc", "article")
size string Document size (bytes)
added_by string Creator account
added_date string Creation date
edited_date string Last edited date
deleted string Deletion flag ("0"/"1")

Examples

# 列出所有文档
zentao-cli doc list

# 根据 ID 获取文档详情
zentao-cli doc get 10