clitools icon indicating copy to clipboard operation
clitools copied to clipboard

Allow custom sync config locations

Open garfieldius opened this issue 10 years ago • 2 comments

Add a check for the environment variable "SYNC_CONFIG" which is used to find a configuration file. This allows to place the files at a different location than the acutal project, making re-use of configurations easier.

Example

SYNC_CONFIG="$HOME/sync-projecta.yml" ct sync:server staging

The default behaviour is not altered by this change.

garfieldius avatar Sep 22 '15 11:09 garfieldius

Would be nice to get such a feature into clitools 👍

josefglatz avatar Dec 10 '15 20:12 josefglatz

Why not as option? ct sync:server staging --config=sync.yml

mblaschke avatar Dec 10 '15 23:12 mblaschke