[PATCH v2 12/22] command: Remove the cmd_tbl_t typedef