e6e969d3e799d21bf2aca91ecca5954fb6f183da

Author
TheEdgeOfRage <git@theedgeofrage.com>
Committer
TheEdgeOfRage <git@theedgeofrage.com>
Date

Message

Add readme

Diff

 1diff --git a/README.md b/README.md
 2new file mode 100644
 3index 0000000000000000000000000000000000000000..f827688dcd2a63183994ec9c5975ff0e8c1e0376
 4--- /dev/null
 5+++ b/README.md
 6@@ -0,0 +1,23 @@
 7+# Pi Tree Pruning
 8+
 9+Pi extension that removes inactive branches from an on-disk session tree. It creates a backup before it changes the session. Use `/tree-prune undo` to restore a backup.
10+
11+## Install
12+
13+```sh
14+pi install git:git.theedgeofrage.com/TheEdgeOfRage/pi-tree-pruning
15+```
16+
17+## Use
18+
19+Run `/tree-prune` in Pi, choose inactive branches, and confirm the deletion.
20+
21+```
22+Prune inactive branches:
23+↑↓ move • space toggle • enter confirm (0 selected branches) • esc cancel
24+→ [ ] user: initial prompt… · 346 entries
25+  [ ] │  ├─ [delete] user: very big branch that we no longer need… · 177 entries
26+  [ ] │  ├─ [remember this] user: something very important… · 1 entry
27+  [ ] │  └─ user: first investigation… · 71 entries
28+  [ ] [delete] branch summary: old investigation… · 82 entries
29+```