Improve CLI example.

It would be good to be able to just copy/paste and run the example
locally.

This commit also improves the markup a bit.