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.
Click to show internal directories.
Click to hide internal directories.