-
Notifications
You must be signed in to change notification settings - Fork 4
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
User can set a description for their custom command that shows up when executing :ls #142
Comments
Great catch, we had this in before but we lost it while moving things around. I actually think this should be a flag as opposed to positional argument. I tend to avoid flags, but I'm pretty sure |
The Command struct appears to support Description and have null handling <new_to_go/>
|
No objection to a flag here. I'll need to dig through src more to find out where that would be handled. |
Feel free to ask plenty of questions in slack. |
Any preference on the name, usage or shorthand for this flag? |
|
https://github.com/gliderlabs/cmd/tree/joebwan_exp includes a patch worth review. At the moment I'm unable to test locally but |
96de3f8 is tested locally |
The builtin commands have descriptions but custom ones do not.
It would be nice to be able to do something like this:
ssh alpha.cmd.io :create ambiguous "not anymore"
ssh alpha.cmd.io :create ambiguous2 "much less so"
Then the :ls command would show something like:
The text was updated successfully, but these errors were encountered: