Skip to content

Instantly share code, notes, and snippets.

@juliuscanute
Created May 25, 2020 22:31
Show Gist options
  • Save juliuscanute/1a39af84b19069946d639746d7e53e4c to your computer and use it in GitHub Desktop.
Save juliuscanute/1a39af84b19069946d639746d7e53e4c to your computer and use it in GitHub Desktop.
AppConfig & Config DSL
appConfig {
config("ALPHA") {
switch {/*...*/}
range {/*...*/}
editable {/*...*/}
choice {/*...*/}
}
config("BETA") {
switch {/*...*/}
range {/*...*/}
editable {/*...*/}
choice {/*...*/}
}
config("GAMMA") {
switch {/*...*/}
range {/*...*/}
editable {/*...*/}
choice {/*...*/}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment