feat: Add flag to read from file/stdin (#405)

* from standard

* improve

* happy clippy

* explicit arg option

* fix problem
This commit is contained in:
n4n5
2024-06-28 00:51:47 +02:00
committed by GitHub
parent a06a001886
commit 394231683d
10 changed files with 68 additions and 5 deletions
+1
View File
@@ -92,6 +92,7 @@ Usage: dust -S (Custom Stack size - Use if you see: 'fatal runtime error: stack
Usage: dust --skip-total (No total row will be displayed)
Usage: dust -z 40000/30MB/20kib (Exclude output files/directories below size 40000 bytes / 30MB / 20KiB)
Usage: dust -j (Prints JSON representation of directories, try: dust -j | jq)
Usage: dust --files0-from=FILE (Reads null-terminated file paths from FILE); If FILE is - then read from stdin
```
## Config file