iqshell

package
v2.14.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: MIT Imports: 12 Imported by: 0

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

func ShowDocumentIfNeeded(cfg *Config) bool

Types

type CheckAndLoadInfo added in v2.7.0

type CheckAndLoadInfo struct {
	Checker           data.Checker
	BeforeLoadFileLog func()
	AfterLoadFileLog  func()
}

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
}

Jump to

Keyboard shortcuts

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