@chatbotkit/cli 1.9.3 → 1.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cbk.js +3 -3
- package/package.json +2 -1
package/bin/cbk.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import dotenv from 'dotenv'
|
|
3
3
|
|
|
4
|
-
import
|
|
5
|
-
import { printError } from '
|
|
4
|
+
import cli from '@chatbotkit/cli'
|
|
5
|
+
import { printError } from '@chatbotkit/cli/output'
|
|
6
6
|
|
|
7
7
|
dotenv.config({
|
|
8
8
|
// @ts-expect-error arrays are supported
|
|
9
9
|
path: ['.env.local', '.env'],
|
|
10
10
|
})
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
cli().catch(printError)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chatbotkit/cli",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.4",
|
|
4
4
|
"description": "ChatBotKit command line tools",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"engines": {
|
|
@@ -500,6 +500,7 @@
|
|
|
500
500
|
"clean:exports": "run-s build:exports",
|
|
501
501
|
"clean:node_modules": "rimraf node_modules",
|
|
502
502
|
"clean:types": "rimraf types",
|
|
503
|
+
"dev": "node bin/cbk.js",
|
|
503
504
|
"lint": "eslint .",
|
|
504
505
|
"test": "true"
|
|
505
506
|
}
|