Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Check ¶ added in v2.7.0
func Check(cfg *Config, info CheckAndLoadInfo) (shouldContinue bool)
func CheckAndLoad ¶ added in v2.7.0
func CheckAndLoad(cfg *Config, info CheckAndLoadInfo) (shouldContinue bool)
func ShowDocumentIfNeeded ¶ added in v2.7.0
Types ¶
type CheckAndLoadInfo ¶ added in v2.7.0
type Config ¶ added in v2.7.0
type Config struct {
Document bool // 是否展示 document
Silence bool // 开启命令行的静默模式,只输出 Error 和 Warning
DebugEnable bool // 开启命令行的调试模式
DDebugEnable bool // go SDK client 和命令行开启调试模式
ConfigFilePath string // 配置文件路径,用户可以指定配置文件
Local bool // 是否使用当前文件夹作为工作区
StdoutColorful bool // 控制台输出是否多彩
JobPathBuilder func(cmdPath string) string // job 路径生成器
CmdCfg config.Config
}
Click to show internal directories.
Click to hide internal directories.