Make WordPress Core


Ignore:
Timestamp:
06/13/2025 11:01:18 PM (14 months ago)
Author:
westonruter
Message:

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.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.