【发布时间】:2020-11-01 16:11:22
【问题描述】:
我有一个 yaml 文件,其中一个值 >2000 行。在配置中添加 2k 行无助于获得干净清晰的配置文件。是否可以将 2k 行移动到文本文件中并在读取 yaml 时引用文件的内容作为值
当前设置
curated:
xform1:
case when A=B then C else D end
xform2:
case ....
...............
..............
................
2000k lines
end
想要的
curated:
xform1:
case when A=B then C else D end
xform2:xform2.txt
【问题讨论】:
标签: file yaml substitution