@ben.sless The built-in answer is nesting:
#cli {A #profile {:dev ... :prod ...}
B #profile {...}}
Interesting, thank you. Another nice thing could have been using hierarchies in profiles, but I'll give it a shot
Long ago I created a #r which let you do funky stuff with and/or like was originally proposed for #? which helped with keeping these cases clearer.
https://archive.clojure.org/design-wiki/display/design/Reader%2BConditionals.html see "future extensions"