-
Notifications
You must be signed in to change notification settings - Fork 68
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
[FEATURE] Improve --list output #436
Comments
- Takes most of the #436 suggestions
Thanks for the suggestions.
In addition:
I didn't change the 'comment/description' (name) [type] format because this is the way KiBot refers to an output every time an output object is casted to string. This includes errors. |
Would my suggestion not be easier to read on those situations as well (I only saw this format being used to print the current output in a normal run where the improved format would also work IMHO - I couldn't quickly find other places where it was used)? Or are you worried about compatibility? In any case, the |
I did give this a quick test - looks great otherwise! |
Is used when reporting errors, in general: every place where one output object is printed uses it.
Yes, and I think this is the best when the descriptions are correct. I added an option to use the name first in the list, above mentioned commit. |
Cool, just tried it, looks good. I'll document the |
Describe the solution you'd like
Currently, --list outputs something like:
I would like to suggest to my coworkers that they can use
--list
to figure out what outputs kibot supports, so they can run kibot with specific target names to produce specific outputs when needed. However, I thin the --list output as shown above is not so easy to read and could be improved.I have some specific suggestions on how to improve this:
--list
. They serve no real purpose here - in fact I wonder if--list
actually needs to load the kicad files at all (is it not sufficient to read the config to print this output)?Applying all suggestions, the output could be something like:
The text was updated successfully, but these errors were encountered: