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.
Merge pull request #553 from berkerpeksag/improve-cli-example

Improve CLI example.