You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was thinking it would be nice if cgip acted similar to cargo when you used it with no arguments and just output --help. Also if it used ansi colors like cargo does as well, perhaps term coloransi_term or colored.
The text was updated successfully, but these errors were encountered:
This is a great suggestion!, I just want to be careful though since I have one use case that I really don't want broken.
If anything is piped into cgip we need to make sure it still works without arguments. I actually mainly use cgip inside neovim. When you select a bunch of text, you can hit ! and type cgip as a command. (I need to add this superpower suggestion to our docs somehow, its great).
So, lets only print help if we have no arguments, AND we have no input coming from stdin. Other than that I think this would really add polish to the tool overall and make it look a bit more next gen.
I was thinking it would be nice if cgip acted similar to cargo when you used it with no arguments and just output --help. Also if it used ansi colors like cargo does as well, perhaps term color ansi_term or colored.
The text was updated successfully, but these errors were encountered: