Skip to content

Update ArgMojo to v0.4.0 (Mojo v0.26.2)#220

Merged
carolinefrasca merged 3 commits intomodular:mainfrom
forfudan:argmojo
Mar 24, 2026
Merged

Update ArgMojo to v0.4.0 (Mojo v0.26.2)#220
carolinefrasca merged 3 commits intomodular:mainfrom
forfudan:argmojo

Conversation

@forfudan
Copy link
Copy Markdown
Contributor

@forfudan forfudan commented Feb 28, 2026

Checklist

  • My recipe.yaml file specifies which version(s) of MAX is compatible with my project. Compatible with Mojo v0.26.2
  • License file is packaged
  • Set the build number to 0 (for new packages, or if the version changed).
  • Bumped the build number (if the version is unchanged). This is not applicable.

ArgMojo v0.2.0 is a major release that transforms the library from a single-command parser into a full subcommand-capable CLI framework. It introduces hierarchical subcommands with automatic dispatch, persistent (global) flags with bidirectional sync, negative number passthrough, colored error messages, custom tips, and significant help/UX improvements. The public API is also refined: ArgArgument (old name kept as alias). Two complete example CLIs (grep and git) replace the previous demo.

ArgMojo v0.3.0 adds shell completion, typo suggestions, mutual implication, hidden subcommands, NO_COLOR support, and several builder-method improvements. Internally the code is decomposed into smaller helpers and a new utils.mojo module; several API names are refined for consistency.

ArgMojo v0.4.0 adds interactive prompting, password input, confirmation, argument parents, custom usage lines, response files, CJK-aware help formatting, and full-width auto-correction. The builder API is fully parameterised with compile-time StringLiteral parameters. The codebase is migrated to Mojo v0.26.2 and the test suite consolidated from 20 files into 8 modules.

ArgMojo v0.4.0 targets Mojo v0.26.2.

Release page: https://github.com/forfudan/argmojo/releases

@forfudan forfudan changed the title Update ArgMojo to v0.2.0 Update ArgMojo to v0.3.0 Mar 5, 2026
@forfudan forfudan changed the title Update ArgMojo to v0.3.0 Update ArgMojo to v0.4.0 (Mojo v0.26.2) Mar 24, 2026
@carolinefrasca carolinefrasca merged commit acb5a39 into modular:main Mar 24, 2026
4 checks passed
@forfudan forfudan deleted the argmojo branch March 24, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants