10up / wp-local-docker-v2

ARCHIVED: A simple Docker based development environment for WordPress.
MIT License
484 stars 81 forks source link

Is it possible to run commands non-interactively #349

Closed elindydotcom closed 1 year ago

elindydotcom commented 1 year ago

Troubleshooting

Describe your question

I was wondering if it's possible to run commands such as 10updocker create and pass parameters on the command line (or via environment vars) instead of responding to interactive prompts?

Code of Conduct

dustinrue commented 1 year ago

It is currently not possible to create sites in a single command. I recommend creating a project template you can use to generate additional environments from. As long as what you generate is placed into your configured wp-local-docker sites directory it will work as expected.