Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "cloud-station-cli", Short: "cloud-station-cli 文件中转服务", Long: `cloud-station-cli ...`, RunE: func(cmd *cobra.Command, args []string) error { if vers { fmt.Println(version.FullVersion()) return nil } return errors.New("no flags find") }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func LoadFromEnv ¶
func LoadFromEnv()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.