dump

package
v0.0.0-...-28a77dd Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = cli.Command{
	Name:                   "dump",
	Aliases:                []string{"export"},
	Usage:                  "Exports index content.",
	Description:            `If no indices specified all indices will be exported.`,
	ArgsUsage:              "[indices...] --dump path/to/dump.json [--lpr 1000] [--query path/to/query.json]",
	Action:                 ctl.NewAction(dump),
	Category:               "Intermediate",
	UseShortOptionHandling: true,
	Flags: []cli.Flag{
		cli.StringFlag{
			Name:  "dump, d",
			Usage: "Dump `FILE`. By default exports to context's .backup dir.",
		},
		cli.IntFlag{
			Name:  "lpr",
			Usage: "Documents limit per request",
			Value: 1000,
		},
		cli.StringFlag{
			Name:  "query, q",
			Usage: "Query `FILE`",
		},
		cli.BoolFlag{
			Name:  "plain, p",
			Usage: "Dump in plain json",
		},
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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