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 reporter array support #25

Merged
merged 2 commits into from
Jun 4, 2015
Merged

Conversation

jasisk
Copy link
Contributor

@jasisk jasisk commented Jun 1, 2015

I've added the ability to define multiple reporters at once.

Example usage from the cli:

nyc report --reporter=html --reporter=text

edit: this is just a minor convenience (over simply running the command twice), but figured it was worth a shot. ¯_(ツ)_/¯

@bcoe
Copy link
Member

bcoe commented Jun 1, 2015

👍 I'm a big fan of minor conveniences!

I'll make sure to upgrade to the newest yargs so that this works too: nyc report --reporter html text.

I'll get this merged when I'm at home tonight, thanks for the contribution!

bcoe added a commit that referenced this pull request Jun 4, 2015
@bcoe bcoe merged commit 28972ad into istanbuljs:master Jun 4, 2015
@bcoe
Copy link
Member

bcoe commented Jun 4, 2015

@jasisk thanks for the contribution, give [email protected] a shot.

@jasisk
Copy link
Contributor Author

jasisk commented Jun 4, 2015

My pleasure! Thanks for entertaining minor conveniences. 😀

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