pickpen
Choose rows in the middle of a pipeline: filter, sort and mark them, and they go out on stdout.
That part is not wired in this demo.
What it does
- Reads what commands print
- Lines, CSV, JSON, and tables like ps aux or kubectl get.
- Typing filters
- Words, or a column: STATUS=Running, cpu>50, age<2h.
- You see what goes out
- The rows, and the command that sends them with nobody to ask.
Run it by its name
ps aux | pickpen --field PID | xargs killgit log --oneline | pickpen --preview 'git show --color {1}' --field 1 | xargs git cherry-pickpickpen --where 'level=error' --output json < app.jsonl > errors.json
- Over plain ssh
- Run it on the server. Nothing listens on a port.
- Your font and theme
- bateri draws it the way it draws its own text.
- In another terminal
- With --where alone it needs no terminal. Where it needs you, it sends nothing and exits with status 2.
The other pens
- textpen A code editor: the project’s files as a tree, tabs, search, and what git says of them. →
- toppen A system monitor in the way of top and btop: cards with graphs, and a table of processes. →
- dockerpen Docker in the pane: containers, logs, images, volumes, networks and disk. →
- sqlpen A SQL client for PostgreSQL and SQLite: tables, an editor that knows SQL, rows in a grid. →
Download bateri
Free and openly licensed. Open it and your zsh arrives as usual; bateri handles the rest.
Download for macOSOr with Homebrew: