Regenerate Thumbnails using command-line

I am using the Thumb regenerator plugin, while the process of regenerating thumbnails it stopped at 55% and I got this message:
“If you have command-line access to your site’s server, consider using WP-CLI instead of this tool. It has a built-in regenerate command that works similarly to this tool but should be significantly faster since it has the advantage of being a command-line tool.”

Is it possible to apply this on my Staging site using WP-CLI?