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

adds OptionsCore trait and proc macro #45

Closed
wants to merge 1 commit into from

Conversation

nikita-skobov
Copy link

OptionsCore is a subset of Options. it removes most of the command listing/ help printing/default behavior like exiting, etc. from the trait. Additionally it alters the parsing behavior to not treat -h/--help as a special variable, dont use the first letter of a field as a short option (user must do that manually with #[option(short = 'h')] ), and does not treat unknown input as errors.

OptionsCore is a subset of Options. it removes most of the command listing/ help printing/default behavior like exiting, etc. from the trait. Additionally it alters the parsing behavior to not treat -h/--help as a special variable, dont use the first letter of a field as a short option (user must do that manually with #[option(short = 'h')] ), and does not treat unknown input as errors.
@nikita-skobov nikita-skobov deleted the options-core branch December 16, 2020 00:46
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