mirror of
https://codeberg.org/scip/esctl.git
synced 2026-08-24 13:44:17 +02:00
upd help
This commit is contained in:
25
README.md
25
README.md
@@ -12,15 +12,19 @@ USAGE:
|
|||||||
esctl [global options] [command [command options]]
|
esctl [global options] [command [command options]]
|
||||||
|
|
||||||
VERSION:
|
VERSION:
|
||||||
v0.0.1
|
v0.0.3
|
||||||
|
|
||||||
COMMANDS:
|
COMMANDS:
|
||||||
health show ES health
|
|
||||||
search, / search within an index
|
search, / search within an index
|
||||||
|
index, i manage indicies
|
||||||
|
snapshot, snap manage snapshots
|
||||||
|
cluster, c manage cluster[s]
|
||||||
help, h Shows a list of commands or help for one command
|
help, h Shows a list of commands or help for one command
|
||||||
|
|
||||||
GLOBAL OPTIONS:
|
GLOBAL OPTIONS:
|
||||||
--debug, -d enable debugging [$ES_DEBUG]
|
--debug, -d enable debugging [$ES_DEBUG]
|
||||||
|
--config string, -c string config file [$ES_CONFIG]
|
||||||
|
--cluster string, -C string cluster alias to work with
|
||||||
--help, -h show help
|
--help, -h show help
|
||||||
--version, -v print the version
|
--version, -v print the version
|
||||||
```
|
```
|
||||||
@@ -31,6 +35,23 @@ Configure `esctl` with environment variables:
|
|||||||
- `ES_USER`: username
|
- `ES_USER`: username
|
||||||
- `ES_PASS`: password
|
- `ES_PASS`: password
|
||||||
|
|
||||||
|
Or create a config file such as this:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
clusters:
|
||||||
|
default:
|
||||||
|
uri: https://es.foo.bar:9200/
|
||||||
|
user: elastic
|
||||||
|
pass: 123456
|
||||||
|
other:
|
||||||
|
uri: https://myes.foo:9200/
|
||||||
|
user: elastic
|
||||||
|
pass: asdasdasd
|
||||||
|
```
|
||||||
|
|
||||||
|
If you want to work on a specific cluster, specify its name with the
|
||||||
|
global `-C` option.
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
FIXME
|
FIXME
|
||||||
|
|||||||
Reference in New Issue
Block a user