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

Added DefaultValuePattern to set default value using values of other … #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LepilkinaElena
Copy link

…options

@LepilkinaElena LepilkinaElena requested a review from ilya-g March 16, 2020 17:56
@sbogolepov
Copy link
Member

sbogolepov commented Mar 17, 2020

I'm not sure that such sophisticated logic should be a part of argument parsing.

@LepilkinaElena
Copy link
Author

I agree that it looks may be complicated, but it's often needed by compiler and other connected tools. Calculating such options separately can cause more mistakes. Also we need then generated by user help message to describe user how values for some options are calculated. That was already discussed and also should be done, but it isn't full solution for this. We should discuss this feature with more details.

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