Skip to content

[core] Add prelude module for convenient import#47

Merged
forfudan merged 2 commits intomainfrom
prelude
Apr 10, 2026
Merged

[core] Add prelude module for convenient import#47
forfudan merged 2 commits intomainfrom
prelude

Conversation

@forfudan
Copy link
Copy Markdown
Owner

@forfudan forfudan commented Apr 10, 2026

This PR adds a dedicated argmojo.prelude module intended to provide a single convenient import point for ArgMojo’s primary public types/traits. It introduces src/argmojo/prelude.mojo with re-exports for the builder API (Argument, Command, ParseResult) and declarative API (Parsable, Option, Flag, Positional, Count).

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a dedicated argmojo.prelude module intended to provide a single convenient import point for ArgMojo’s primary public types/traits.

Changes:

  • Introduces src/argmojo/prelude.mojo with re-exports for the builder API (Argument, Command, ParseResult) and declarative API (Parsable, Option, Flag, Positional, Count).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@forfudan forfudan merged commit 7798ee7 into main Apr 10, 2026
9 checks passed
@forfudan forfudan deleted the prelude branch April 10, 2026 19:54
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.

2 participants