cli

package
v0.0.95 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	INSTALL_SCRIPT_URL = "https://raw.githubusercontent.com/tensorleap/leap-cli/master/install.sh"
)

Variables

View Source
var RootCommand = &cobra.Command{
	Use:   "cli",
	Short: "Manage leap cli",
	Long:  `Manage leap cli`,
	Run: func(cmd *cobra.Command, args []string) {
		if !showVersionInfo {
			_ = cmd.Help()
			return
		}

		fmt.Println(version.CliVersion)
	},
}

Functions

func NewUpgradeCliCmd

func NewUpgradeCliCmd() *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL