Open timclifford opened 1 year ago
The ability to sync a single (or regex!) files either way would be useful for some new use cases (specifically syncing a composer.{json|lock} file from prod>local Bonus points if there was a way to specify them as a built-in option in the config for easy re-use
As per #80 - this adds two new sub-commands under sync:
to-file
andfrom-file
. This enables a user to directly import resources from a dump file into a given target environment and it also allows a user to run only a resource dump to file.The default syncher is
mariadb
so you can omit it as as argument aftersync
.Examples:
This
to-file
example will perform a database dump of the dev environment.This
from-file
example will import a local database dump into the dev environment of the project.