@sytws/esclu
v1.0.0
Published
Elasticsearch Command Line Utilities
Downloads
7
Readme
P10 T3 Commanding Databases
Instalación del Paquete
Para instalar el paquete ejecute,
npm install -g @sytws/esclu
Ejecución
Al estar instalado globalmente, se puede ejecutar como un programa normal.
Usage: esclu <command> [options]
Commands:
esclu url [path] generate the URL for the options and path
esclu get [path] perform an HTTP GET request for path
esclu put <file> perform an HTTP PUT request for path
esclu create-index creates a new index
esclu list-indices list of indices in cluster [aliases: li]
esclu bulk <file> read nad perform bulk options from file
esclu query [queries..] perform an Elasticsearch query [aliases: q]
Options:
--version Show version number [boolean]
--host, -o Hostname [string] [default: "localhost"]
--port, -p Port [string] [default: "9200"]
--json, -j JSON output
--index, -i Index to use [string]
--type, -t default type for operations [string]
--id, -d ID of the document [string]
--help Show help [boolean]