gotify / gotify/cli

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

Abierto
#69 3 comentarios 0 reacciones 1 asignado Reclamado por @eternal-flame-AD Ver en GitHub
a:feature
Lenguaje dominante
Go
Estrellas
588
Forks
73
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.