Releases: prvn-codes/esctl
Releases · prvn-codes/esctl
Release list
v1.0.2
What's new
New commands
esctl logs <cluster>— tail the last 100 lines of a cluster's log fileesctl logs -f <cluster>— follow logs in real time
Startup logs behind a flag
esctl startandesctl restartare now silent by default- Pass
--verboseto stream live log output during startup:esctl start myapp --verbose esctl restart myapp --verbose
Performance
esctl listnow loads the config file once per invocation (was N+1 reads)esctl stoppolling loop useskill -0on the known PID instead of re-running the full cluster detection on every iterationesctl importnow makes one HTTP call per port instead of two
Bug fixes
esctl import: port values fromlsofare validated as numeric before use — preventsjqabort on unexpected lsof output formatsesctl import: warns explicitly when the data directory cannot be detected from the ES API instead of silently writing a wrong path to configesctl startwithout--verboseno longer leaks ES stdout/stderr to the terminal
Other
--versionand-vflags now work alongside theversioncommand- Output symbols changed to
✔︎/!/✖(no emojis) esctl listtable includes Access URL column inline; removed separate "Access URLs" section below the table
Install
curl -fsSL https://raw.githubusercontent.com/prvn-codes/esctl/main/bin/esctl \
-o /usr/local/bin/esctl && chmod +x /usr/local/bin/esctlUpgrade (Homebrew)
brew upgrade esctlv1.0.1
- Make curl install primary method in README
- Document brew trust step for Homebrew installs
v1.0.0 — Initial Release
esctl v1.0.0
Elasticsearch Cluster Manager — manage multiple local ES clusters from the CLI.
Install via Homebrew
brew tap prvn-codes/tap
brew install esctlManual install
curl -fsSL https://raw.githubusercontent.com/prvn-codes/esctl/main/bin/esctl -o /usr/local/bin/esctl
chmod +x /usr/local/bin/esctlFeatures
- Start, stop, restart named ES clusters
- Auto-detect ES binary (evm, PATH, common paths)
- Auto-install missing dependencies via Homebrew
- Interactive add / edit / remove clusters
- Per-cluster ES binary override
doctorcommand to verify your setup- Works with any ES version and any install method
Requirements
jq(auto-installed via Homebrew if missing)curl(optional — used for HTTP readiness checks)- Elasticsearch binary (via evm, Homebrew, or manual install)