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

Add implied to option value sources #1794

Merged
merged 4 commits into from
Sep 6, 2022

Conversation

shadowspawn
Copy link
Collaborator

@shadowspawn shadowspawn commented Sep 4, 2022

Pull Request

Problem

implied is missing from OptionValueSource but is set by the .implies() feature.

Solution

Add implied to TypeScript and method descriptions.

Add a mention of config source in the env description, which is the only place it is used in the code. Reword description to not state a priority ordering, and instead more accurately reflect actual behaviour.

Add undefined to return type of .getOptionValueSource().

ChangeLog

  • fix: TypeScript : add implied to OptionValueSource for option values set by using .implies()
  • fix: TypeScript : add undefined to return type of . getOptionValueSource()

@shadowspawn shadowspawn changed the title TypeScript: add implied to OptionValueSource TypeScript: add implied to option value sources Sep 4, 2022
@shadowspawn shadowspawn changed the title TypeScript: add implied to option value sources Add implied to option value sources Sep 4, 2022
Copy link
Collaborator

@abetomo abetomo left a comment

Choose a reason for hiding this comment

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

👍

@shadowspawn shadowspawn added the pending release Merged into a branch for a future release, but not released yet label Sep 6, 2022
@shadowspawn shadowspawn merged commit 72be61c into tj:develop Sep 6, 2022
@shadowspawn shadowspawn deleted the feature/implied-source branch September 6, 2022 09:10
@shadowspawn shadowspawn removed the pending release Merged into a branch for a future release, but not released yet label Oct 2, 2022
@shadowspawn
Copy link
Collaborator Author

Released in Commander v9.4.1

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