Update main.go

This commit is contained in:
Namhyeon Go 2023-02-22 20:19:56 +09:00 committed by GitHub
parent 42425c82a1
commit d99886af43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,14 @@ var ctx = context.Background()
func main() { func main() {
app := &cli.App{ app := &cli.App{
Name: "tail2redis", Name: "tail2redis",
Usage: "Tailing a file to redis PubSub", Usage: "Tailing a file to redis server (PubSub)",
Compiled: time.Now(),
Authors: []*cli.Author{
&cli.Author{
Name: "Namhyeon Go",
Email: "abuse@catswords.net",
},
},
Flags: []cli.Flag{ Flags: []cli.Flag{
&cli.StringFlag{ &cli.StringFlag{
Name: "file", Name: "file",