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

BugFix: Exclude positional arguments from completion output #927

Merged
merged 2 commits into from Aug 22, 2017
Merged

BugFix: Exclude positional arguments from completion output #927

merged 2 commits into from Aug 22, 2017

Conversation

IvanGoncharov
Copy link
Contributor

Fixes #818 + Added test

@IvanGoncharov IvanGoncharov changed the title Exclude positional arguments from completion output BugFix: Exclude positional arguments from completion output Jul 27, 2017
@bcoe
Copy link
Member

bcoe commented Aug 15, 2017

@IvanGoncharov thanks for this contribution! and sorry for the slow reply, I've been a bit buried in open-source tickets, and also dealing with some stressful personal stuff.

In an effort to speed up development, I've created a community slack for yargs:

http://devtoolscommunity.herokuapp.com/

Would love to have you join, so that we can coordinate landing this and future patches.

@@ -118,7 +118,7 @@ describe('Completion', function () {

it('does not complete hidden commands', function () {
var r = checkUsage(function () {
return yargs(['./completion', '--get-yargs-completions', 'cmd'])
return yargs(['./completion', '--get-yargs-completions'])
Copy link
Member

Choose a reason for hiding this comment

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

curious as to why this change was needed?

@bcoe bcoe merged commit 71c7ec7 into yargs:master Aug 22, 2017
@bcoe
Copy link
Member

bcoe commented Aug 22, 2017

@IvanGoncharov thanks for the contribution 👍

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.

None yet

2 participants