The loadScriptsFromObject function makes it possible to initiaize botkit-cms without directly accessing the filesystem. This can be utilized in environments such as webpack or rollup, where server code is self-contained. When using loadScriptsFromObject the ability to write / save script files is disabled.
enables support for external storage of script files
allows for dynamic botkit-cms script loading based on things such as user ids or userflags
creates an option to avoid an fs dependency in stateless environments
Closing this, as it doesn't seem like this feature will get implemented. For our use case, we went with a different bot system that didn't rely on FS access.
The loadScriptsFromObject function makes it possible to initiaize botkit-cms without directly accessing the filesystem. This can be utilized in environments such as webpack or rollup, where server code is self-contained. When using loadScriptsFromObject the ability to write / save script files is disabled.