Standalone command-line tool to manage local WordPress sites
This is a fork of wp-now
, customized for local development and testing purpose.
- Add option
--silence
to stop log messages to console, for example during tests - Add option
--open
to optionally open the site in a browser (previously by default) - Load compatible configuration from
.wp-env.json
and.wp-env.override.json
- Port
- Mappings: Mount directories from local file system, such as vendor plugins
- Package standalone executable binary for Linux/macOS/Windows - Currently using
@yao-pkg/pkg
git clone --depth 1 --single-branch --branch trunk https://github.com/WordPress/playground-tools now
git remote -v
git remote remove origin
git remote add upstream https://github.com/WordPress/playground-tools
git branch -m trunk upstream-trunk
git subtree split --prefix=packages/wp-now/src -b wp-now
git checkout wp-now
git checkout -b main
git checkout upstream-trunk
git pull
git subtree split --prefix=packages/wp-now/src --onto wp-now -b wp-now
git checkout main
git merge wp-now