zq

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2020 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Zq = &charm.Spec{
	Name:  "zq",
	Usage: "zq [-R root] [options] zql [file...]",
	Short: "execute ZQL against all archive directories",
	Long: `
"zar zq" executes a ZQL query against one or more files from all the directories
of an archive, generating a single result stream. By default, the chunk file in
each directory is used, but one or more files may be specified. The special file
name "_" refers to the chunk file itself, and other names are interpreted
relative to each chunk's directory.
`,
	New: New,
}

Functions

func New

func New(parent charm.Command, f *flag.FlagSet) (charm.Command, error)

Types

type Command

type Command struct {
	*root.Command
	// contains filtered or unexported fields
}

func (*Command) Run

func (c *Command) Run(args []string) error

Jump to

Keyboard shortcuts

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