chore: init project
This commit is contained in:
33
main.go
Normal file
33
main.go
Normal file
@@ -0,0 +1,33 @@
|
||||
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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user