Skip to content

Releases: prvn-codes/esctl

v1.0.2

Choose a tag to compare

@prvn-codes prvn-codes released this 16 Jun 13:28

What's new

New commands

  • esctl logs <cluster> — tail the last 100 lines of a cluster's log file
  • esctl logs -f <cluster> — follow logs in real time

Startup logs behind a flag

  • esctl start and esctl restart are now silent by default
  • Pass --verbose to stream live log output during startup:
    esctl start myapp --verbose
    esctl restart myapp --verbose
    

Performance

  • esctl list now loads the config file once per invocation (was N+1 reads)
  • esctl stop polling loop uses kill -0 on the known PID instead of re-running the full cluster detection on every iteration
  • esctl import now makes one HTTP call per port instead of two

Bug fixes

  • esctl import: port values from lsof are validated as numeric before use — prevents jq abort on unexpected lsof output formats
  • esctl import: warns explicitly when the data directory cannot be detected from the ES API instead of silently writing a wrong path to config
  • esctl start without --verbose no longer leaks ES stdout/stderr to the terminal

Other

  • --version and -v flags now work alongside the version command
  • Output symbols changed to ✔︎ / ! / (no emojis)
  • esctl list table 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/esctl

Upgrade (Homebrew)

brew upgrade esctl

v1.0.1

Choose a tag to compare

@prvn-codes prvn-codes released this 16 Jun 11:52
  • Make curl install primary method in README
  • Document brew trust step for Homebrew installs

v1.0.0 — Initial Release

Choose a tag to compare

@prvn-codes prvn-codes released this 16 Jun 11:21

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 esctl

Manual install

curl -fsSL https://raw.githubusercontent.com/prvn-codes/esctl/main/bin/esctl -o /usr/local/bin/esctl
chmod +x /usr/local/bin/esctl

Features

  • 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
  • doctor command 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)