Skip to content

Allow custom sync config locations#65

Open
garfieldius wants to merge 1 commit into
webdevops:developfrom
cyberhouse:feature/sync-env-config-file
Open

Allow custom sync config locations#65
garfieldius wants to merge 1 commit into
webdevops:developfrom
cyberhouse:feature/sync-env-config-file

Conversation

@garfieldius

Copy link
Copy Markdown

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.

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.
@josefglatz

Copy link
Copy Markdown
Member

Would be nice to get such a feature into clitools 👍

@mblaschke

Copy link
Copy Markdown
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment