newbot-cli

3.1.1 • Public • Published

NewBot CLI

Create new project

newbot new <folder name>

Emulator (in terminal)

newbot emulator

Options :

  • --source <platform name> : Test your chatbot on simulated platform. Example : newbot emulator --source messenger
  • --lang <lang id> : Test your chatbot with an specific language. Example : newbot emulator --lang fr_FR
  • --skill <skill folder name> : test a skill present in the skills folder. Example : newbot emulator --skill test

Generate Skill

newbot generate skill <folder name>

Run Local Server

Launch a local server and listen to your chatbot on the default port 3000

newbot serve

Options :

  • --port <port> : Launch on another port
  • --ngrok <O or 1> : Launches ngrok to create a tunnel to the local server. 0 : disable, 1 : enable (by default)

Unit Tests

newbot test

Build

newbot build

Train

newbot train

Deploy on NewBot Cloud

newbot deploy

Disconnect from NewBot Cloud

newbot logout

ChangeLog

2020-02-06

Changed

  • The train part is moved in the newbot module. So version 3.0.0 is only compatible with NewBot Framework version > 0.6
  • The training now uses version 4 of the NLPJS module. The generated model is therefore different

Dependencies (70)

Dev Dependencies (1)

Package Sidebar

Install

npm i newbot-cli

Weekly Downloads

37

Version

3.1.1

License

MIT

Unpacked Size

6.05 MB

Total Files

119

Last publish

Collaborators

  • webcreative5