AndersDJohnson / use-yarn

Force users to use yarn instead of npm.
https://andersdjohnson.github.io/use-yarn/
ISC License
50 stars 12 forks source link

Add support for -m and -f cli flags #7

Closed alubbe closed 6 years ago

alubbe commented 6 years ago

Closes https://github.com/AndersDJohnson/use-yarn/issues/1

I've done some minor refactoring and I kept your pre-ES6 style for backwards compatibility.

Let me know if you need anything else to approve this PR.

alubbe commented 6 years ago

ping @AndersDJohnson Do you need an update to the README?

AndersDJohnson commented 6 years ago

@alubbe Thanks for the contribution! Yes, if you could update the README in this PR, that would be great.

alubbe commented 6 years ago

Okay, I have added some line to the README (feel free to improve them) and have restored the default message in the programmatic api. Any other input? @AndersDJohnson

alubbe commented 6 years ago

Done

alubbe commented 6 years ago

This'll be a nice addition, looking forward to seeing this on npm :)

AndersDJohnson commented 6 years ago

@alubbe Published to npm with 2.2.0. Thanks again!