Skip to content

cli: axiomcode --version prints the installed version (#1352) - #1353

Merged
swapnilpaliwal-sd merged 2 commits into
devfrom
feat/cli-version
Sep 26, 2026
Merged

swapnilpaliwal-sd merged 2 commits into
devfrom
feat/cli-version

Conversation

@swapnilpaliwal-sd

Copy link
Copy Markdown
Contributor

Fixes #1352.

axiomcode --version, given with no other arguments, prints the package version and exits 0.

  • bin/axiomcode.js answers it before looking for bash, so the command works on a machine where bash cannot be found.
  • bin/axiomcode answers it the same way when run from a checkout.
  • With other arguments, --version V is still the build option that stamps the source version.
  • --help now prints the whole header up to its closing line, instead of a fixed range of lines that the new help lines would have cut off.
  • New test tests/cli_version.py: its two version checks fail on dev and pass here. The surfaces, manifests, mcp and python_names tests still pass.
  • Version 0.1.2: v0.1.1 is already released, and the version gate requires a patch bump. The parser stays at 0.1.0.

The Node launcher answers it before looking for bash, so it works on a machine
where bash cannot be found; bin/axiomcode answers it the same way from a
checkout. With other arguments --version stays the build option.

--help now prints the header up to its closing rule rather than a fixed line
range, which the new lines would have cut short.
@swapnilpaliwal-sd
swapnilpaliwal-sd merged commit 53b7952 into dev Sep 26, 2026
12 checks passed
@swapnilpaliwal-sd
swapnilpaliwal-sd deleted the feat/cli-version branch September 26, 2026 04:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cli: axiomcode --version does not print the installed version

1 participant