Python library to simplify building of tree output with command-line interfaces