tanbro / pyyaml-include

yaml include other yaml
https://pypi.org/project/pyyaml-include/
GNU General Public License v3.0
78 stars 20 forks source link

Can we use alias with include? #45

Closed paulhybryant closed 4 months ago

paulhybryant commented 4 months ago

For example:

something like:

vars: &vars !inc test.yaml

x: << *vars

tanbro commented 4 months ago

Similar discuss in #6, and @NoahFeinberg even implemeted that in #32.

But the feature is not merged to v2.x til now, i think it's usable in v1.x

paulhybryant commented 4 months ago

Thank you. Do you mean it is merged now in v2.x?

tanbro commented 4 months ago

No, the feature is not available in v2.x until now. It may be implemented in the future.