Skip to content
This repository was archived by the owner on Nov 22, 2026. It is now read-only.

mojo-args v0.1.2

Choose a tag to compare

@amarbarosys amarbarosys released this 04 Nov 14:36
· 12 commits to main since this release

mojo-args v0.1.2

Released: 2026-11-04 · Commit: d149e10 · Previous: v0.1.1

What it does

Command-line parsing for Mojo with Python argparse's behaviour: sub-commands, typed and repeatable options, a remainder command, prefix abbreviation, and argparse's own usage-error messages.

Highlights

  • -é or -q\xff on the command line no longer aborts the process.
  • Builds on the Mojo 1.3 nightly as well as 1.2.0.

Changes

Added

  • Conda recipe (recipe.yaml).
  • README install and quickstart block, one example, and badges for CI, latest release and license.

Fixed

  • A multi-byte or invalid UTF-8 byte after a dash no longer aborts the parser; the arguments parse as the Python argparse oracle does.
  • ArgumentParser builds on Mojo 1.3.0.dev2026110305 (explicit empty __deinit__); it still builds on 1.2.0.

Verified

Check Result
ci-local: the GitHub workflow in a clean Ubuntu 24.04 container PASS

Known limits

Upgrade / run

uv sync

Commits

  • d149e10 fix(release): pyproject.toml, recipe.yaml and uv.lock say 0.1.2
  • 2163706 fix: build on Mojo 1.3 nightly
  • dc1fa0f build: conda recipe
  • 74546a3 docs: one example, one install block
  • 24bc621 docs: install and quickstart block
  • c0bc5b0 fix(parser): no abort on a multi-byte or invalid UTF-8 byte after a dash
  • 14eb242 fix(release): pyproject and uv.lock say 0.1.1, the version of the latest tag
  • b9968a9 docs: CI, latest-release and license badges