Documentation
¶
Overview ¶
Package cliout adapts keryx commands to the GTB output model.
The gtb-generated command boilerplate (v0.16.2) calls the command's RunX with (ctx, props, opts, args) — it does NOT pass the *cobra.Command, so RunX cannot read the global persistent --output flag to honour R-GLOBAL-3 (--json). Until the boilerplate threads the command (or an output writer) into RunX, this helper recovers the requested format from os.Args, which is the real invocation's source of truth. It is isolated here so the workaround is in one place and trivially swapped out later. (Logged as a gtb gap in the bug report.)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.