Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cli): add new serve command for Botonic 1.0 under flag --preview #1721

Merged
merged 1 commit into from Jul 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
19 changes: 11 additions & 8 deletions packages/botonic-cli/README.md
Expand Up @@ -21,7 +21,7 @@ $ npm install -g @botonic/cli
$ botonic COMMAND
running command...
$ botonic (-v|--version|version)
@botonic/cli/0.18.6 darwin-x64 node-v12.22.1
@botonic/cli/1.0.0-alpha.4 darwin-x64 node-v14.6.0
$ botonic --help [COMMAND]
USAGE
$ botonic COMMAND
Expand Down Expand Up @@ -63,7 +63,7 @@ EXAMPLE
🚀 Bot deployed!
```

_See code: [lib/commands/deploy.js](https://github.com/hubtype/botonic/blob/v0.18.6/lib/commands/deploy.js)_
_See code: [lib/commands/deploy.js](https://github.com/hubtype/botonic/blob/v1.0.0-alpha.4/lib/commands/deploy.js)_

## `botonic help [COMMAND]`

Expand Down Expand Up @@ -94,7 +94,7 @@ OPTIONS
-p, --path=path Path to botonic project. Defaults to current dir.
```

_See code: [lib/commands/login.js](https://github.com/hubtype/botonic/blob/v0.18.6/lib/commands/login.js)_
_See code: [lib/commands/login.js](https://github.com/hubtype/botonic/blob/v1.0.0-alpha.4/lib/commands/login.js)_

## `botonic logout`

Expand All @@ -108,7 +108,7 @@ OPTIONS
-p, --path=path Path to botonic project. Defaults to current dir.
```

_See code: [lib/commands/logout.js](https://github.com/hubtype/botonic/blob/v0.18.6/lib/commands/logout.js)_
_See code: [lib/commands/logout.js](https://github.com/hubtype/botonic/blob/v1.0.0-alpha.4/lib/commands/logout.js)_

## `botonic new NAME [PROJECTNAME]`

Expand All @@ -128,7 +128,7 @@ EXAMPLE
✨ test_bot was successfully created!
```

_See code: [lib/commands/new.js](https://github.com/hubtype/botonic/blob/v0.18.6/lib/commands/new.js)_
_See code: [lib/commands/new.js](https://github.com/hubtype/botonic/blob/v1.0.0-alpha.4/lib/commands/new.js)_

## `botonic serve`

Expand All @@ -138,12 +138,15 @@ Serve your bot in your localhost
USAGE
$ botonic serve

OPTIONS
-p, --preview Run preview Botonic 1.0 serve.

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

_See code: [lib/commands/serve.js](https://github.com/hubtype/botonic/blob/v0.18.6/lib/commands/serve.js)_
_See code: [lib/commands/serve.js](https://github.com/hubtype/botonic/blob/v1.0.0-alpha.4/lib/commands/serve.js)_

## `botonic test`

Expand All @@ -170,7 +173,7 @@ EXAMPLE
Ran all test suites.
```

_See code: [lib/commands/test.js](https://github.com/hubtype/botonic/blob/v0.18.6/lib/commands/test.js)_
_See code: [lib/commands/test.js](https://github.com/hubtype/botonic/blob/v1.0.0-alpha.4/lib/commands/test.js)_

## `botonic train`

Expand All @@ -188,5 +191,5 @@ EXAMPLE
TRAINING MODEL...
```

_See code: [lib/commands/train.js](https://github.com/hubtype/botonic/blob/v0.18.6/lib/commands/train.js)_
_See code: [lib/commands/train.js](https://github.com/hubtype/botonic/blob/v1.0.0-alpha.4/lib/commands/train.js)_
<!-- commandsstop -->