config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package config implements the "config" CLI command group.

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 command group's state.

func New

func New(parent *root.Config) *Config

New creates the config command group and registers schema and validate subcommands under it. Exec is nil — invoking "gorouter config" without a subcommand returns ff.ErrNoExec, which run() in main.go treats as success (exits 0).

Directories

Path Synopsis
Package schema implements the "config schema" CLI subcommand.
Package schema implements the "config schema" CLI subcommand.
Package validate implements the "config validate" CLI subcommand.
Package validate implements the "config validate" CLI subcommand.

Jump to

Keyboard shortcuts

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