Save (same) permalink from wp-cli

You can try to get current structure first by run wp option get permalink_structure and then wp option update permalink_structure ‘/%postname%’ or wp rewrite structure ‘/%postname%’ with ‘/%postname%’ is the return result of the first command. Not sure if this help