Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion recipes/argmojo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ArgMojo has been successfully deployed in production in [Decimo](https://github.

ArgMojo provides two complementary styles for defining and parsing command-line arguments in Mojo: a **builder API** for maximum control (`Command` + `Argument` chains) and an optional **struct-based declarative API** inspired by Swift's [swift-argument-parser](https://github.com/apple/swift-argument-parser) (define a `Parsable` struct, call `MyArgs.parse()`, get typed results). You can mix both freely — put most of your arguments in a struct and drop down to builder methods whenever you need finer control.

ArgMojo v0.6.0 targets Mojo v1.0.0b1.
ArgMojo v0.7.0 targets Mojo v1.0.0b2.

ArgMojo currently supports:

Expand Down
8 changes: 4 additions & 4 deletions recipes/argmojo/recipe.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
context:
version: "0.6.0"
mojo_version: "=1.0.0b1"
version: "0.7.0"
mojo_version: "=1.0.0b2"

package:
name: "argmojo"
version: ${{ version }}

source:
- git: https://github.com/forfudan/argmojo.git
rev: 47df395940e9f9048a4535c2531aeeedfb40a7ca
rev: 5e244891daa5c919d344a369f9577b21282f1587

build:
number: 0
script:
- mkdir -p ${PREFIX}/lib/mojo
- mojo package src/argmojo -o ${{ PREFIX }}/lib/mojo/argmojo.mojopkg
- mojo precompile src/argmojo -o ${{ PREFIX }}/lib/mojo/argmojo.mojoc

requirements:
host:
Expand Down
Loading