-
Notifications
You must be signed in to change notification settings - Fork 27
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
picky about the command line interface #7
Comments
Felix, thanks for enthusiasm! Cog remains a back-burner project for me, though I still use it when needed. I'm not opposed to adding long-option support, or a click dependency. Honestly a big problem with cog is that the coding style is really archaic. When I go into the code to make a change, I am tempted to change everything, which I have to resist! |
Because of your time? I would love to support you here. I will come back to you with a suggestion... |
suggestion:
|
next action: design the interface in |
Looks like in some places you used a single dash where you meant double (DEFINE, out, prepend). Honestly, -D, -I, and -o are so common, I might skip the double-dash version. If you want to keep them, use "--define" and "--include", the all-uppercase looks odd. Thanks! |
Ok, no define, include and out. |
WIP: first draft with click Click has soooo many more possibilities. TODO: look if
|
I am bit hung up about the test strategy for the command line interface. @nedbat : What would you see as a acceptable strategy |
Dear Ned,
I really love the idea and the concept - all the time and work you put into cog.
After I heard about it on Python-Bytes I was planning to use and distribute it through different parts of my professional life and personal projects.
What I saw that made me itch to support you was the command line interface.
I really think there is a great standard with the short / long option style like -c / --crc
If you then give it a broad help keyword - including those /? from windows the command line interface is really a self-documenting thing.
At the moment you mainly use short options.
Would you be interested in a suggestion from me in form of a pull request?
Would it be fine with you to add click as a dependency? (this is nice but not necessary)
Sincerly
Felix
The text was updated successfully, but these errors were encountered: