-
Notifications
You must be signed in to change notification settings - Fork 0
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
Better cli framework #5
Comments
at15
added a commit
that referenced
this issue
Sep 9, 2016
- add Cli application - add Command class
at15
added a commit
that referenced
this issue
Sep 11, 2016
- add .ayi.yml to use Ayi test instead of npm run ft - add cmd folder - don't load config by default, should do it before executing a callback
at15
added a commit
that referenced
this issue
Sep 11, 2016
- only show description - when -h or --help is presented, the real command execution is skipped, only help text is shown
at15
added a commit
that referenced
this issue
Sep 12, 2016
- add flag and add flags is supported, but is used for generate help documentation mostly, not for retrieving values - TODO: global flag support is partly implemented, trace back parent command to get all the global flags is needed.
btw: just found https://github.com/yargs/yargs, seems to be very similar to what I am doing. |
https://github.com/tj/commander.js is also similar in some way Update Found tj's commander again when come across vue-cli, though one thing I like about golang command line framework is each command is in one single file, though one could argue that registering all commands in one file is better |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mewo is just a simple wrapper around minimist and I am expecting a cli framework like in golang, which you can
Ref
Lib
The text was updated successfully, but these errors were encountered: