Is there a command for formatting SD card
No, it is not implemented and not much benefits to implement