Reset WordPress permalinks via WP-CLI

wp rewrite flush

To save having you to do it via Settings > Permalinks…

Source: https://developer.wordpress.org/cli/commands/rewrite/