You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
j/main.go

23 lines
299 B
Go

package main
import (
"os"
"github.com/forget-the-bright/j/cli"
)
func main() {
/* dir, _ := os.Getwd()
fmt.Println(dir)
cli.List(dir)
if len(os.Args) > 1 {
fmt.Println(os.Args[1])
cli.Use(os.Args[1]) //"1.17.9"
} */
//cli.Run()
if len(os.Args) > 1 {
cli.Install(os.Args[1])
}
}