Making WP-CLI work for You with Alain Schlesser - a podcast by Plesk

from 2022-10-10T04:00

:: ::

  • The WordPress Dashboard is a typical GUI with specific use-cases in mind. CLI is way more expressive
  • It’s also a much more scalable solution because you’re not dealing with the assumptions of Core developers. You can create anything you’d like.
  • When you’re running a Dashboard solution, everything is a standard web request. With WP-CLI, you run the commands through shell.
  • It doesn’t just allow easy scripting, but for a normalization layer. If you have a common set of tools and settings you use for each site, WP-CLI can normalize the installation process for you. 
  • You can start off simple, updating Core, themes, and plugins, and then move on to more complicated actions. There are very powerful commands to do imports and exports, combined with search and replace.
  • This allows you to have fully automated site migrations.
  • WordPress has been changing rapidly, and WP-CLI is trying to keep up. They’re working to make sure everything works with Gutenberg. 
  • They’re also working to ensure WP Scaffold, a feature that allows you to spin up new plugins and themes, works properly. 
  • Any plugin can integrate and support WP-CLI by adding their own set of commands. For example, if you use a Forms plugin to gather submissions, you can use WP-CLI (integrated with that forms plugin) to gather all of the data, and create beautiful reports and charts.
  • The possibilities are endless with WP-CLI. It’s really the most uninhibited version of WordPress you can get.

Further episodes of Plesk Official Podcast

Further podcasts by Plesk

Website of Plesk