WP-CLI

A command line interface for WordPress

wp db repair - Repair the database.