Skip to content
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.
/ newbot-cli Public archive

Command lines to manage a NewBot project

Notifications You must be signed in to change notification settings

newbotjs/newbot-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NewBot CLI

This repository is depreciated. To install a newbot project, go to the repository https://github.com/newbotjs/newbot-framework

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

About

Command lines to manage a NewBot project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published