CRITICAL — Before starting, you MUST first use the Read tool to read ../zentao-shared/SKILL.md, which contains authentication, environment variable configuration, error handling, and general options descriptions.
Commands
program list— List all programsprogram get— Get program detailsprogram create— Create a programprogram update— Modify a programprogram delete— Delete a program
Core Concepts
- Program: A top-level container in ZenTao used to manage multiple related projects.
- Relationship between Program and Project: A program can contain multiple projects (Project).
- Program status: doing / wait / closed
Program Status Values
| Status | Chinese | Description |
|---|---|---|
doing |
In progress | The program is in progress |
wait |
Waiting | The program is waiting to start |
closed |
Closed | The program has been closed |
Common Use Cases
1. View all programs
# 列出所有项目集
zentao-cli program list
2. View details of a specific program
# 获取项目集详情
zentao-cli program get 1
Examples
# 列出所有项目集
zentao-cli program list
# 获取项目集详情
zentao-cli program get 1
Output Fields
| Field | Type | Description |
|---|---|---|
| id | u64 | Program ID |
| name | string | Program name |
| code | string | Program code name |
| status | string | Program status: doing / wait / closed |
| type | string | Program type |
| desc | string | Program description |
| parent | u64 | Parent program ID |
Gotchas
-
Program vs Project: A program is a container for multiple projects, making it easier to manage related projects in a unified way.
-
Hierarchical relationship: Programs can have a hierarchical relationship, associated with a parent program through the
parentfield. -
Permission control: Only users who have been assigned program permissions can view or operate the resources under that program.