There is already preliminary work at https://github.com/krebs/krops/pull/22 `kmein` uses this on master [here](https://github.com/kmein/krops)