Versions in this module Expand all Collapse all v1 v1.16.1 Mar 7, 2026 v1.16.0 Mar 6, 2026 Changes in this version + func AssumeYes(cmd *cobra.Command) bool + func ClientFromCommand(cmd *cobra.Command) (*client.Client, error) + func Confirm(cmd *cobra.Command, prompt string) (bool, error) + func DecodeJSON[T any](resp *http.Response, out *T) error + func EffectiveLimit(cmd *cobra.Command, resource, flagName string, flagValue, fallbackDefault int) int + func EnsureSuccessStatus(resp *http.Response) error + func JSONOutputEnabled(cmd *cobra.Command) bool + func ParseResourceLimit(pair string) (resource string, limit int, ok bool) + func PrintJSON(v any) error + func ResolveOutputMode(mode string) (runtimectx.OutputMode, error) + func UnauthClientFromCommand(cmd *cobra.Command) (*client.Client, error) + type HTTPStatusError struct + Body string + StatusCode int + func (e *HTTPStatusError) Error() string