refactor for better maintainability and readabilty
This commit is contained in:
@@ -2,7 +2,6 @@ package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"log"
|
||||
|
||||
"github.com/charmbracelet/fang"
|
||||
)
|
||||
@@ -12,6 +11,6 @@ func main() {
|
||||
|
||||
if err := fang.Execute(ctx, rootCmd,
|
||||
fang.WithColorSchemeFunc(fang.AnsiColorScheme)); err != nil {
|
||||
log.Fatalf("Failed to execute command: %v\n", err)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user