@botonic/cli
Build Chatbots Using React
Last updated 5 days ago by mrabat .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @botonic/cli 
SYNC missed versions from official npm registry.

@botonic/cli

Build Chatbots Using React

oclif Version Downloads/week License

Usage

$ npm install -g @botonic/cli
$ botonic COMMAND
running command...
$ botonic (-v|--version|version)
@botonic/cli/0.12.0 darwin-x64 node-v10.20.1
$ botonic --help [COMMAND]
USAGE
  $ botonic COMMAND
...

Commands

botonic deploy [BOT_NAME]

Deploy Botonic project to hubtype.com

USAGE
  $ botonic deploy [BOT_NAME]

OPTIONS
  -b, --botName=botName    Name of the bot from Hubtype where you want to deploy
  -c, --command=command    Command to execute from the package "scripts" object
  -e, --email=email        Email from Hubtype Organization
  -f, --force              Force deploy despite of no changes. Disabled by default
  -p, --password=password  Password from Hubtype Organization

EXAMPLE
  $ botonic deploy
  Building...
  Creating bundle...
  Uploading...
  ???? Bot deployed!

See code: src/commands/deploy.js

botonic help [COMMAND]

display help for botonic

USAGE
  $ botonic help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

botonic login

Log in to Botonic

USAGE
  $ botonic login

OPTIONS
  -p, --path=path  Path to botonic project. Defaults to current dir.

See code: src/commands/login.js

botonic logout

Log out of Botonic

USAGE
  $ botonic logout

OPTIONS
  -p, --path=path  Path to botonic project. Defaults to current dir.

See code: src/commands/logout.js

botonic new NAME [TEMPLATENAME]

Create a new Botonic project

USAGE
  $ botonic new NAME [TEMPLATENAME]

ARGUMENTS
  NAME          name of the bot folder
  TEMPLATENAME  OPTIONAL name of the bot template

EXAMPLE
  $ botonic new test_bot
  Creating...
  ✨ test_bot was successfully created!

See code: src/commands/new.js

botonic serve

Serve your bot in your localhost

USAGE
  $ botonic serve

EXAMPLE
  $ botonic serve
  > Project is running at http://localhost:8080/

See code: src/commands/serve.js

botonic test

Test your Botonic components

USAGE
  $ botonic test

EXAMPLE
  PASS  tests/app.test.js
     ✓ TEST: hi.js (10ms)
     ✓ TEST: pizza.js (1ms)
     ✓ TEST: sausage.js (1ms)
     ✓ TEST: bacon.js
     ✓ TEST: pasta.js (1ms)
     ✓ TEST: cheese.js (1ms)
     ✓ TEST: tomato.js

  Test Suites: 1 passed, 1 total
  Tests:       7 passed, 7 total
  Snapshots:   0 total
  Time:        1.223s
  Ran all test suites.

See code: src/commands/test.js

botonic train

Serve your bot in your localhost

USAGE
  $ botonic train

OPTIONS
  --lang=lang

EXAMPLE
  $ botonic train
       TRAINING MODEL FOR {LANGUAGE}...

See code: src/commands/train.js

Current Tags

  • 0.11.2-alpha.0                                ...           alpha (2 months ago)
  • 0.9.0-beta.2                                ...           beta (8 months ago)
  • 0.12.0                                ...           latest (5 days ago)
  • 0.12.0-rc.0                                ...           rc (6 days ago)

44 Versions

  • 0.12.0                                ...           5 days ago
  • 0.12.0-rc.0                                ...           6 days ago
  • 0.11.2                                ...           2 months ago
  • 0.11.2-alpha.0                                ...           2 months ago
  • 0.11.1                                ...           2 months ago
  • 0.11.0                                ...           2 months ago
  • 0.11.0-alpha.2                                ...           2 months ago
  • 0.11.0-alpha.1                                ...           2 months ago
  • 0.11.0-alpha.0                                ...           3 months ago
  • 0.10.1                                ...           5 months ago
  • 0.10.0                                ...           6 months ago
  • 0.9.0                                ...           8 months ago
  • 0.9.0-beta.2 [deprecated]           ...           8 months ago
  • 0.9.0-alpha.6 [deprecated]           ...           10 months ago
  • 0.8.1                                ...           a year ago
  • 0.8.0                                ...           a year ago
  • 0.8.0-beta.5 [deprecated]           ...           a year ago
  • 0.8.0-beta.4 [deprecated]           ...           a year ago
  • 0.8.0-beta.3 [deprecated]           ...           a year ago
  • 0.8.0-beta.2 [deprecated]           ...           a year ago
  • 0.8.0-beta.1 [deprecated]           ...           a year ago
  • 0.8.0-alpha.0 [deprecated]           ...           a year ago
  • 0.7.1                                ...           a year ago
  • 0.7.0                                ...           a year ago
  • 0.7.0-alpha.5 [deprecated]           ...           a year ago
  • 0.7.0-alpha.4 [deprecated]           ...           a year ago
  • 0.7.0-alpha.3 [deprecated]           ...           a year ago
  • 0.7.0-alpha.2 [deprecated]           ...           a year ago
  • 0.7.0-alpha.1 [deprecated]           ...           a year ago
  • 0.6.1                                ...           a year ago
  • 0.6.0                                ...           a year ago
  • 0.6.0-alpha.5 [deprecated]           ...           a year ago
  • 0.6.0-alpha.4 [deprecated]           ...           a year ago
  • 0.6.0-alpha.3 [deprecated]           ...           a year ago
  • 0.6.0-alpha.2 [deprecated]           ...           a year ago
  • 0.6.0-alpha.1 [deprecated]           ...           a year ago
  • 0.6.0-alpha.0 [deprecated]           ...           a year ago
  • 0.5.1                                ...           2 years ago
  • 0.5.0                                ...           2 years ago
  • 0.5.0-alpha.4 [deprecated]           ...           2 years ago
  • 0.5.0-alpha.3 [deprecated]           ...           2 years ago
  • 0.5.0-alpha.2 [deprecated]           ...           2 years ago
  • 0.5.0-alpha.1 [deprecated]           ...           2 years ago
  • 0.5.0-alpha.0 [deprecated]           ...           2 years ago
Downloads
Today 44
This Week 67
This Month 110
Last Day 0
Last Week 42
Last Month 41
Dependencies (15)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |