* Fix loglevel parsing

* Bump dependencies

* Change --filter to --target

* Update documentation

* Import log handler as "loghandler"

* Change command color to purple

* Change flag name to target

* Update formatting
This commit is contained in:
2021-07-30 22:51:20 +02:00
committed by GitHub
parent a8399397e8
commit 4a0574554a
8 changed files with 55 additions and 28 deletions

View File

@@ -5,11 +5,11 @@ import (
"speedrun/cmd"
"github.com/apex/log"
"github.com/apex/log/handlers/cli"
loghandler "github.com/apex/log/handlers/cli"
)
func main() {
h := cli.New(os.Stdout)
h := loghandler.New(os.Stdout)
h.Padding = 0
log.SetHandler(h)
cmd.Execute()