create

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = cli.Command{
	Name:                   "create",
	Aliases:                []string{"new"},
	Usage:                  "Creates a new index.",
	Description:            "For more information: https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html.",
	ArgsUsage:              "indices... --body path/to/body.json",
	Category:               "Beginner",
	Action:                 ctl.NewAction(create),
	UseShortOptionHandling: true,
	Flags: []cli.Flag{
		cli.StringFlag{
			Name:     "body, b",
			Required: true,
			Usage:    "Index body `FILE`",
		},
	},
}

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