Documentation ¶
Overview ¶
Package cmd 命令行操作包。
AVMeta程序所有操作命令皆由此包定义,使用 cobra 第三方包编写。
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
Executor 命令对象
func NewExecutor ¶
NewExecutor 返回一个被初始化的命令对象。
version 字符串参数,传入当前程序版本, commit 字符串参数,传入最后提交的 git commit, built 字符串参数,传入程序编译时间。
Click to show internal directories.
Click to hide internal directories.