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-0.2.0.tar.gz (11.7 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-0.2.0-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for plan_view-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7f8156973f7caccea06deba15fa0223f93f0256b6c6648e62ea2e78ced494c4d
MD5 5d289a6f9b575b693b3e2a8818204d9e
BLAKE2b-256 16756752749b97586df75f0b3ee4262e27fba871c1dfd7a64bdb1ad0f6425cb0

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: plan_view-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 13.3 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-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 25e64b4bad8baf44f47776329c4d08714f70639062f7c44170acd8bca497b732
MD5 28c49fa878388e7dfec3089632f7aa47
BLAKE2b-256 09290f7bffeaed16ff60a9c1eaea459053fb58b65fcff2f51110c9db83605aeb

See more details on using hashes here.

Provenance

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