[Command] Ensure that the --ansi-output flag is respected