Versions in this module Expand all Collapse all v2 v2.0.1 Jun 7, 2026 Changes in this version + func ApplyPaginationParams(cmd *cobra.Command, path string, resource string, limitFlagName string, ...) (string, error) + 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 Other modules containing this package github.com/getarcaneapp/arcane/cli