Question
How to use WP-CLI in GUI in Plesk WordPress Toolkit?
Answer
-
Navigate to Domains > example.com > WordPress menu, and press on WP-CLI button, like on screenshot below:
The following menu/drawer should appear. You may execute commands in one of the following ways:
a) click on the input field and select suggested commands, and then select the sub-commands till you reach the last sub-command, and it will ask you to provide the arguments for it;
b) write the whole command with arguments manually.
While you are writing something in the input field, it filters the list of available commands/sub-commands.
Also, WP Toolkit imitates the shell autocompletion and provides ability to navigate between commands via arrow buttons, supported buttons: enter and space (autocomplete selected command name), arrow up/down and page up/down to select the command from the filtered dropdown menu, backspace to remove the last selected command.
Additionally, you can find useful buttons:
-
to clear the arguments input;
-
to enable/disable autoscrolling;
-
to enable/disable autoclear before executing a command.
Please also check the following article, as it might be useful: How to use WP-CLI utility in Plesk WordPress Toolkit via Shell (SSH/CLI)?
Comments
1 comment
Not really useful compared to doing it via Terminal.
I tried using the command wp user delete joh, and it asked me to enter Y to agree to the deletion. I couldn't enter Y anywhere in the GUI
Please sign in to leave a comment.