flags

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package flags provides JSON schema generation from Cobra command flags.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFlagToSchema

func AddFlagToSchema(schema *jsonschema.Schema, flag *pflag.Flag)

AddFlagToSchema adds a single flag to the schema properties.

Types

This section is empty.

Jump to

Keyboard shortcuts

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