gotify / gotify/cli

Feature: New option to push message every x lines(default 1)

Aperta
#69 3 commenti 0 reazioni 1 assegnatario Rivendicata da @eternal-flame-AD Vedi su GitHub
a:feature
Lingua principale
Go
Stelle
588
Fork
73
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I'm watching logs for some filesystems and want notified when there are new entries. I'm using:

```sh
`journalctl -kf | xargs -L 1 gotify p
```

That is working great! I'd like to make it integrated so as to not worry as much about buffering and to not need the `xargs` and be more portable for others.

Something like:
```sh
journalctl -kf | gotify p -L 1
```

And the option could be:
```
gotify push
--lines value, -L value Push a message every 'value' lines (default: 1)
```

Would this be a good idea?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.