commands

package
v1.48.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2026 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EmptyBody              = custom.EmptyBody
	MultipartFormEncoded   = custom.MultipartFormEncoded
	ApplicationJSON        = custom.ApplicationJSON
	ApplicationOctetStream = custom.ApplicationOctetStream
	Version                = custom.Version
)

Variables

View Source
var (
	Command            *cli.Command
	CommandErrorBuffer bytes.Buffer
)
View Source
var OutputFormats = custom.OutputFormats

Functions

func NewRequestHeaderFlag

func NewRequestHeaderFlag() cli.Flag

func ShowJSON

func ShowJSON(res gjson.Result, opts ShowJSONOpts) error

func ShowJSONIterator

func ShowJSONIterator[T any](iter jsonview.Iterator[T], itemsToDisplay int64, opts ShowJSONOpts) error

func ValidateBaseURL

func ValidateBaseURL(value, source string) error

Types

type BodyContentType

type BodyContentType = custom.BodyContentType

type ShowJSONOpts

type ShowJSONOpts = custom.ShowJSONOpts

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL