wp-cli/eval-command
Adds WP-CLI commands to run arbitrary PHP code or execute PHP files from the command line. Supports running with or without loading WordPress, delaying execution until a specific hook, and passing args to scripts.
$assoc_args can be used in eval [#89]wp-cli/wp-cli v2.12 [#77]composer phpcbf and allow wordpress-core-installer [#67]master to main [#61]__FILE__/__DIR__ regex pattern [#44]#! /bin/bash and similar at the beginning of PHP files [#35]How can I help you explore Laravel packages today?