package cli import "github.com/urfave/cli/v2" var ( commands = []*cli.Command{ { Name: "ls", Usage: "List installed versions", UsageText: "j ls", Action: list, }, /* { Name: "ls-all", Usage: "List All versions", UsageText: "j ls-all", Action: listAll, }, */ { Name: "ls-remote", Usage: "List Remote versions", UsageText: "j ls-remote", Action: listRemote, }, { Name: "install", Usage: "install versions", UsageText: "j install ", Action: install, }, { Name: "use", Usage: "Switch to specified version", UsageText: "j use ", Action: use, }, { Name: "uninstall", Usage: "Uninstall a version", UsageText: "j uninstall ", Action: uninstall, }, { Name: "clean", Usage: "Remove files from the package download directory", UsageText: "j clean", Action: clean, }, } )