Build/Test Tools: Improve dev environment's CLI in speed, non-interactive usage, and argument handling.

* Start `cli` container when running `env:start`. This greatly speeds up calls to WP-CLI since the container is already running rather than having to start up for each call.
* Facilitate calls to `env:cli` in non-interactive context (non-TTY) to allow piping content into commands or use in shell scripts.
* Fix passing arguments to WP-CLI from `env:cli` so that arguments with spaces are passed as expected.
* Fix JSHint issues.

This aligns the wordpress-develop environment closer to wp-env. See https://github.com/WordPress/gutenberg/pull/50007.

Reviewed by audrasjb.
Merges [60308] to the 6.8 branch, minus the change to `.github/workflows/reusable-test-local-docker-environment-v1.yml` which was made irrelevant in [60092].

Props westonruter, jorbin, SirLouen, sandeepdahiya.
Fixes #63564.

Built from https://develop.svn.wordpress.org/branches/6.8@60432


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter
2025-07-07 23:42:28 +00:00
parent 61ea808034
commit ed9c140661

View File

@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.8.2-alpha-60431';
$wp_version = '6.8.2-alpha-60432';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.