pavilion2
pavilion2 copied to clipboard
Added format key to results_parse yc.
On the same level as 'action'. This avoids printing results with an absurd number of digits to the terminal. And facilitates displaying results as the user desires.
Code review checklist:
- [ ] Code is generally sensical and well commented
- [ ] Variable/function names all telegraph their purpose and contents
- [ ] Functions/classes have useful doc strings
- [ ] Function arguments are typed
- [ ] Added/modified unit tests to cover changes.
- [ ] New features have documentation added to the docs.
- [ ] New features and backwards compatibility breaks are noted in the RELEASE.md
Am I supposed to fill that out?
Anyway, I'm missing the documentation to the docs and typed function arguments. I'll fill those in, but now I want to see if it works. This feature adds a 'format' key to a result which will store and display the result as the user intends. It's inspired by this:
Which is ugly and doesn't match the format I'm visually comparing the results to, which is annoying.