Compare commits
No commits in common. "main" and "add-license-1" have entirely different histories.
main
...
add-licens
|
@ -1,19 +1,16 @@
|
|||
# tail2redis
|
||||
Tailing a file to Redis server (PubSub)
|
||||
Tailing a file to Redis server
|
||||
|
||||
## Example
|
||||
|
||||
```bash
|
||||
$ ./tail2redis -h
|
||||
NAME:
|
||||
tail2redis - Tailing a file to redis server (PubSub)
|
||||
tail2redis - Tailing a file to redis PubSub
|
||||
|
||||
USAGE:
|
||||
tail2redis [global options] command [command options] [arguments...]
|
||||
|
||||
AUTHOR:
|
||||
Namhyeon Go <abuse@catswords.net>
|
||||
|
||||
COMMANDS:
|
||||
help, h Shows a list of commands or help for one command
|
||||
|
||||
|
@ -25,7 +22,7 @@ GLOBAL OPTIONS:
|
|||
--channel value, -c value Redis PubSub channel (default: "tail2redis")
|
||||
--help, -h show help
|
||||
|
||||
$ ./tail2redis -H localhost -P 6379 -p [PASSWORD] -c [CHANNEL] -f /var/log/messages
|
||||
$ ./tail2redis -H localhost -P 6379 -p [PASSWORD] -c [CHANNEL] -f /var/log/message
|
||||
```
|
||||
|
||||
## Contact me
|
||||
|
|
9
main.go
9
main.go
|
@ -21,14 +21,7 @@ var ctx = context.Background()
|
|||
func main() {
|
||||
app := &cli.App{
|
||||
Name: "tail2redis",
|
||||
Usage: "Tailing a file to redis server (PubSub)",
|
||||
Compiled: time.Now(),
|
||||
Authors: []*cli.Author{
|
||||
&cli.Author{
|
||||
Name: "Namhyeon Go",
|
||||
Email: "abuse@catswords.net",
|
||||
},
|
||||
},
|
||||
Usage: "Tailing a file to redis PubSub",
|
||||
Flags: []cli.Flag{
|
||||
&cli.StringFlag{
|
||||
Name: "file",
|
||||
|
|
Loading…
Reference in New Issue
Block a user