so it could be used in shell.py to flatten shell.command