Skip to content

fix: context should override parsed argv#786

Merged
stevezhu merged 1 commit into7.xfrom
context-application-order
Feb 25, 2017
Merged

fix: context should override parsed argv#786
stevezhu merged 1 commit into7.xfrom
context-application-order

Conversation

@bcoe
Copy link
Member

@bcoe bcoe commented Feb 18, 2017

BREAKING CHANGE: context now takes precedence over argv


context object should take precedence over parsed values in argv.

fixes: #724

CC: @scriptdaemon I think this is better behavior for writing chat-bots using yargs.

@bcoe bcoe requested a review from maxrimue February 18, 2017 18:41
@stevezhu stevezhu merged commit fb9be80 into 7.x Feb 25, 2017
@stevezhu stevezhu deleted the context-application-order branch February 25, 2017 06:06
@bcoe
Copy link
Member Author

bcoe commented Feb 25, 2017

@stevezhu awesome 👍 thanks for landing this.

bcoe added a commit that referenced this pull request Feb 26, 2017
BREAKING CHANGE: context now takes precedence over argv and defaults
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants