config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultConfigFilename = ".devctl.yaml"

Variables

This section is empty.

Functions

func DefaultPath

func DefaultPath(repoRoot string) string

Types

type File

type File struct {
	Plugins    []Plugin `yaml:"plugins"`
	Strictness string   `yaml:"strictness,omitempty"` // "warn" | "error"
}

func LoadFromFile

func LoadFromFile(path string) (*File, error)

func LoadOptional

func LoadOptional(path string) (*File, error)

type Plugin

type Plugin struct {
	ID       string            `yaml:"id"`
	Path     string            `yaml:"path"`
	Args     []string          `yaml:"args,omitempty"`
	Priority int               `yaml:"priority,omitempty"`
	WorkDir  string            `yaml:"workdir,omitempty"`
	Env      map[string]string `yaml:"env,omitempty"`
}

Jump to

Keyboard shortcuts

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