Introduce format_command. Fixes #7