1.0.0 • Published 4 years ago

@sytws/esclu v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

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]