gotify / gotify/cli

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

Open
#69 3 comments 0 reactions 1 assignee Claimed by @eternal-flame-AD View on GitHub
a:feature
Dominant language
Go
Stars
588
Forks
73
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.