apifield

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package apifield defines known API field defaults and acceptable values for CLI flags.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply() func(*kong.Kong) error

Apply returns a kong.PostBuild hook that enriches flags with known API field information, appending available values to the help text and setting default placeholders.

func Predictors

func Predictors() map[string]complete.Predictor

Predictors returns completion predictors for all known API fields.

Types

This section is empty.

Jump to

Keyboard shortcuts

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