From 8aeea81afa7a50af0c188a7aeb6c9697ce096ef7 Mon Sep 17 00:00:00 2001 From: Elara Musayelyan Date: Mon, 19 Dec 2022 19:28:33 -0800 Subject: [PATCH] Rename NewCLILogger to NewCLI --- cli.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli.go b/cli.go index 50bf2eb..e8e3286 100644 --- a/cli.go +++ b/cli.go @@ -33,7 +33,7 @@ type CLILogger struct { PanicColor color.Color } -func NewCLILogger(out io.Writer) *CLILogger { +func NewCLI(out io.Writer) *CLILogger { useColor := false if f, ok := out.(*os.File); ok { useColor = isatty.IsTerminal(f.Fd())