Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OutputSchemaForCommand ¶ added in v0.6.4
OutputSchemaForCommand returns the registered JSON Schema for the `data` payload of cmd's response envelope, and whether a command-specific schema is registered. Commands without one return the standard envelope only, so the caller renders nothing rather than an empty shape.
It exposes the same registry that `jira schema` emits, so the docs generator can render an "Output fields" table from it. The table is generated, not hand-written, so it cannot drift from the real output.
func WriteSchema ¶
WriteSchema emits the CLI command schema. The envelope vs compact vs human output shape is decided by the resolved --output mode.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.