command

package module
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2026 License: MIT Imports: 2 Imported by: 0

README

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Jq

func Jq(args ...JqArg) gloo.Command[[]byte, []byte]

Jq returns a Command that forks jq with the given filter and arguments, streaming pipeline input to jq's stdin and jq's stdout back into the pipeline. Every argument is passed through verbatim — jq, not this wrapper, interprets them.

Types

type JqArg

type JqArg string

JqArg is one verbatim jq command-line argument: a flag (`-c`), a filter (`.items[]`), or any other token jq itself interprets.

Directories

Path Synopsis
Package alias provides unprefixed names for the jq command's public API.
Package alias provides unprefixed names for the jq command's public API.

Jump to

Keyboard shortcuts

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