Skip to content

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