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

Use meow? #309

Closed
brodybits opened this issue Aug 30, 2018 · 4 comments
Closed

Use meow? #309

brodybits opened this issue Aug 30, 2018 · 4 comments

Comments

@brodybits
Copy link
Contributor

In apache/cordova-lib#671 (comment) @raphinesse mentioned refactoring the CLI using yargs or something similar.

I wanted to add a suggestion to take a look at the meow package [1] [2] which seems to make CLIs extremely easy to write. I made a quick (dumb) demo in [3].

[1] https://github.com/sindresorhus/meow
[2] https://www.npmjs.com/package/meow
[3] https://github.com/brodybits/easy-rm-rf

@raphinesse
Copy link
Contributor

I remember taking a look and that I felt it was a bit too limited for our needs. Can't exactly remember what it was. Maybe sub-command support? I'll be sure to consider it, should I actually get to the rewrite.

@brodybits
Copy link
Contributor Author

Makes sense. I would favor reporting any such limitations to meow for possible improvement.

@raphinesse
Copy link
Contributor

sindresorhus/meow#69

@raphinesse
Copy link
Contributor

Given meow's lack of support for sub-commands, I will close this issue.

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

No branches or pull requests

2 participants