summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-09-14 13:26:51 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-09-14 13:26:51 +0200
commit07c24054cab965800983ef40f53a05c2db131ede (patch)
tree741db561d614b35f8f94fee04fb5ce663a629a0b /README.md
parent70dccf8d573028aaed64185acb8e134e5339afa3 (diff)
downloadkrino-07c24054cab965800983ef40f53a05c2db131ede.tar.gz
krino-07c24054cab965800983ef40f53a05c2db131ede.zip
krino: 0.0.3 — the plan as one block per file, wrapped, and -Pv0.0.3
Each file shows its steps, then the rule and the reason it matched, one field per line; on a terminal every line wraps to its width with continuation lines under their own column, and piped output is never wrapped. Choosing per file shows the same block. -P / --no-pager prints the plan without the pager. A duplicate's original is shown with ~.
Diffstat (limited to 'README.md')
-rw-r--r--README.md22
1 files changed, 17 insertions, 5 deletions
diff --git a/README.md b/README.md
index 34d3a78..77733f5 100644
--- a/README.md
+++ b/README.md
@@ -101,12 +101,18 @@ $ krino -n demo
krino: demo /tmp/krino-demo
6 scanned · 1 to act on · 0 warnings · 0.00s
- # file actions rule
- 1 acme-invoice.pdf move → Filed/Acme/ acme name "acme"
+ 1 acme-invoice.pdf
+ move → Filed/Acme/
+ rule acme
+ because name "acme"
not acted on: 5 unmatched (-v lists them)
```
+On a terminal each block is wrapped to its width. A plan taller than the
+terminal opens in your pager; `-P` prints it straight out instead, and
+`krino -n > plan.txt` saves it as plain text, one field per line.
+
Without `-n` or `-y`, `krino demo` shows the same plan and then asks, one
key at a time, no Enter needed:
@@ -114,9 +120,13 @@ key at a time, no Enter needed:
[a] apply all [c] choose per file [s] skip this directory [q] quit
```
-`c` asks about each file in turn:
+`c` asks about each file in turn, showing the same block as the plan above:
```
+[1/1] acme-invoice.pdf
+ move → Filed/Acme/
+ rule acme
+ because name "acme"
[y] yes [n] no [a] yes to this and all remaining [d] done, apply chosen so far [q] quit, apply nothing
```
@@ -130,8 +140,10 @@ $ krino -y demo
krino: demo /tmp/krino-demo
6 scanned · 1 to act on · 0 warnings · 0.00s
- # file actions rule
- 1 acme-invoice.pdf move → Filed/Acme/ acme name "acme"
+ 1 acme-invoice.pdf
+ move → Filed/Acme/
+ rule acme
+ because name "acme"
not acted on: 5 unmatched (-v lists them)
1 applied · 0 failed · 0 declined