Skip to content

feat: typed cli_def macro#79

Open
mhuisi wants to merge 1 commit intomainfrom
push-lkxtyvlkvqou
Open

feat: typed cli_def macro#79
mhuisi wants to merge 1 commit intomainfrom
push-lkxtyvlkvqou

Conversation

@mhuisi
Copy link
Copy Markdown
Collaborator

@mhuisi mhuisi commented Mar 30, 2026

This PR adds a command-level cli_def macro that generates a structure with accessors for all of the flags and arguments declared in the macro. This means that the fragile step at the start of every command handler where data is extracted from Parsed is eliminated.

(Prototype and tests generated by Claude, then refined by me)

Co-authored-by: Claude <noreply@anthropic.com>
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.

1 participant