I finally did it... Here is a test that can be run (and add to coverage) that executes the CLI and can generate md formatted output that can be used for examples.
The idea is to actually go through the steps of the example in an automated way and use that for showing the output.
It is a bit repetitive but I think easy enough to read thanks to the descriptions.
Some assumptions are made about the naming scheme of the modules which is largely due to hooking the the coverage reports.
I finally did it... Here is a test that can be run (and add to coverage) that executes the CLI and can generate md formatted output that can be used for examples.
The idea is to actually go through the steps of the example in an automated way and use that for showing the output. It is a bit repetitive but I think easy enough to read thanks to the descriptions.
Some assumptions are made about the naming scheme of the modules which is largely due to hooking the the coverage reports.