Skip to content

Conversation

yarcod-zpt
Copy link

When dealing with, e.g., paths in a configuration file, it is not uncommon to want to perform a join operation on two values in order to keep the config file 'DRY'. By adding a !join tag to the config parser, you can join one previously defined value in the invoke.yaml file with another. For example:

base: &BASE /home/root/
app: !join [*BASE, my_app/]
settings: !join [*BASE, settings]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant