command

package
v1.0.2-rc2 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmdRun = &cobra.Command{
	Use:   "command",
	Short: "启动 clickvisual 命令行",
	Long:  `启动 clickvisual 命令行`,
	Run:   CmdFunc,
	PreRun: func(cmd *cobra.Command, args []string) {
		log.Println("PreRun args: ", args)
		config.PreRun(cmd, args)
	},
}

Functions

func CmdFunc

func CmdFunc(cmd *cobra.Command, args []string)

CmdFunc 实验性方法 2023-11-08

Types

This section is empty.

Jump to

Keyboard shortcuts

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