Add missing required arguments when using `--prompt` by 2ndkauboy · Pull Request #5865 · wp-cli/wp-cli

swissspidy

@2ndkauboy

When using the `--prompt` argument on a command, the executed command
gets logged, showing the command and arguments the prompt had collected.

This logged command, however, lacks all required `$args` and only lists
the `$assoc_args` (that are not empty).

This patch will add the required arguments as well.

swissspidy

@2ndkauboy 2ndkauboy deleted the fix/5768-prompt-missing-required-parameters branch

November 10, 2023 14:03