Skip to main content

Pretty print plan.json for task tracking

Project description

pv - Plan Viewer

Pretty print and edit plan.json for task tracking.

Installation

# Global install with uv
uv tool install git+https://github.com/JacobCoffee/pv

# Or from local checkout
make install
# or: uv tool install . --force --reinstall --python 3.14

Usage

View Commands

pv                  # Full plan overview
pv c, current       # Completed summary + current phase + next task
pv n, next          # Show next pending/in-progress task
pv p, phase         # Current phase with all tasks + dependencies
pv g, get ID        # Show a specific task by ID
pv l, last          # Show recently completed tasks
pv v, validate      # Validate plan.json against schema
pv h, help          # Show help

Edit Commands

pv init "Project Name"                    # Create new plan.json
pv add-phase "Auth" --desc "User auth"    # Add a phase
pv add-task 1 "Create model" --agent X    # Add task to phase 1
pv start 1.1.1                            # Mark task in_progress
pv done 1.1.1                             # Mark task completed
pv set 1.1.1 status blocked               # Set any status
pv set 1.1.1 agent python-backend-engineer
pv rm task 1.1.1                          # Remove a task
pv rm phase 2                             # Remove a phase

Options

pv -f other.json current    # Use different file
pv current --json           # Output as JSON (all view commands)
pv --json current           # Same thing
pv last -n 10               # Show last 10 completed tasks
pv init "Name" --force      # Overwrite existing plan.json

Example

$ pv init "My App" Created plan.json for 'My App'

$ pv add-phase "Setup" --desc "Project setup" Added Phase 0: Setup

$ pv add-task 0 "Initialize repo" --agent github-git-expert
✅ Added [0.1.1] Initialize repo

$ pv done 0.1.1
✅ [0.1.1] status  completed

$ pv c
📋 My App v1.0.0
Progress: 100% (1/1 tasks) Phase 0: Setup (100%)

$ pv g 0.1.1 --json
{
  "id": "0.1.1",
  "title": "Initialize repo",
  "status": "completed",
  ...
}

Features

  • Auto-calculates progress percentages
  • Updates phase status based on task completion
  • Tracks started_at and completed_at timestamps
  • Validates against plan.json schema
  • JSON output for all view commands (--json)

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.0.0.tar.gz (14.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.0.0-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: plan_view-1.0.0.tar.gz
  • Upload date:
  • Size: 14.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.0.0.tar.gz
Algorithm Hash digest
SHA256 4e9138023de0c54e42275d04431c54fac1b2e4056d018d7beea524cf6f593983
MD5 fed05b3b7b5256eb77c97cef9766c438
BLAKE2b-256 9d9f341007bad2dcbeea4e23f60bdf2f27e67a904303de633a2e3a286fe55716

See more details on using hashes here.

Provenance

The following attestation bundles were made for plan_view-1.0.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.0.0-py3-none-any.whl.

File metadata

  • Download URL: plan_view-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 16.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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc8586d7d6e2f6263f3e6bc34b35764029d14e35c8001e853b7cbe31f5076f4b
MD5 b05b70839087035dd7a4a6cbb62046f7
BLAKE2b-256 2f8cedf75ddad28f078e30731b3532a1956c899df45a0e20655a2272c0cc5e3c

See more details on using hashes here.

Provenance

The following attestation bundles were made for plan_view-1.0.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