feat: v0.3.0, daemon and continue read

This commit is contained in:
2023-09-03 13:18:59 +08:00
parent 1151dc606f
commit e5962ca543
4 changed files with 97 additions and 32 deletions

View File

@@ -3,13 +3,22 @@
Rotate outputs from std in or assigned file
Usage:
```shell
command | rotate-puts
```
Use `mkfifo`:
```shell
mkfido test-fifo
rotate-puts --file test-fifo
command > test-fifo
```
Run as daemon:
```shell
rotate-put --file test-fifo --daemon [--continue-read]
```