Help us shape the future of Go! Take the 2026 Go Developer Survey

feature

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HideMaturity

func HideMaturity(p *kong.Path, maturity Maturity) error

HideMaturity hides commands that are not at the specified level of maturity.

Types

type Maturity

type Maturity string

Maturity is the maturity of a feature.

const (
	Alpha  Maturity = "alpha"
	Stable Maturity = "stable"
)

Currently supported maturity levels.

func GetMaturity

func GetMaturity(n *kong.Node) Maturity

GetMaturity gets the maturity of the node.

Jump to

Keyboard shortcuts

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