validate

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package validate implements the "config validate" CLI subcommand.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	*root.Config
	Flags   *ff.FlagSet
	Command *ff.Command
}

Config holds the config validate subcommand's state.

func New

func New(rootCfg *root.Config, parentFlags *ff.FlagSet, parentCmd *ff.Command) *Config

New creates and registers the config validate subcommand under parentCmd. parentFlags is used for flag inheritance; parentCmd is where the subcommand is registered.

Jump to

Keyboard shortcuts

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