A modern CLI interface for ZenTao Project Management System
Project description
ZenTao PMS CLI
A modern CLI interface for ZenTao Project Management System with support for one-shot commands, REPL mode, and JSON output.
Installation
pip install zentao-cli
Quick Start
Login to ZenTao
zentao-cli auth login --url http://zentao.example.com --account admin --password your_password
List Projects
zentao-cli project list
Create a Task
zentao-cli task create --execution 123 --name "Implement feature X" --assigned user1
JSON Output (for automation)
zentao-cli project list --json
Interactive REPL Mode
zentao-cli repl
Commands
Authentication
| Command | Description |
|---|---|
auth login |
Login to ZenTao server |
auth logout |
Logout from ZenTao |
auth status |
Show authentication status |
Projects
| Command | Description |
|---|---|
project list |
List all projects |
project show <id> |
Show project details |
project create |
Create a new project |
project update <id> |
Update a project |
project delete <id> |
Delete a project |
Tasks
| Command | Description |
|---|---|
task list |
List tasks |
task show <id> |
Show task details |
task create |
Create a new task |
task assign <id> |
Assign task to user |
task start <id> |
Start a task |
task finish <id> |
Finish a task |
task close <id> |
Close a task |
Bugs
| Command | Description |
|---|---|
bug list |
List bugs |
bug show <id> |
Show bug details |
bug create |
Create a new bug |
bug resolve <id> |
Resolve a bug |
bug close <id> |
Close a bug |
Stories
| Command | Description |
|---|---|
story list |
List stories |
story show <id> |
Show story details |
story create |
Create a new story |
story close <id> |
Close a story |
Products
| Command | Description |
|---|---|
product list |
List products |
product show <id> |
Show product details |
Executions
| Command | Description |
|---|---|
execution list |
List executions/sprints |
execution show <id> |
Show execution details |
Users
| Command | Description |
|---|---|
user list |
List users |
user me |
Show current user info |
Options
| Option | Description |
|---|---|
--json |
Output in JSON format |
--version |
Show version |
--help |
Show help |
Configuration
Session data is stored in ~/.config/zentao-cli/session.json.
Examples
One-shot Commands
# Login
zentao-cli auth login --url http://zentao.example.com --account admin
# List active projects
zentao-cli project list --status doing
# Create and start a task
zentao-cli task create --execution 1 --name "Write docs" --assigned user1
zentao-cli task start 100
# Get bug details in JSON
zentao-cli bug show 50 --json
REPL Mode
$ zentao-cli repl
zentao> auth login http://zentao.example.com admin password
zentao> project list
zentao> task create --execution 123 --name "Fix bug" --assigned user1
zentao> exit
API Reference
The CLI interacts with ZenTao's REST API v1. Key endpoints:
/tokens- Authentication/projects- Projects CRUD/executions- Executions/sprints/tasks- Tasks CRUD and status changes/bugs- Bugs CRUD and lifecycle/stories- Stories/requirements/products- Products/users- Users
License
This CLI harness is provided as-is for interfacing with ZenTao PMS.
Version
Current version: 0.3.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cli_anything_zentao-0.3.0.tar.gz.
File metadata
- Download URL: cli_anything_zentao-0.3.0.tar.gz
- Upload date:
- Size: 39.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
808091949104bd1ced1c243e82ce7ec2a981c4e96104eb37c06bfa52a8c3a5da
|
|
| MD5 |
533a77776de34a6ff5dfe5c389e3c715
|
|
| BLAKE2b-256 |
7df735a6c5cc2f8b3302fa6e89c865f2ce1998cca940dd7748aacb84984d34b6
|
File details
Details for the file cli_anything_zentao-0.3.0-py3-none-any.whl.
File metadata
- Download URL: cli_anything_zentao-0.3.0-py3-none-any.whl
- Upload date:
- Size: 45.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ec0ba2099b28941a1f916da813c30d2b56508d93d10e4c75a6b27a89a357484
|
|
| MD5 |
7da07cdbcfa07e459a59bbdf12925e85
|
|
| BLAKE2b-256 |
2213bda73ecb545beacf5024d14b098ef729327d8795b8b6089548de621749ba
|