Releases: Meituan-Dianping/lyrebird
Releases · Meituan-Dianping/lyrebird
v0.14.1
v0.14.0
v0.13.9
v0.13.8
v0.13.7
v0.13.6
v0.13.5
v0.13.4
v0.13.3
v0.13.2
New
- Custom config
Then lyrebird will start with this custom config
lyrebird -c your/config/file/path
If this custom config did not have prop like mock.port, lyrebird will load default setting to set this prop
e.g.
your custom conf is:Lyrebird actually load config:{ "my-key": "my-value" }
{ "mock.port": 9090, "mock.data":"./data", ... my-key": "my-value" }
- Template system for config file
We import jinjia2 for config. Now you can use val current_dir in the config file, to set a file path
likeThen lyrebird actually load a config:{ "key":"{{current_dir}}/my/data/file" }
{ ... "key":"/your/config/root/dir/my/data/file" }