howdyai / botkit-cms

An open tool for designing, building and managing interactive dialog systems
https://botkit.ai
MIT License
265 stars 92 forks source link

[feature] loadScriptsFromObject to load Scripts collection from external #11

Closed jakobo closed 4 years ago

jakobo commented 5 years ago

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.

jakobo commented 4 years ago

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.