version
Print the running CLI semver or query npm for a newer release.
Usage
i18nprune version
i18nprune version --check
i18nprune version --reset
i18nprune version --reset --checkversion— prints a single line (same value asi18nprune --version/-v).version --check— fetches@zamdevio/i18nprunelatestfrom the npm registry, prints current vs published, and suggestsnpm i -g @zamdevio/i18nprunewhen an upgrade exists. RespectsI18NPRUNE_NO_UPDATE_CHECK(see Environment variables and Versioning).version --reset— clears the cached npm update check so the next background lookup is not blocked by the 24h throttle. Combine with--checkto clear then query npm immediately. (On-disk details: Versioning.)-v/--versionon the root CLI are treated likeversionwhen no other subcommand is given (same banner / quiet / silent behavior); see CLI verbosity.
Global --json does not change this command’s output shape in v1; prefer plain text here.
Exit codes
- 0 — Success (including registry errors handled as warnings for
--check).