diff --git a/CLAUDE.md b/CLAUDE.md index 0d835ad..9fe7029 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -9,19 +9,19 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co ## Running ```bash -./pi-stat.py # Standard report -./pi-stat.py -p / --peers # Extended peer table -./pi-stat.py -g / --geo # With geolocation (implies -p) -./pi-stat.py -s / --show-ip # Show IP column (hidden by default) -./pi-stat.py -x / --extended # Show full RX/TX/RX-rate/TX-rate columns (default: ratio only) -./pi-stat.py -i [SEC] / --interactive [SEC] # Interactive auto-refresh (default: 10s) +./pi-stat # Standard report +./pi-stat -p / --peers # Extended peer table +./pi-stat -g / --geo # With geolocation (implies -p) +./pi-stat -s / --show-ip # Show IP column (hidden by default) +./pi-stat -x / --extended # Show full RX/TX/RX-rate/TX-rate columns (default: ratio only) +./pi-stat -i [SEC] / --interactive [SEC] # Interactive auto-refresh (default: 10s) ``` No build step. Requires `pip install docker` and a running Docker daemon. Runs on Linux, WSL2, and Windows. ## Architecture -Single self-contained script (`pi-stat.py`). Logic is split into helper functions and a `run_cycle()` function that collects data and renders one full screen, called either once (normal mode) or in a loop (interactive mode). +Single self-contained script (`pi-stat`). Logic is split into helper functions and a `run_cycle()` function that collects data and renders one full screen, called either once (normal mode) or in a loop (interactive mode). ### Data sources