Skip to main content

Pretty print plan.json for task tracking

Project description

pv

A command-line tool for viewing and editing plan.json task tracking files.

Installation

uv tool install plan-view

Quick Start

# Create a new plan
pv init "My Project"

# Add phases and tasks
pv add-phase "Setup" --desc "Initial configuration"
pv add-task 0 "Initialize repository" --agent github-git-expert

# Track progress
pv start 0.1.1
pv done 0.1.1

# View status
pv current

Commands

View

Command Description
pv Full plan overview
pv current Current phase and next task
pv next Next actionable task
pv phase Current phase details
pv get <id> Show task or phase by ID
pv last Recently completed tasks
pv future Upcoming tasks (actionable first)
pv summary Progress summary
pv bugs Show bugs phase
pv deferred Show deferred phase
pv ideas Show ideas phase
pv validate Validate against schema

Edit

Command Description
pv init <name> Create new plan.json
pv add-phase <name> Add a phase
pv add-task <phase> <title> Add a task
pv done <id> Mark completed
pv start <id> Mark in progress
pv block <id> Mark blocked
pv skip <id> Mark skipped
pv defer <id> [-r reason] Move to deferred (with optional reason)
pv bug <id> Move to bugs
pv idea <id> Move to ideas
pv set <id> <field> <value> Set task field
pv rm task <id> Remove task
pv rm phase <id> Remove phase
pv compact Archive completed tasks to backup

Options

Option Description
-f, --file Specify plan file path
--json JSON output (view commands)
-q, --quiet Suppress output (edit commands)
-d, --dry-run Preview changes without saving

Example Output

$ pv -f examples/simple.json current

API Backend v1.0.0
Progress: 40% (2/5 tasks)

Phase 0: Setup (100%)
Phase 1: Core Features (0%)
   Create user authentication
   Build REST API endpoints

Next: [1.1.1] Create user authentication

JSON Output

All view commands support --json for programmatic access:

$ pv next --json
{
  "id": "1.1.1",
  "title": "Create user authentication",
  "status": "in_progress",
  "phase_id": "1",
  "phase_name": "Core Features",
  "agent_type": "python-backend-engineer",
  "depends_on": ["0.1.2"]
}

Features

  • Automatic progress calculation
  • Dependency-aware task ordering
  • Partial task ID matching (pv done 1 matches 1.1.1 if unique)
  • Schema validation
  • NO_COLOR/FORCE_COLOR environment variable support
  • Dry-run mode for previewing changes

Documentation

See the full documentation for detailed usage.

License

MIT

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

plan_view-1.5.0.tar.gz (38.5 kB view details)

Uploaded Source

Built Distribution

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

plan_view-1.5.0-py3-none-any.whl (41.4 kB view details)

Uploaded Python 3

File details

Details for the file plan_view-1.5.0.tar.gz.

File metadata

  • Download URL: plan_view-1.5.0.tar.gz
  • Upload date:
  • Size: 38.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for plan_view-1.5.0.tar.gz
Algorithm Hash digest
SHA256 dd2c479d92a7a969f4b1ea1747420bc985886a14f4c5f8e77c922635b0ee3592
MD5 d6c15ab5dae400b1fc9bd800b60a8f1f
BLAKE2b-256 beb7f95b74eb259926a7835fe6fd0a85ee46fd058ac8d69a322f216b680d24fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for plan_view-1.5.0.tar.gz:

Publisher: publish.yml on JacobCoffee/pv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file plan_view-1.5.0-py3-none-any.whl.

File metadata

  • Download URL: plan_view-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 41.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for plan_view-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dbbf864602afd47e1edc6a61798146c8fdb5365abea6725780691abe0e3c7be7
MD5 c41d846f2b47cc3ce3c9812d2be54a3e
BLAKE2b-256 62bb9a4bb658b8325834341141729f581b22629b58d2c4f5caee688718ba2d53

See more details on using hashes here.

Provenance

The following attestation bundles were made for plan_view-1.5.0-py3-none-any.whl:

Publisher: publish.yml on JacobCoffee/pv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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