Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Log LoggingConfig `json:"log" yaml:"log" jsonschema_description:"logging options"`
Lint LintConfig `json:"lint" yaml:"lint" jsonschema_description:"options for commands that lint"`
Ignore []string `` /* 137-byte string literal not displayed */
}
Config are all the things for crie cli
func (*Config) NewProjectConfigFile ¶
NewProjectConfigFile Creates the project file locally
type LintConfig ¶
type LintConfig struct {
Continue bool `json:"continue" yaml:"continue"`
Passes bool `json:"passes" yaml:"passes"`
GitTarget string `json:"gitTarget" yaml:"gitTarget"`
GitDiff bool `json:"gitDiff" yaml:"gitDiff"`
Lang string `json:"lang" yaml:"lang"`
StrictLogging bool `json:"-" yaml:"-"`
}
LintConfig is a grouping of settings that affect crie directly
type LoggingConfig ¶
type LoggingConfig struct {
Quiet bool `json:"quiet" yaml:"quiet" jsonschema_description:"disable all output except for errors"`
Verbose bool `json:"verbose" yaml:"verbose" jsonschema_description:"enable debug logging"`
Trace bool `json:"trace" yaml:"trace" jsonschema_description:"(hidden opt) enable all logging (very very verbose)"`
JSON bool `json:"json" yaml:"json" jsonschema_description:"change format to json structured logging"`
}
LoggingConfig is a grouping of log settings
Click to show internal directories.
Click to hide internal directories.