See docs in `cli.py`