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

24 lines
567 B
Go

package main
import "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])
}
*/
/* ghomeDir, _ := os.Getwd()
fmt.Println(ghomeDir)
downloadsDir := filepath.Join(ghomeDir, "downloads")
//versionsDir := filepath.Join(ghomeDir, "versions")
fmt.Println(check.PrintSha256(downloadsDir + "\\openjdk-19+36_windows-x64_bin.zip")) */
}