package main import ( "context" "log" "os" "github.com/urfave/cli/v3" ) func main (){ cmd := cli.Command{ Name: "wt", Commands: []*cli.Command{ { Name: "init", }, { Name: "clone", }, { Name: "list", }, { Name: "switch", }, }, } if err := cmd.Run(context.Background(), os.Args); err != nil { log.Fatal(err) } }