18 lines
282 B
Go
18 lines
282 B
Go
package main
|
|
|
|
import (
|
|
"context"
|
|
"log"
|
|
|
|
"github.com/charmbracelet/fang"
|
|
)
|
|
|
|
func main() {
|
|
ctx := context.Background()
|
|
|
|
if err := fang.Execute(ctx, rootCmd,
|
|
fang.WithColorSchemeFunc(fang.AnsiColorScheme)); err != nil {
|
|
log.Fatalf("Failed to execute command: %v\n", err)
|
|
}
|
|
}
|