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

CLI bin console style enhancement. #793

Open
ulivz opened this issue Aug 8, 2017 · 2 comments
Open

CLI bin console style enhancement. #793

ulivz opened this issue Aug 8, 2017 · 2 comments
Labels
status:backlog Tasks planned to be worked on type:feature A feature request

Comments

@ulivz
Copy link
Contributor

ulivz commented Aug 8, 2017

Summary

The many popular framework's CLI(command line interface) is pretty accessible with a good-formatted and colorful-suitable print log, for example:

image

As a comparison, which is our snapshot:

image

Context

No very important for me, but I think it can be a power which cannot be ignored to attract more users.

Possible Implementation

I have listed some awesome libraries to quickly build awesome CLI:

cac
commander.js
yargs
caporal.js
meow

Open Questions

Is this something you're interested in working on?

Yes, I'm very interested in doing this due to I have woking for CLi creation for some time, it's so attracted for me.

@patrick-steele-idem
Copy link
Contributor

I agree that we can improve the output of the CLI. We are using argly because in the past I did not like the API that I found in similar libraries. It's been awhile so I can't remember if I have checked all of the other ones you listed. I think it would be fairly straightforward to enhance argly with improved formatting and colorization and that would be my preference (vs switching to a different CLI library).

The code for outputting the usage string can be found here.

@ulivz
Copy link
Contributor Author

ulivz commented Aug 8, 2017

@patrick-steele-idem I think I can work for this enhancement with straightforward to enhance argly.

@mlrawlings mlrawlings added status:backlog Tasks planned to be worked on type:feature A feature request labels Sep 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:backlog Tasks planned to be worked on type:feature A feature request
Projects
None yet
Development

No branches or pull requests

3 participants