Documentation
¶
Overview ¶
Package cli contains runtime helpers for generated HTTP command-line clients.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasHelpArg ¶
HasHelpArg reports whether args request Kong context-sensitive help.
func UnmarshalJSON ¶ added in v1.10.0
UnmarshalJSON decodes a generated CLI flag using JSON v2 semantics with support for boolean map keys named "true" and "false", including nested maps and named boolean types. Custom JSON and text decoders take precedence.
func UnmarshalNonNullableJSON ¶ added in v1.10.0
UnmarshalNonNullableJSON decodes one non-nullable CLI JSON body while retaining JSONOptions and custom decoder behavior. Optional owns the root null contract.
Types ¶
This section is empty.