Was experimenting with CLI recently and came to one idea. The main thing that annoys in CLI tests compared with API, is amount of redundant code we have, like this:
# API
content_view = entities.ContentView(id=123).read()
# CLI
result = ContentView.info({'id': 123})