Follow-up to #43.
Add a third tool type that runs a WP-CLI command. Enabled only when the WP_CLI constant is defined; otherwise the option is greyed out in the wizard with a clear note.
Security note: command and args must use a parameterised invocation (WP_CLI::runcommand( …, [ 'launch' => false ] )) — never shell_exec / exec / a single string-interpolated command line.
Follow-up to #43.
Add a third tool type that runs a WP-CLI command. Enabled only when the
WP_CLIconstant is defined; otherwise the option is greyed out in the wizard with a clear note.Security note: command and args must use a parameterised invocation (
WP_CLI::runcommand( …, [ 'launch' => false ] )) — nevershell_exec/exec/ a single string-interpolated command line.