Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Activate = &cli.Command{ Name: "activate", Hidden: true, Action: activateCmd, }
View Source
var Add = &cli.Command{ Name: "add", Usage: "add a plugin of sdk", Flags: []cli.Flag{ &cli.StringFlag{ Name: "source", Aliases: []string{"s"}, Usage: "plugin source", }, &cli.StringFlag{ Name: "alias", Usage: "plugin alias", }, }, Action: addCmd, }
View Source
var Available = &cli.Command{
Name: "available",
Usage: "show available plugins",
Action: availableCmd,
}
View Source
var Current = &cli.Command{ Name: "current", Aliases: []string{"c"}, Usage: "show current version of the targeted sdk", UsageText: "show current version of all SDK's if no parameters are passed", Action: currentCmd, }
View Source
var Env = &cli.Command{ Name: "env", Hidden: true, Flags: []cli.Flag{ &cli.StringFlag{ Name: "shell", Aliases: []string{"s"}, Usage: "shell", }, &cli.BoolFlag{ Name: "cleanup", Aliases: []string{"c"}, Usage: "cleanup temp file", }, &cli.BoolFlag{ Name: "json", Aliases: []string{"j"}, Usage: "get envs as json", }, }, Action: envCmd, }
View Source
var Info = &cli.Command{
Name: "info",
Usage: "show sdk info",
Action: infoCmd,
}
View Source
var Install = &cli.Command{ Name: "install", Aliases: []string{"i"}, Usage: "install a version of sdk", Action: installCmd, }
View Source
var List = &cli.Command{ Name: "list", Aliases: []string{"ls"}, Usage: "list all versions of the target sdk", Action: listCmd, }
View Source
var Remove = &cli.Command{
Name: "remove",
Usage: "remove a plugin of sdk",
Action: removeCmd,
}
View Source
var Search = &cli.Command{
Name: "search",
Usage: "search a version of sdk",
Action: searchCmd,
}
View Source
var Uninstall = &cli.Command{ Name: "uninstall", Aliases: []string{"un"}, Usage: "uninstall a version of sdk", Action: uninstallCmd, }
View Source
var Update = &cli.Command{
Name: "update",
Usage: "update specified plug-ins",
Action: updateCmd,
}
View Source
var Use = &cli.Command{ Name: "use", Aliases: []string{"u"}, Usage: "use a version of sdk", Flags: []cli.Flag{ &cli.BoolFlag{ Name: "global", Aliases: []string{"g"}, Usage: "used with the global environment", }, &cli.BoolFlag{ Name: "project", Aliases: []string{"p"}, Usage: "used with the current directory", }, &cli.BoolFlag{ Name: "session", Aliases: []string{"s"}, Usage: "used with the current shell session", }, }, Action: useCmd, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.