Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Log LoggingConfig `json:"log,omitzero" yaml:"log" jsonschema:"logging options"`
Dir string `json:"dir,omitzero" yaml:"dir" jsonschema:"the directory to run crie in"`
Lint runner.Options `json:"lint,omitzero" yaml:"lint" jsonschema:"options for commands that lint"`
Ignore []string `` /* 134-byte string literal not displayed */
}
Config are all the things for crie cli
func (*Config) NewProjectConfigFile ¶
NewProjectConfigFile Creates the project file locally
type LoggingConfig ¶
type LoggingConfig struct {
Quiet bool `json:"quiet,omitzero" yaml:"quiet" jsonschema:"disable all output except for errors"`
Verbose bool `json:"verbose,omitzero" yaml:"verbose" jsonschema:"enable debug logging"`
Trace bool `json:"trace,omitzero" yaml:"trace" jsonschema:"(hidden opt) enable all logging (very very verbose)"`
JSON bool `json:"json,omitzero" yaml:"json" jsonschema:"change format to json structured logging"`
}
LoggingConfig is a grouping of log settings
Click to show internal directories.
Click to hide internal directories.