Skip to main content

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 cli-anything-zentao

Quick Start

Login to ZenTao

cli-anything-zentao auth login --url http://zentao.example.com --account admin --password your_password

List Projects

cli-anything-zentao project list

Create a Task

cli-anything-zentao task create --execution 123 --name "Implement feature X" --assigned user1

JSON Output (for automation)

cli-anything-zentao project list --json

Interactive REPL Mode

cli-anything-zentao 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/cli-anything-zentao/session.json.

Examples

One-shot Commands

# Login
cli-anything-zentao auth login --url http://zentao.example.com --account admin

# List active projects
cli-anything-zentao project list --status doing

# Create and start a task
cli-anything-zentao task create --execution 1 --name "Write docs" --assigned user1
cli-anything-zentao task start 100

# Get bug details in JSON
cli-anything-zentao bug show 50 --json

REPL Mode

$ cli-anything-zentao 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.1.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cli_anything_zentao-0.2.0.tar.gz (39.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cli_anything_zentao-0.2.0-py3-none-any.whl (45.1 kB view details)

Uploaded Python 3

File details

Details for the file cli_anything_zentao-0.2.0.tar.gz.

File metadata

  • Download URL: cli_anything_zentao-0.2.0.tar.gz
  • Upload date:
  • Size: 39.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.4

File hashes

Hashes for cli_anything_zentao-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f9a2df6d83c47edd3fe02dfd9631df623d24ef6fc91f8b47b7e4f7a03123afa2
MD5 c6070c47241f746f95ff12a6d88d184e
BLAKE2b-256 69e7228d538d89da49fe5ab73d0926a4db3261899556fda91a870f5de1e8bb21

See more details on using hashes here.

File details

Details for the file cli_anything_zentao-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cli_anything_zentao-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 02d761150899631b34c1a54882562c3f5501dcbb4ff3a30d80638cec6cc68f3c
MD5 aa39f19f0b19076c1ef2f5b6abeb8548
BLAKE2b-256 a68ad4209792f9b1b9c96b1fc8e45f3546cf215a0251cbb39485b0aa05fbf39e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page