Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI: Distinguish between mount and mountBeforeInstall options #1410

Merged
merged 1 commit into from
May 16, 2024

Conversation

adamziel
Copy link
Collaborator

@adamziel adamziel commented May 16, 2024

With this PR, you can mount directories in Playground CLI before WordPress is installed. This enables creating the entire file structure in a local directory instead of VFS.

This is just the first step. Eventually we'll have more mount switches and the name mount will just default to one of the options.

Testing instructions

Run this and confirm WordPress got installed in the local directory:

bun packages/playground/cli/src/cli.ts run-blueprint --mount-before-install=`pwd`/new-wordpress-site:/wordpress
ll new-wordpress-site

Related to #1398

With this PR, you can mount directories in Playground CLI before
WordPress is installed. This enables creating the entire file structure
in a local directory instead of VFS.

 ## Testing instructions

Run this and confirm WordPress got installed in the local directory:

```shell
bun packages/playground/cli/src/cli.ts run-blueprint --mount-before-install=`pwd`/new-wordpress-site:/wordpress
ll new-wordpress-site
```
@adamziel adamziel merged commit 3624eed into trunk May 16, 2024
4 checks passed
@adamziel adamziel deleted the cli-mount-before-or-after-install branch May 16, 2024 10:33
@adamziel adamziel mentioned this pull request May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant