Started working on tool to drain SQS queue

This commit is contained in:
Leon Mika 2022-02-18 01:44:12 +00:00 committed by GitHub
parent 6a17f5ba23
commit 4112cfc31f
3 changed files with 41 additions and 0 deletions

18
cmd/sqs-drain/main.go Normal file
View file

@ -0,0 +1,18 @@
package main
import (
"flag"
"github.com/lmika/gopkgs/cli"
)
func main() {
flagQueue := flag.String("q", "", "queue to drain")
flag.Parse()
if *flagQueue == "" {
cli.Fatalf("-q flag needs to be specified")
}
}