project

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Schema

func Schema() *jsonschema.Schema

Schema generates a jsonscema for a project Config

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

func (cli *Config) NewProjectConfigFile(path string) error

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

Jump to

Keyboard shortcuts

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