I have searched all the shortcut commands, but I can’t find any shortcut commands that can directly install wordperss programs. Please help me to check whether there are quick API commands to install. thank you
Currently not, no. The API is based on the shell commands, which quick installer can’t be triggered from.
You may use WP cli commands though.
sudo -u user wp db export
That doesn’t really work with the api…
Sorry. It works with cli and not API.
Maybe we could have a generic API command to run an arbitrary command.
v-run-cli-cmd user /usr/bin/php8.1 /home/user/.wp-cli/wp should work
So with that command and a shell script one could install or upgrade WP from the API