configcli

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package configcli implements the "config validate" and "config show" CLI commands for offline YAML config validation and inspection.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Show

func Show(descriptorData []byte, configDir, flagQuery string, w io.Writer) error

Show renders the effective condition chain for a flag as a human-readable table.

Types

type ValidateResult

type ValidateResult struct {
	Files    int
	Flags    int
	Errors   []string
	Warnings []string
}

ValidateResult holds the result of config validation.

func Validate

func Validate(descriptorData []byte, configDir string) (*ValidateResult, error)

Validate checks all YAML config files in configDir against the proto descriptors in descriptorData. No database is required.

Jump to

Keyboard shortcuts

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