Open zxdong262 opened 5 years ago
I don't get the point here. I tend to keep simple things simple and avoid introduce new concepts / utilities.
Why is npx ringcentral-chatbot bot.js
better than node bot-server.js
?
bot.js is pure bot logic, user do not need write/think about server part by default, so it is simpler for user getting started and still support writing a custom bot-server.js if needed.
Similar to https://github.com/zxdong262/ringcentral-engage-chatbot-js/blob/master/bin/rcec.js So we can simply run
npx ringcentral-chatbot bot.js
instead of write a server.js