Skip to content

refactor: expose pipe-ability to command configuration#464

Merged
ariporad merged 2 commits intomasterfrom
refactor-expose-pipes
Jun 17, 2016
Merged

refactor: expose pipe-ability to command configuration#464
ariporad merged 2 commits intomasterfrom
refactor-expose-pipes

Conversation

@nfischer
Copy link
Copy Markdown
Member

I think this is one of the first steps we'll need to take in order to create a better setup for creating new commands/plugins. Now, contributors need only specify that their command can receive input from a pipe with the receivesPipe option set to true, instead of modifying the array that used to explicitly contain each command that could receive input from a pipe.

This cuts out one more spot where contributors need to make a modification.

@ariporad
Copy link
Copy Markdown
Contributor

LGTM!

@nfischer
Copy link
Copy Markdown
Member Author

Updated this to have slightly clearer identifier names. Unless the new names are an issue, I'll go ahead and merge this after CI completes.

@ariporad
Copy link
Copy Markdown
Contributor

LGTM

@ariporad ariporad merged commit 06c3d44 into master Jun 17, 2016
@ariporad ariporad deleted the refactor-expose-pipes branch June 17, 2016 23:06
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.

2 participants