cmd

package
v0.0.0-...-a954c3e Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ClusterCfgFile string
View Source
var JSONOuput bool

hmm how can I avoid global variable

View Source
var RootCmd = &cobra.Command{
	Use:   "nodeletctl",
	Short: "nodeletctl is a cluster manager for nodelets",
	Long:  `nodeletctl is a cluster manager to deploy and configure nodelets on remote machines`,
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func GetConfigFile

func GetConfigFile() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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