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/cli/commands.go

21 lines
326 B
Go

package cli
import "github.com/urfave/cli/v2"
var (
commands = []*cli.Command{
{
Name: "ls",
Usage: "List installed versions",
UsageText: "j ls",
Action: list,
},
{
Name: "use",
Usage: "Switch to specified version",
UsageText: "j use <version>",
Action: use,
},
}
)