Repository navigation
v0.7.2 (bêta)
Pre-release
Pre-release
TermDevTools v0.7.2 (beta)
Version française : CHANGELOG_fr.md
In one sentence: TermDevTools installs with go install, and completion keeps the query after the cursor and accepts a leading /.
What's new
go install github.com/gnocent/termdevtools@latest: the module now has the repository's path, and versions are tagged with three numbers (v0.7.2), the form Go recognizes. The binary goes toGOBIN, or$(go env GOPATH)/binwhen it is unset. Prebuilt binaries remain the recommended way.--versionwithout a stamped version: a binary installed withgo installgives the version installed, and one built with a plaingo buildin a clone gives the version Go derives from git (v0.7.3-0.<date>-<commit>, with+dirtyif files were modified) instead ofdev.go runstill saysdev.
Completion
- Query after the cursor: completing
_cat/indinGET _cat/ind?format=jsongives_cat/indices?v&format=json— the candidate's default parameters and your query under a single?— instead of a second?. Your query is kept as typed, and a key you set replaces the default with the same key. - Leading
/:GET /_cat/plcompleted nothing; it now givesGET /_cat/plugins?v, keeping the/. A/_cat/...entry in anendpoints.txtis also recognized as a_catcommand, so its columns complete too. - A type-ahead search that matches nothing:
Enterno longer inserts the entry left selected by an earlier search; it does nothing until the search is corrected (Backspace), cancelled (Esc) or replaced by an explicit choice — arrows,Tab,PgUp/PgDn,Home/End, or a click on an entry.
Development
tools/testclusters.shruns with the/bin/bash3.2 of macOS, and a test rejects the Bash 4 constructs that broke it.
Thanks to @efd6 for the request (#1) and to @amineamanzou for the changes (#3, #4, #6).
Before upgrading from 0.7
- Nothing to do:
config.yaml, saved requests and reference files are read as before. - Completion:
Enterright after a type-ahead search that found nothing no longer inserts anything; pick an entry with the arrows or a click.
Checks
go vetandgo test ./...pass, run on Windows: unit tests, end-to-end tests of the interface on a simulated screen — completion with both Elasticsearch's and OpenSearch's reference data — and a realgo installof the module, served from a local proxy, offline.govulncheck: no known vulnerability, neither in the dependencies nor in the standard library of Go 1.27.2, which the binaries are built with.- The reference data (recipes, endpoints,
_catcolumns) has not changed since 0.6, and its checks against eleven real clusters are those of 0.6. - The test cluster script was not run on a Mac.
- No independent external audit was carried out.
Known limits
go install …@v0.7.1and earlier versions do not work: they declared another module path.- The limits of 0.7 still apply: see the changelog.
Binaries
One self-sufficient file per platform — no archive and no companion file:
termdevtools-linux-amd64— Linux x86-64 (static binary)termdevtools-windows-amd64.exe— Windows 10/11 x64termdevtools-darwin-arm64— macOS Apple SiliconSHA256SUMS— SHA-256 checksums of the three files
Download the file for your platform and SHA256SUMS, check it (sha256sum -c SHA256SUMS --ignore-missing on Linux), make it executable (chmod +x, Linux and macOS), run it: termdevtools --version answers termdevtools v0.7.2. The binaries are not signed. Step by step, platform by platform: INSTALL.md (français).