Documentation ¶
Overview ¶
Package gcmd provides console operations, like options/values reading and command running.
命令行管理.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Option = &gCmdOption{} // 终端参数-选项参数列表
View Source
var Value = &gCmdValue{} // 终端参数-命令参数列表
终端管理对象(全局)
Functions ¶
func BindHandle ¶
绑定命令行参数及对应的命令函数,注意命令函数参数是函数的内存地址 如果操作失败返回错误信息
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.