-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
would be great if we could do inline conditionals as part of the expansion modifiers:
ENV: ${ENV:=prod}
SUBFORK_DOMAIN: ${ENV==dev:?myapp-dev.fork.io:myapp.fork.io}
so that when resolving SUBFORK_DOMAIN, we get:
$ envstack -r SUBFORK_DOMAIN
SUBFORK_DOMAIN=myapp.fork.io
$ ENV=dev envstack -r SUBFORK_DOMAIN
SUBFORK_DOMAIN=myapp-dev.fork.io
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request