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.1.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.1-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: plan_view-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 c77f1a705cfb8d6314b3b7fd94fd683cb43282a9b774904052985bb6fc6be632
MD5 bd7611fd3b4042c4889191c7a27fb162
BLAKE2b-256 c62c8da1e586e950ccbcc6655d0e798096b7a70c6e55db0976c05db3affda3cf

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: plan_view-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fb528497da3960494f4893c5d60a2a6fecadfd23437555f286e0c3ba0bd08a45
MD5 af4f3bcbf6d3dd437bef077d5db1cf6f
BLAKE2b-256 1ac165c3fe17408c0cae1a3daa183f1551e410057d88553b036962b51d63853b

See more details on using hashes here.

Provenance

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