Documentation
¶
Overview ¶
Package cmdutil provides shared helpers for all commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractList ¶
func ExtractList(data any, listKeys ...string) (raw any, rows []map[string]any, total int, page int)
ExtractList pulls rows and pagination info from a standard API list response.
func ServerFromCmd ¶
ServerFromCmd extracts the --server flag, falling back to the configured default.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.