command.py: Add tree and satisfy coding style