Continued work on support for cd and ls commands in cli.py for path-like keys