project

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2025 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,omitempty" yaml:"log,omitempty" jsonschema_description:"logging options"`
	Lint   runner.Options `json:"lint,omitempty" yaml:"lint,omitempty" jsonschema_description:"options for commands that lint"`
	Ignore []string       `` /* 157-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,omitempty" yaml:"quiet,omitempty" jsonschema_description:"disable all output except for errors"`
	Verbose bool `json:"verbose,omitempty" yaml:"verbose,omitempty" jsonschema_description:"enable debug logging"`
	Trace   bool `json:"trace,omitempty" yaml:"trace,omitempty" jsonschema_description:"(hidden opt) enable all logging (very very verbose)"`
	JSON    bool `json:"json,omitempty" yaml:"json,omitempty" jsonschema_description:"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