Documentation
¶
Overview ¶
Package kongusage adds [usage](https://usage.jdx.dev/) spec support for Kong CLI.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flag ¶
type Flag bool
Flag prints the usage spec of the CLI in KDL and exits, like kong.VersionFlag.
Declare it as a field with the tag `hidden:""`, so it doesn't clutter the help. The name of the flag comes from the name of the field (e.g. field UsageSpec gives flag --usage-spec).
Click to show internal directories.
Click to hide internal directories.