Documentation ¶
Index ¶
- func Check(cfg *Config, info CheckAndLoadInfo) (shouldContinue bool)
- func CheckAndLoad(cfg *Config, info CheckAndLoadInfo) (shouldContinue bool)
- func Load(cfg *Config, info CheckAndLoadInfo) (shouldContinue bool)
- func LoadBase(cfg *Config) (shouldContinue bool)
- func LoadFileLog(cfg *Config) (shouldContinue bool)
- func LoadWorkspace(cfg *Config) (shouldContinue bool)
- func ShowDocumentIfNeeded(cfg *Config) bool
- type CheckAndLoadInfo
- type Config
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 Load ¶ added in v2.7.0
func Load(cfg *Config, info CheckAndLoadInfo) (shouldContinue bool)
func LoadFileLog ¶ added in v2.7.0
func LoadWorkspace ¶ added in v2.7.0
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 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.