sync: extend the devspace sync cli with ability to operate thought the config file #863
Labels
area/sync
Issues related to the real-time code synchronization
kind/feature
New feature or feature request
Is your feature request related to a problem?
No
Which solution do you suggest?
If it is possible it would be nice if
devspace sync
cli will have the ability to operate withdevspace.yaml
in the same way asdevspace dev
. In that way, sync cli can be extended with the additional functionality which is available in a declaration ofdev.sync
(like #849) without making it more complicated (with addition cli arguments). The name of sync cli arguments can be the following:--config=<config-file.yaml>
When we have defined only one rule for sync in yaml (
dev.sync[0]
)devspace sync
will pick up the sync config from yaml and apply it based on its own pod/container selection if it is defined, If not - interactively pick up the correct pod/container. An example:devspace.yaml:
The sync command:
When we have defined multiple rules for sync in yaml (
dev.sync[*]
)devspace sync
will pick up the sync config from yaml and run an interactive window to pick up the correct sync rule. An example:devspace.yaml:
The sync command:
Which alternative solutions exist?
Additional context
/kind feature
The text was updated successfully, but these errors were encountered: