Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add YAML include option to allow multiple include files #11

Closed
TD22057 opened this issue Dec 13, 2017 · 1 comment
Closed

Add YAML include option to allow multiple include files #11

TD22057 opened this issue Dec 13, 2017 · 1 comment

Comments

@TD22057
Copy link
Owner

TD22057 commented Dec 13, 2017

Add support for !include tags like in home assistant to allow the config file to be split into multiple files. This was originally suggested in #10 by @larizzo. Here are some simple options that allow this:
https://davidchall.github.io/yaml-includes.html
https://stackoverflow.com/questions/528281/how-can-i-include-an-yaml-file-inside-another

@TD22057
Copy link
Owner Author

TD22057 commented Dec 15, 2017

Fixed. You can now say:
devices: !include devices.yaml
or
devices: !include [dev1.yaml, dev2.yaml]

@TD22057 TD22057 closed this as completed Dec 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant