forfudan / argmojo
A feature-rich command-line argument parser library for Mojo, with both builder and struct-based declarative APIs.
Over time
2026-02-02 to 2026-10-22; peak 27,958 lines
2026-02-02 to 2026-10-22; 79 commits, counted up by commit date
- Opened 69
- Closed or merged 69
2026-02-27 to 2026-11-20; 69 issues and pull requests opened (0 issues, 69 pull requests), from GitHub by mojo_issues
Dependencies
Used by forfudan/decimo, forfudan/my-first-mojo-project.
Through those (second degree): forfudan/symo, mojomath/linamo, neurallayer/roboquant-mojo.
Similar repos
| Repo | Description | Similarity |
|---|---|---|
| sstadick/mojopt | Structopt inspired command line arg parser in Mojo | 92% |
| NathanSWard/yap | Mojo Parser Combinator Library | 86% |
| CyanStarlight/mojo-glfw-bindings | Mojo bindings for GLFW library, eventually | 85% |
| mojothon/libc | a standard C library binding for the Mojo programming language | 85% |
| Ahajha/mojo-parser | Parser for Mojo, in Mojo | 85% |
By the cosine of the embeddings of each repo's name, description and topics: bge-small-en-v1.5 at bbddccb7, from snapshot 3454761910736014829 of mojo.repo_embeddings, which mojo_embed writes.
Stars per month
- stars
- forks
6 stars over the months of GH Archive loaded so far (47; months in between aren't loaded yet), counted from its events.
Contributors per month
- contributors
- new
1 people authored or co-authored its commits (every commit reachable from HEAD, Co-authored-by trailers included, bots left out), counted by email.
Releases and tags
| Date | Tag | Name | From | Mojo version | Commit |
|---|---|---|---|---|---|
| 2026-10-22 | v0.10.0 | – | git tag | 1.2.0 | fa41f835d6 |
| 2026-09-19 | v0.9.0 | – | git tag | 1.1.0 | 1d0054987c |
| 2026-08-12 | v0.8.0 | – | git tag | 1.0.0 | 2ba77c1be3 |
| 2026-06-18 | v0.7.0 | – | git tag | 1.0.0 | 5e244891da |
| 2026-05-10 | v0.6.0 | – | git tag | 1.0.0 | 47df395940 |
| 2026-04-04 | v0.5.0 | – | git tag | 0.26.2.0 | 29b6f54545 |
| 2026-03-21 | v0.4.0 | – | git tag | 0.26.2.0 | 2dbb8977ce |
| 2026-03-05 | v0.3.0 | – | git tag | 0.26.1.0 | c3e00e9da7 |
| 2026-02-28 | v0.2.0 | ArgMojo v0.2.0 | GitHub release | 0.26.1.0 | e9f39bf9d4 |
| 2026-02-24 | v0.1.0 | – | git tag | 0.26.1.0 | 6db272c433 |
Issues and pull requests
0 open and 0 closed issues; 0 open, 69 merged and 0 closed pull requests, from GitHub by mojo_issues.
Pull requests
| # | Title | Opened | State | Comments |
|---|---|---|---|---|
| 69 | [doc] Rewrite the manual's front page + group its pages into parts | 2026-11-20 | merged | 0 |
| 68 | [doc] Fix wrong examples and outputs in the user manual + make each page work on its own | 2026-11-19 | merged | 0 |
| 67 | [core] Check choices and deprecation on positionals, and fix help subcommand output | 2026-11-19 | merged | 0 |
| 66 | [core][test][doc] Fix crashes, prompt, and terminal-width bugs | 2026-11-18 | merged | 0 |
| 65 | [doc][ci] Prepare the user manual for the online book | 2026-11-18 | merged | 0 |
| 64 | [mojo] Update codebase to Mojo v1.2.0 + re-enable response files + remove `alias_name` | 2026-10-22 | merged | 0 |
| 63 | [doc] Update documents for release | 2026-09-19 | merged | 0 |
| 62 | [core] Rename `alias_name` to `alias` since Mojo v1.1.0 frees the keyword | 2026-09-18 | merged | 0 |
| 61 | [mojo] Update the codebase to Mojo v1.1.0 | 2026-09-18 | merged | 0 |
| 60 | [core][doc] Update documents for release + Parser fixes + faster compiles | 2026-08-12 | merged | 0 |
Migrations
| Date | What | From | To | Commit |
|---|---|---|---|---|
| 2026-02-02 | mojo_version | – | 0.26.1.0 | b9d12a1276 |
| 2026-02-02 | tooling | none | pixi | b9d12a1276 |
| 2026-03-20 | mojo_version | 0.26.1.0 | 0.26.2.0 | 1394ced240 |
| 2026-05-07 | mojo_version | 0.26.2.0 | 1.0.0 | fc06e173e3 |
| 2026-09-18 | mojo_version | 1.0.0 | 1.1.0 | 2dbb5ff5fb |
| 2026-10-22 | mojo_version | 1.1.0 | 1.2.0 | fa41f835d6 |
Commits
Commit types: Feature 42% · Fix 1% · Mojo version 9% · Migration 1% · Refactor 13% · Docs 20% · Tests 4% · Other 10%
| Date | Commit | Type | Subject | Lines of Mojo | Tooling | Mojo version |
|---|---|---|---|---|---|---|
| 2026-10-22 | fa41f835d6 | Mojo version +docs | [mojo] Update codebase to Mojo v1.2.0 + re-enable response files + remove `alias_name` (#64) | 27,850 | pixi | 1.2.0 |
| 2026-09-19 | 1d0054987c | Docs | [doc] Update documents for release (#63) | 27,958 | pixi | 1.1.0 |
| 2026-09-19 | 074ef4d86f | Refactor +tests +docs | [core] Rename `alias_name` to `alias` since Mojo v1.1.0 frees the keyword (#62) | 27,958 | pixi | 1.1.0 |
| 2026-09-18 | 2dbb5ff5fb | Mojo version | [mojo] Update the codebase to Mojo v1.1.0 (#61) | 27,892 | pixi | 1.1.0 |
| 2026-08-12 | 2ba77c1be3 | Docs +tests | [core][doc] Update documents for release + Parser fixes + faster compiles (#60) | 27,898 | pixi | 1.0.0 |
| 2026-08-11 | b2853126d9 | Mojo version | [mojo] Update the codebase to Mojo v1.0.0 (#59) | 26,025 | pixi | 1.0.0 |
| 2026-06-18 | 5e244891da | Mojo version | [mojo][core] Update the codebase to Mojo v1.0.0b2 (#58) | 25,986 | pixi | 1.0.0 |
| 2026-05-10 | 47df395940 | Docs | [doc] Update documents for release (#57) | 25,922 | pixi | 1.0.0 |
| 2026-05-07 | fc06e173e3 | Mojo version | [mojo][core] Update the codebase to Mojo v1.0.0b1 (#56) | 25,922 | pixi | 1.0.0 |
| 2026-05-02 | 3bde543bd0 | Docs +tests | [core][doc] Refactor parse-related functions by adding new shared helpers and a unified parse loop + Add a document on parsing algorithm (#55) | 25,909 | pixi | 0.26.2.0 |
| 2026-04-18 | 39fa1f0c6f | Docs | [doc] Update the user manual (#54) | 25,892 | pixi | 0.26.2.0 |
| 2026-04-16 | ecf37b600c | Refactor +tests | [core] Change "arg"/"cmd" to "argument"/"command" + Change "args" from `argv` to "tokens" (#53) | 25,892 | pixi | 0.26.2.0 |
| 2026-04-16 | c0cb8f5da0 | Feature +tests +docs | [core] Enhance help and error messages with improved formatting (#52) | 25,745 | pixi | 0.26.2.0 |
| 2026-04-15 | dfed4e37ca | Docs | [example][doc] Split subcommands from `main()` into their own buiding functions + Update user manual (#51) | 25,412 | pixi | 0.26.2.0 |
| 2026-04-14 | 028c5d537c | Refactor | [core] 80-character help formatting + Fix CJK description issues in zsh and fish (#50) | 25,367 | pixi | 0.26.2.0 |
| 2026-04-12 | 08a3019d82 | Feature +tests +docs | [core] Add auto dispatch + Extend the `mgit` example (#49) | 25,120 | pixi | 0.26.2.0 |
| 2026-04-10 | a3ccfcde36 | Feature +tests +docs | [core] Add `allow_negative_expressions()` method for `Command` (#48) | 24,075 | pixi | 0.26.2.0 |
| 2026-04-10 | 7798ee7df9 | Feature | [core] Add `prelude` module for convenient import (#47) | 23,771 | pixi | 0.26.2.0 |
| 2026-04-10 | cfec876674 | Tests | [test][github] Split the current Github tests into 5 jobs (#46) | 23,752 | pixi | 0.26.2.0 |
| 2026-04-10 | f125708f51 | Feature +tests | [core][declarative] Add compile time validation on flag length, choices, and range (#45) | 23,752 | pixi | 0.26.2.0 |
| 2026-04-04 | 29b6f54545 | Docs | [declarative][doc] Standardize `Parsable` parsing method names + Update documents for release (#44) | 23,330 | pixi | 0.26.2.0 |
| 2026-04-03 | 09b9267b4c | Other +tests | [core][declarative] Update `to_command` so that it returns a list of `Command` (#43) | 23,283 | pixi | 0.26.2.0 |
| 2026-04-02 | f1bafc5d63 | Docs +tests | [core][declarative][doc] Enrich documentation and rename some methods (#42) | 23,254 | pixi | 0.26.2.0 |
| 2026-03-30 | 9ac1e0ec09 | Feature +docs | [core][declarative] Add more examples of declarative API (#41) | 23,262 | pixi | 0.26.2.0 |
| 2026-03-29 | 00e4558643 | Refactor +tests +docs | [core][declarative] Consolidate Parsable trait functions into methods (#40) | 23,074 | pixi | 0.26.2.0 |
| 2026-03-28 | 3951ae0b43 | Feature +tests +docs | [core][declarative] Add tests for declarative subcommands (#39) | 23,247 | pixi | 0.26.2.0 |
| 2026-03-28 | 4644ac387f | Feature | [core][declarative] Add tests for hybrid declarative + builder API (#38) | 22,510 | pixi | 0.26.2.0 |
| 2026-03-28 | 079a64c30a | Other +tests | [core][declarative] Default-initialize all fields via reflection in `__init__` of `Parsable` trait (#37) | 21,892 | pixi | 0.26.2.0 |
| 2026-03-27 | bb471721b0 | Other | [core][declarative] Use `rebind` instead of `UnsafePointer` in argument wrapper write-back logic (#36) | 21,891 | pixi | 0.26.2.0 |
| 2026-03-27 | 35980001ae | Feature +tests +docs | [core][declarative] Implement `Parsable` reflection, trait methods, and example (#35) | 21,913 | pixi | 0.26.2.0 |
| 2026-03-26 | 630a4e9317 | Feature +tests +docs | [core][declarative] Implement argument wrappers and Parsable trait (#34) | 20,914 | pixi | 0.26.2.0 |
| 2026-03-25 | 437c146f44 | Docs | [doc] Add a planning file for declarative API + Reorganize `Command`/`Argument` internals for clearer grouping (#33) | 20,178 | pixi | 0.26.2.0 |
| 2026-03-24 | 1971933e67 | Feature +tests | [core] Enable asterisk-masked password input (#32) | 20,084 | pixi | 0.26.2.0 |
| 2026-03-21 | 2dbb8977ce | Docs | [doc] Update documents for release (#31) | 19,789 | pixi | 0.26.2.0 |
| 2026-03-20 | 24ca712fa2 | Tests | [test] Consolidate the test suite (#30) | 19,815 | pixi | 0.26.2.0 |
| 2026-03-20 | 1394ced240 | Mojo version +tests | [mojo] Update codebase to Mojo v0.26.2 (#29) | 19,860 | pixi | 0.26.2.0 |
| 2026-03-19 | ddc5e2185a | Feature +tests +docs | [core] Add password / masked input capability (#28) | 19,874 | pixi | 0.26.1.0 |
| 2026-03-13 | 26ab33cfcc | Feature +tests +docs | [core] Enable custom usage line (#27) | 19,399 | pixi | 0.26.1.0 |
| 2026-03-12 | e3aabcfb2b | Feature +tests +docs | [core] Add confirmation option (--yes / -y) (#26) | 19,170 | pixi | 0.26.1.0 |
| 2026-03-12 | 10da0cf7ad | Feature +tests +docs | [core] Add argument parents (#25) | 18,781 | pixi | 0.26.1.0 |
| 2026-03-11 | 143944478d | Refactor | [core] Move `print_summary` from `Command` to `ParseResult` (#24) | 18,252 | pixi | 0.26.1.0 |
| 2026-03-11 | 5a6d2e5c73 | Feature +tests +docs | [core] Enable interactive prompting for arguments (#23) | 18,240 | pixi | 0.26.1.0 |
| 2026-03-10 | 3aacc06776 | Feature +tests +docs | [core] Implement aggressive runtime validation for `Command` (#22) | 17,639 | pixi | 0.26.1.0 |
| 2026-03-10 | 38ce82b845 | Other +tests +docs | [core] Convert all other arguments of the methods of the `Argument` type to compile-time parameters (#21) | 17,409 | pixi | 0.26.1.0 |
| 2026-03-09 | 33c97c5c95 | Other +tests +docs | [core] Make long name and short name compile-time parameters (#20) | 17,258 | pixi | 0.26.1.0 |
| 2026-03-08 | 0bd510f1ff | Other +tests +docs | [core] Provide `generate_completion` overload that takes shell name as parameter (#19) | 17,091 | pixi | 0.26.1.0 |
| 2026-03-08 | 71837a5dfa | Refactor +tests +docs | [core] Convert color customization to a compile-time parameter of `StringLiteral` type (#18) | 17,020 | pixi | 0.26.1.0 |
| 2026-03-07 | dd876c3e6d | Feature +tests +docs | [core] Add argument goups in help message (#17) | 17,040 | pixi | 0.26.1.0 |
| 2026-03-07 | b21d5f55be | Feature +tests +docs | [core][cjk] Implement fullwidth-to-halfwidth conversion (#16) | 16,366 | pixi | 0.26.1.0 |
| 2026-03-07 | 2d247e38f3 | Feature +tests +docs | [core][cjk] Implement CJK-aware help formatting (#15) | 15,673 | pixi | 0.26.1.0 |
The latest 50 of 79 commits; all of them are in the JSON.