@botozap/cli 0.1.0 → 0.1.1
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/README.md +6 -13
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ rede passa por ele.
|
|
|
9
9
|
|
|
10
10
|
> Requer **Node ≥ 20.19**. Projeto usa **pnpm** (nunca npm/npx/yarn/bun).
|
|
11
11
|
|
|
12
|
-
> **Status: preview `0.x
|
|
12
|
+
> **Status: preview `0.x`.** Sem promessa de
|
|
13
13
|
> estabilidade de comandos/flags até a `1.0`. A [API REST](https://botozap.com.br/docs)
|
|
14
14
|
> é a interface oficial e estável — se algo faltar na CLI, chame
|
|
15
15
|
> `https://botozap.com.br/api/v1` direto (`curl` + `Authorization: Bearer`).
|
|
@@ -20,24 +20,17 @@ rede passa por ele.
|
|
|
20
20
|
|
|
21
21
|
## Instalação
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
`botozap-js`:
|
|
23
|
+
Instalação global com pnpm:
|
|
25
24
|
|
|
26
25
|
```bash
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
pnpm --filter @botozap/cli build
|
|
26
|
+
pnpm add --global @botozap/cli
|
|
27
|
+
botozap --version
|
|
30
28
|
```
|
|
31
29
|
|
|
32
|
-
|
|
33
|
-
do checkout:
|
|
30
|
+
Para experimentar sem instalar globalmente:
|
|
34
31
|
|
|
35
32
|
```bash
|
|
36
|
-
|
|
37
|
-
cd packages/cli
|
|
38
|
-
pnpm link --global # disponibiliza o comando `botozap`
|
|
39
|
-
# ou rode direto:
|
|
40
|
-
node dist/index.js --help
|
|
33
|
+
pnpm dlx @botozap/cli --help
|
|
41
34
|
```
|
|
42
35
|
|
|
43
36
|
## Autenticação
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botozap/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "CLI dev-first para a API pública do BotoZap (WhatsApp Cloud API multi-tenant).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"commander": "^12.1.0",
|
|
32
32
|
"picocolors": "^1.1.1",
|
|
33
|
-
"@botozap/sdk": "0.
|
|
33
|
+
"@botozap/sdk": "0.3.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/node": "^20.19.0",
|