aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_contextual.py
AgeCommit message (Collapse)AuthorFilesLines
2022-01-28Add "contextual" output optionDavid Robillard1-0/+46
This is mainly for developer or power-user cases, where one wants to look at some data for investigation or debugging. In such cases, it's common for the set of prefixes to be implicitly known (because they are baked in to the application, for example), so printing them just produces a large amount of redundant noise. That said, it can also be useful programmatically, because it allows several snippets to be written independently and ultimately concatenated (with a header to define the prefixes) without redundancy.