Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new: added Cmd#parse_for, OptCfg::make_cfgs_for and OptStore derive macro #20

Merged
merged 2 commits into from
Jul 22, 2024

Conversation

sttk
Copy link
Owner

@sttk sttk commented Jul 22, 2024

This PR adds a method of Cmd, a function of OptCfg, and a derive macro to parse command line arguments with definitions of a struct fields and to set the values of them.

tests/parse_for_test.rs Show resolved Hide resolved
cliargs_derive/src/lib.rs Outdated Show resolved Hide resolved
@sttk sttk merged commit 52912db into main Jul 22, 2024
7 checks passed
@sttk sttk deleted the add-make-for-and-opt-store branch July 22, 2024 08:37
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