Last active
October 19, 2018 23:03
-
-
Save lodejard/c0f446d90deca0359e7a98d2e58f7367 to your computer and use it in GitHub Desktop.
Switching config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foo:x=hello | |
foo:bar:y=world |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; an one section | |
[foo] | |
x=hello | |
bar:y=world | |
; an multiple sections | |
[foo] | |
x=hello | |
[foo:bar] | |
y=world |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; one section switching values | |
[foo] | |
x=hello | |
x_switch:prod=prodhello | |
bar:y=world | |
bar:y_switch:prod=prodworld | |
; multiple sections switching values | |
[foo] | |
x=hello | |
x_switch:prod=prodhello | |
[foo:bar] | |
y=world | |
y_switch:prod=prodworld | |
; multiple sections switching sections | |
[foo] | |
x=hello | |
x_switch:prod=prodhello | |
[foo:bar] | |
y=world | |
[foo:bar_switch:prod] | |
y=prodworld |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment