@winning-sales/nexo 0.1.1 → 0.2.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 +14 -1
- package/assets/docs/pages.json +1 -1
- package/assets/skills/nexo-dashboards/SKILL.md +6 -6
- package/dist/commands/dashboards.js +145 -0
- package/dist/dashboards/operations.js +124 -0
- package/dist/dashboards/panel-file.js +78 -0
- package/dist/program-dashboards.js +73 -0
- package/dist/program.js +2 -0
- package/package.json +6 -4
- package/reference.json +918 -0
package/reference.json
ADDED
|
@@ -0,0 +1,918 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.2.1",
|
|
3
|
+
"program": {
|
|
4
|
+
"name": "nexo",
|
|
5
|
+
"path": "nexo",
|
|
6
|
+
"aliases": [],
|
|
7
|
+
"description": "CLI do Nexo: a API, o Connect, os dashboards e os fluxos no terminal",
|
|
8
|
+
"arguments": [],
|
|
9
|
+
"options": [
|
|
10
|
+
{
|
|
11
|
+
"flags": "-v, --version",
|
|
12
|
+
"description": "mostra a versão",
|
|
13
|
+
"required": false,
|
|
14
|
+
"default": null,
|
|
15
|
+
"choices": null
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"flags": "-p, --profile <perfil>",
|
|
19
|
+
"description": "perfil salvo a usar (padrão: default, ou NEXO_PROFILE)",
|
|
20
|
+
"required": false,
|
|
21
|
+
"default": null,
|
|
22
|
+
"choices": null
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"flags": "--json",
|
|
26
|
+
"description": "saída em JSON, para script",
|
|
27
|
+
"required": false,
|
|
28
|
+
"default": null,
|
|
29
|
+
"choices": null
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"commands": [
|
|
33
|
+
{
|
|
34
|
+
"name": "login",
|
|
35
|
+
"path": "nexo login",
|
|
36
|
+
"aliases": [],
|
|
37
|
+
"description": "Entra no Nexo nesta máquina: pelo navegador, ou com um token pessoal",
|
|
38
|
+
"arguments": [],
|
|
39
|
+
"options": [
|
|
40
|
+
{
|
|
41
|
+
"flags": "--token",
|
|
42
|
+
"description": "cola um token pessoal, no lugar do navegador",
|
|
43
|
+
"required": false,
|
|
44
|
+
"default": null,
|
|
45
|
+
"choices": null
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"flags": "--with-token",
|
|
49
|
+
"description": "lê o token pessoal do stdin, sem perguntar",
|
|
50
|
+
"required": false,
|
|
51
|
+
"default": null,
|
|
52
|
+
"choices": null
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"flags": "--scopes <escopos>",
|
|
56
|
+
"description": "escopos pedidos no navegador, separados por vírgula (padrão: os do Nexo)",
|
|
57
|
+
"required": false,
|
|
58
|
+
"default": null,
|
|
59
|
+
"choices": null
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"flags": "--no-browser",
|
|
63
|
+
"description": "só mostra o endereço, sem abrir o navegador",
|
|
64
|
+
"required": false,
|
|
65
|
+
"default": null,
|
|
66
|
+
"choices": null
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"flags": "--env <ambiente>",
|
|
70
|
+
"description": "ambiente do Nexo",
|
|
71
|
+
"required": false,
|
|
72
|
+
"default": "prod",
|
|
73
|
+
"choices": [
|
|
74
|
+
"prod",
|
|
75
|
+
"dev"
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"flags": "--api-url <url>",
|
|
80
|
+
"description": "endereço da API, no lugar do ambiente",
|
|
81
|
+
"required": false,
|
|
82
|
+
"default": null,
|
|
83
|
+
"choices": null
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"commands": []
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "logout",
|
|
90
|
+
"path": "nexo logout",
|
|
91
|
+
"aliases": [],
|
|
92
|
+
"description": "Sai do Nexo nesta máquina; o login pelo navegador é revogado no servidor",
|
|
93
|
+
"arguments": [],
|
|
94
|
+
"options": [],
|
|
95
|
+
"commands": []
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "whoami",
|
|
99
|
+
"path": "nexo whoami",
|
|
100
|
+
"aliases": [],
|
|
101
|
+
"description": "Mostra quem está conectado, em qual empresa e com quais escopos",
|
|
102
|
+
"arguments": [],
|
|
103
|
+
"options": [],
|
|
104
|
+
"commands": []
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "api",
|
|
108
|
+
"path": "nexo api",
|
|
109
|
+
"aliases": [],
|
|
110
|
+
"description": "Chama qualquer rota do /v1 e imprime a resposta em JSON",
|
|
111
|
+
"arguments": [
|
|
112
|
+
{
|
|
113
|
+
"name": "caminho",
|
|
114
|
+
"description": "rota do /v1, como /v1/deals ou só deals",
|
|
115
|
+
"required": true,
|
|
116
|
+
"variadic": false,
|
|
117
|
+
"default": null
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"options": [
|
|
121
|
+
{
|
|
122
|
+
"flags": "-X, --method <método>",
|
|
123
|
+
"description": "GET, POST, PUT, PATCH ou DELETE",
|
|
124
|
+
"required": false,
|
|
125
|
+
"default": null,
|
|
126
|
+
"choices": null
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"flags": "-f, --raw-field <chave=valor>",
|
|
130
|
+
"description": "campo de texto (repita para mais de um)",
|
|
131
|
+
"required": false,
|
|
132
|
+
"default": [],
|
|
133
|
+
"choices": null
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"flags": "-F, --field <chave=valor>",
|
|
137
|
+
"description": "campo com tipo: número, true, false, null ou JSON",
|
|
138
|
+
"required": false,
|
|
139
|
+
"default": [],
|
|
140
|
+
"choices": null
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"flags": "--input <arquivo>",
|
|
144
|
+
"description": "corpo JSON de um arquivo, ou - para o stdin",
|
|
145
|
+
"required": false,
|
|
146
|
+
"default": null,
|
|
147
|
+
"choices": null
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"commands": []
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "docs",
|
|
154
|
+
"path": "nexo docs",
|
|
155
|
+
"aliases": [],
|
|
156
|
+
"description": "A documentação do Nexo no terminal, embutida na CLI",
|
|
157
|
+
"arguments": [],
|
|
158
|
+
"options": [],
|
|
159
|
+
"commands": [
|
|
160
|
+
{
|
|
161
|
+
"name": "list",
|
|
162
|
+
"path": "nexo docs list",
|
|
163
|
+
"aliases": [],
|
|
164
|
+
"description": "Lista as páginas",
|
|
165
|
+
"arguments": [],
|
|
166
|
+
"options": [
|
|
167
|
+
{
|
|
168
|
+
"flags": "--online",
|
|
169
|
+
"description": "lê a versão do ar, não a embutida",
|
|
170
|
+
"required": false,
|
|
171
|
+
"default": null,
|
|
172
|
+
"choices": null
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
"commands": []
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "search",
|
|
179
|
+
"path": "nexo docs search",
|
|
180
|
+
"aliases": [],
|
|
181
|
+
"description": "Busca nas páginas",
|
|
182
|
+
"arguments": [
|
|
183
|
+
{
|
|
184
|
+
"name": "termos",
|
|
185
|
+
"description": "palavras a buscar",
|
|
186
|
+
"required": true,
|
|
187
|
+
"variadic": true,
|
|
188
|
+
"default": null
|
|
189
|
+
}
|
|
190
|
+
],
|
|
191
|
+
"options": [
|
|
192
|
+
{
|
|
193
|
+
"flags": "--online",
|
|
194
|
+
"description": "lê a versão do ar, não a embutida",
|
|
195
|
+
"required": false,
|
|
196
|
+
"default": null,
|
|
197
|
+
"choices": null
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"flags": "-n, --limit <n>",
|
|
201
|
+
"description": "quantos resultados",
|
|
202
|
+
"required": false,
|
|
203
|
+
"default": "8",
|
|
204
|
+
"choices": null
|
|
205
|
+
}
|
|
206
|
+
],
|
|
207
|
+
"commands": []
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"name": "show",
|
|
211
|
+
"path": "nexo docs show",
|
|
212
|
+
"aliases": [],
|
|
213
|
+
"description": "Mostra uma página inteira, em Markdown",
|
|
214
|
+
"arguments": [
|
|
215
|
+
{
|
|
216
|
+
"name": "página",
|
|
217
|
+
"description": "nome da página (de docs list) ou parte do título",
|
|
218
|
+
"required": true,
|
|
219
|
+
"variadic": false,
|
|
220
|
+
"default": null
|
|
221
|
+
}
|
|
222
|
+
],
|
|
223
|
+
"options": [
|
|
224
|
+
{
|
|
225
|
+
"flags": "--online",
|
|
226
|
+
"description": "lê a versão do ar, não a embutida",
|
|
227
|
+
"required": false,
|
|
228
|
+
"default": null,
|
|
229
|
+
"choices": null
|
|
230
|
+
}
|
|
231
|
+
],
|
|
232
|
+
"commands": []
|
|
233
|
+
}
|
|
234
|
+
]
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"name": "skills",
|
|
238
|
+
"path": "nexo skills",
|
|
239
|
+
"aliases": [],
|
|
240
|
+
"description": "As regras do Nexo para a sua IA (Claude Code, Cursor, Codex)",
|
|
241
|
+
"arguments": [],
|
|
242
|
+
"options": [],
|
|
243
|
+
"commands": [
|
|
244
|
+
{
|
|
245
|
+
"name": "install",
|
|
246
|
+
"path": "nexo skills install",
|
|
247
|
+
"aliases": [],
|
|
248
|
+
"description": "Grava as skills do Nexo no projeto; sem opção, detecta o que o projeto usa",
|
|
249
|
+
"arguments": [],
|
|
250
|
+
"options": [
|
|
251
|
+
{
|
|
252
|
+
"flags": "--claude",
|
|
253
|
+
"description": "em .claude/skills",
|
|
254
|
+
"required": false,
|
|
255
|
+
"default": null,
|
|
256
|
+
"choices": null
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"flags": "--cursor",
|
|
260
|
+
"description": "em .cursor/rules",
|
|
261
|
+
"required": false,
|
|
262
|
+
"default": null,
|
|
263
|
+
"choices": null
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"flags": "--agents",
|
|
267
|
+
"description": "em AGENTS.md e .nexo/skills (Codex e outros)",
|
|
268
|
+
"required": false,
|
|
269
|
+
"default": null,
|
|
270
|
+
"choices": null
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"flags": "--all",
|
|
274
|
+
"description": "nos três",
|
|
275
|
+
"required": false,
|
|
276
|
+
"default": null,
|
|
277
|
+
"choices": null
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"flags": "-d, --dir <pasta>",
|
|
281
|
+
"description": "pasta do projeto",
|
|
282
|
+
"required": false,
|
|
283
|
+
"default": ".",
|
|
284
|
+
"choices": null
|
|
285
|
+
}
|
|
286
|
+
],
|
|
287
|
+
"commands": []
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"name": "list",
|
|
291
|
+
"path": "nexo skills list",
|
|
292
|
+
"aliases": [],
|
|
293
|
+
"description": "Lista as skills e onde estão instaladas no projeto",
|
|
294
|
+
"arguments": [],
|
|
295
|
+
"options": [
|
|
296
|
+
{
|
|
297
|
+
"flags": "-d, --dir <pasta>",
|
|
298
|
+
"description": "pasta do projeto",
|
|
299
|
+
"required": false,
|
|
300
|
+
"default": ".",
|
|
301
|
+
"choices": null
|
|
302
|
+
}
|
|
303
|
+
],
|
|
304
|
+
"commands": []
|
|
305
|
+
}
|
|
306
|
+
]
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"name": "mcp",
|
|
310
|
+
"path": "nexo mcp",
|
|
311
|
+
"aliases": [],
|
|
312
|
+
"description": "Configura os servidores MCP do Nexo no cliente de IA do projeto",
|
|
313
|
+
"arguments": [],
|
|
314
|
+
"options": [],
|
|
315
|
+
"commands": [
|
|
316
|
+
{
|
|
317
|
+
"name": "setup",
|
|
318
|
+
"path": "nexo mcp setup",
|
|
319
|
+
"aliases": [],
|
|
320
|
+
"description": "Escreve a configuração do MCP do Nexo e do Nexo Connect, com o token lido de NEXO_TOKEN",
|
|
321
|
+
"arguments": [],
|
|
322
|
+
"options": [
|
|
323
|
+
{
|
|
324
|
+
"flags": "--claude",
|
|
325
|
+
"description": "em .mcp.json (Claude Code)",
|
|
326
|
+
"required": false,
|
|
327
|
+
"default": null,
|
|
328
|
+
"choices": null
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"flags": "--cursor",
|
|
332
|
+
"description": "em .cursor/mcp.json",
|
|
333
|
+
"required": false,
|
|
334
|
+
"default": null,
|
|
335
|
+
"choices": null
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"flags": "--codex",
|
|
339
|
+
"description": "em .codex/config.toml",
|
|
340
|
+
"required": false,
|
|
341
|
+
"default": null,
|
|
342
|
+
"choices": null
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"flags": "--env <ambiente>",
|
|
346
|
+
"description": "ambiente do Nexo (padrão: o do login)",
|
|
347
|
+
"required": false,
|
|
348
|
+
"default": null,
|
|
349
|
+
"choices": [
|
|
350
|
+
"prod",
|
|
351
|
+
"dev"
|
|
352
|
+
]
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"flags": "-d, --dir <pasta>",
|
|
356
|
+
"description": "pasta do projeto",
|
|
357
|
+
"required": false,
|
|
358
|
+
"default": ".",
|
|
359
|
+
"choices": null
|
|
360
|
+
}
|
|
361
|
+
],
|
|
362
|
+
"commands": []
|
|
363
|
+
}
|
|
364
|
+
]
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"name": "connect",
|
|
368
|
+
"path": "nexo connect",
|
|
369
|
+
"aliases": [],
|
|
370
|
+
"description": "Nexo Connect como código: o conector numa pasta do seu repositório",
|
|
371
|
+
"arguments": [],
|
|
372
|
+
"options": [
|
|
373
|
+
{
|
|
374
|
+
"flags": "--connector <id>",
|
|
375
|
+
"description": "usa este conector no lugar do da pasta",
|
|
376
|
+
"required": false,
|
|
377
|
+
"default": null,
|
|
378
|
+
"choices": null
|
|
379
|
+
}
|
|
380
|
+
],
|
|
381
|
+
"commands": [
|
|
382
|
+
{
|
|
383
|
+
"name": "systems",
|
|
384
|
+
"path": "nexo connect systems",
|
|
385
|
+
"aliases": [],
|
|
386
|
+
"description": "O catálogo de sistemas",
|
|
387
|
+
"arguments": [],
|
|
388
|
+
"options": [
|
|
389
|
+
{
|
|
390
|
+
"flags": "--category <categoria>",
|
|
391
|
+
"description": "erp, crm, marketing, finance, ecommerce, helpdesk, database ou other",
|
|
392
|
+
"required": false,
|
|
393
|
+
"default": null,
|
|
394
|
+
"choices": null
|
|
395
|
+
}
|
|
396
|
+
],
|
|
397
|
+
"commands": []
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"name": "list",
|
|
401
|
+
"path": "nexo connect list",
|
|
402
|
+
"aliases": [],
|
|
403
|
+
"description": "Os conectores da empresa",
|
|
404
|
+
"arguments": [],
|
|
405
|
+
"options": [],
|
|
406
|
+
"commands": []
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"name": "init",
|
|
410
|
+
"path": "nexo connect init",
|
|
411
|
+
"aliases": [],
|
|
412
|
+
"description": "Cria uma pasta com connector.ts, manifest.json e os tipos do SDK",
|
|
413
|
+
"arguments": [
|
|
414
|
+
{
|
|
415
|
+
"name": "pasta",
|
|
416
|
+
"description": "pasta nova do conector",
|
|
417
|
+
"required": true,
|
|
418
|
+
"variadic": false,
|
|
419
|
+
"default": null
|
|
420
|
+
}
|
|
421
|
+
],
|
|
422
|
+
"options": [
|
|
423
|
+
{
|
|
424
|
+
"flags": "--system <slug>",
|
|
425
|
+
"description": "sistema do catálogo (veja `nexo connect systems`)",
|
|
426
|
+
"required": false,
|
|
427
|
+
"default": null,
|
|
428
|
+
"choices": null
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"flags": "--name <nome>",
|
|
432
|
+
"description": "nome do conector",
|
|
433
|
+
"required": false,
|
|
434
|
+
"default": null,
|
|
435
|
+
"choices": null
|
|
436
|
+
}
|
|
437
|
+
],
|
|
438
|
+
"commands": []
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"name": "pull",
|
|
442
|
+
"path": "nexo connect pull",
|
|
443
|
+
"aliases": [],
|
|
444
|
+
"description": "Baixa uma versão de um conector do Nexo para uma pasta nova",
|
|
445
|
+
"arguments": [
|
|
446
|
+
{
|
|
447
|
+
"name": "conector",
|
|
448
|
+
"description": "id do conector (veja `nexo connect list`)",
|
|
449
|
+
"required": true,
|
|
450
|
+
"variadic": false,
|
|
451
|
+
"default": null
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"name": "pasta",
|
|
455
|
+
"description": "pasta nova (padrão: o id)",
|
|
456
|
+
"required": false,
|
|
457
|
+
"variadic": false,
|
|
458
|
+
"default": null
|
|
459
|
+
}
|
|
460
|
+
],
|
|
461
|
+
"options": [
|
|
462
|
+
{
|
|
463
|
+
"flags": "--seq <n>",
|
|
464
|
+
"description": "versão (padrão: a em edição)",
|
|
465
|
+
"required": false,
|
|
466
|
+
"default": null,
|
|
467
|
+
"choices": null
|
|
468
|
+
}
|
|
469
|
+
],
|
|
470
|
+
"commands": []
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"name": "push",
|
|
474
|
+
"path": "nexo connect push",
|
|
475
|
+
"aliases": [],
|
|
476
|
+
"description": "Sobe connector.ts e manifest.json como uma versão nova, em edição",
|
|
477
|
+
"arguments": [
|
|
478
|
+
{
|
|
479
|
+
"name": "pasta",
|
|
480
|
+
"description": "pasta do conector",
|
|
481
|
+
"required": false,
|
|
482
|
+
"variadic": false,
|
|
483
|
+
"default": "."
|
|
484
|
+
}
|
|
485
|
+
],
|
|
486
|
+
"options": [
|
|
487
|
+
{
|
|
488
|
+
"flags": "-m, --summary <texto>",
|
|
489
|
+
"description": "o que mudou nesta versão",
|
|
490
|
+
"required": true,
|
|
491
|
+
"default": null,
|
|
492
|
+
"choices": null
|
|
493
|
+
}
|
|
494
|
+
],
|
|
495
|
+
"commands": []
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"name": "status",
|
|
499
|
+
"path": "nexo connect status",
|
|
500
|
+
"aliases": [],
|
|
501
|
+
"description": "Estado do conector no Nexo: versões, segredos faltando e hosts esperando",
|
|
502
|
+
"arguments": [
|
|
503
|
+
{
|
|
504
|
+
"name": "pasta",
|
|
505
|
+
"description": "pasta do conector",
|
|
506
|
+
"required": false,
|
|
507
|
+
"variadic": false,
|
|
508
|
+
"default": "."
|
|
509
|
+
}
|
|
510
|
+
],
|
|
511
|
+
"options": [],
|
|
512
|
+
"commands": []
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"name": "rehearse",
|
|
516
|
+
"path": "nexo connect rehearse",
|
|
517
|
+
"aliases": [],
|
|
518
|
+
"description": "Ensaia a versão em edição e mostra o resultado inteiro",
|
|
519
|
+
"arguments": [
|
|
520
|
+
{
|
|
521
|
+
"name": "pasta",
|
|
522
|
+
"description": "pasta do conector",
|
|
523
|
+
"required": false,
|
|
524
|
+
"variadic": false,
|
|
525
|
+
"default": "."
|
|
526
|
+
}
|
|
527
|
+
],
|
|
528
|
+
"options": [
|
|
529
|
+
{
|
|
530
|
+
"flags": "--full",
|
|
531
|
+
"description": "ensaio completo, no lugar da amostra",
|
|
532
|
+
"required": false,
|
|
533
|
+
"default": null,
|
|
534
|
+
"choices": null
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"flags": "--no-wait",
|
|
538
|
+
"description": "só começa o ensaio, sem esperar",
|
|
539
|
+
"required": false,
|
|
540
|
+
"default": null,
|
|
541
|
+
"choices": null
|
|
542
|
+
}
|
|
543
|
+
],
|
|
544
|
+
"commands": []
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"name": "runs",
|
|
548
|
+
"path": "nexo connect runs",
|
|
549
|
+
"aliases": [],
|
|
550
|
+
"description": "As últimas execuções",
|
|
551
|
+
"arguments": [
|
|
552
|
+
{
|
|
553
|
+
"name": "pasta",
|
|
554
|
+
"description": "pasta do conector",
|
|
555
|
+
"required": false,
|
|
556
|
+
"variadic": false,
|
|
557
|
+
"default": "."
|
|
558
|
+
}
|
|
559
|
+
],
|
|
560
|
+
"options": [],
|
|
561
|
+
"commands": []
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"name": "run",
|
|
565
|
+
"path": "nexo connect run",
|
|
566
|
+
"aliases": [],
|
|
567
|
+
"description": "Uma execução, com o que escreveria, os passos com erro e o stack",
|
|
568
|
+
"arguments": [
|
|
569
|
+
{
|
|
570
|
+
"name": "execução",
|
|
571
|
+
"description": "id da execução",
|
|
572
|
+
"required": true,
|
|
573
|
+
"variadic": false,
|
|
574
|
+
"default": null
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"name": "pasta",
|
|
578
|
+
"description": "pasta do conector",
|
|
579
|
+
"required": false,
|
|
580
|
+
"variadic": false,
|
|
581
|
+
"default": "."
|
|
582
|
+
}
|
|
583
|
+
],
|
|
584
|
+
"options": [],
|
|
585
|
+
"commands": []
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"name": "publish",
|
|
589
|
+
"path": "nexo connect publish",
|
|
590
|
+
"aliases": [],
|
|
591
|
+
"description": "Publica a versão em edição (prévia, e o sim de uma pessoa)",
|
|
592
|
+
"arguments": [
|
|
593
|
+
{
|
|
594
|
+
"name": "pasta",
|
|
595
|
+
"description": "pasta do conector",
|
|
596
|
+
"required": false,
|
|
597
|
+
"variadic": false,
|
|
598
|
+
"default": "."
|
|
599
|
+
}
|
|
600
|
+
],
|
|
601
|
+
"options": [
|
|
602
|
+
{
|
|
603
|
+
"flags": "--confirm <token>",
|
|
604
|
+
"description": "aplica com o token da prévia, depois do sim da pessoa",
|
|
605
|
+
"required": false,
|
|
606
|
+
"default": null,
|
|
607
|
+
"choices": null
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"flags": "-y, --yes",
|
|
611
|
+
"description": "aplica logo depois de mostrar a prévia",
|
|
612
|
+
"required": false,
|
|
613
|
+
"default": null,
|
|
614
|
+
"choices": null
|
|
615
|
+
}
|
|
616
|
+
],
|
|
617
|
+
"commands": []
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
"name": "enable",
|
|
621
|
+
"path": "nexo connect enable",
|
|
622
|
+
"aliases": [],
|
|
623
|
+
"description": "Liga o conector: os gatilhos passam a rodar a versão publicada (prévia e sim)",
|
|
624
|
+
"arguments": [
|
|
625
|
+
{
|
|
626
|
+
"name": "pasta",
|
|
627
|
+
"description": "pasta do conector",
|
|
628
|
+
"required": false,
|
|
629
|
+
"variadic": false,
|
|
630
|
+
"default": "."
|
|
631
|
+
}
|
|
632
|
+
],
|
|
633
|
+
"options": [
|
|
634
|
+
{
|
|
635
|
+
"flags": "--confirm <token>",
|
|
636
|
+
"description": "aplica com o token da prévia, depois do sim da pessoa",
|
|
637
|
+
"required": false,
|
|
638
|
+
"default": null,
|
|
639
|
+
"choices": null
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
"flags": "-y, --yes",
|
|
643
|
+
"description": "aplica logo depois de mostrar a prévia",
|
|
644
|
+
"required": false,
|
|
645
|
+
"default": null,
|
|
646
|
+
"choices": null
|
|
647
|
+
}
|
|
648
|
+
],
|
|
649
|
+
"commands": []
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
"name": "pause",
|
|
653
|
+
"path": "nexo connect pause",
|
|
654
|
+
"aliases": [],
|
|
655
|
+
"description": "Pausa o conector (prévia e sim)",
|
|
656
|
+
"arguments": [
|
|
657
|
+
{
|
|
658
|
+
"name": "pasta",
|
|
659
|
+
"description": "pasta do conector",
|
|
660
|
+
"required": false,
|
|
661
|
+
"variadic": false,
|
|
662
|
+
"default": "."
|
|
663
|
+
}
|
|
664
|
+
],
|
|
665
|
+
"options": [
|
|
666
|
+
{
|
|
667
|
+
"flags": "--confirm <token>",
|
|
668
|
+
"description": "aplica com o token da prévia, depois do sim da pessoa",
|
|
669
|
+
"required": false,
|
|
670
|
+
"default": null,
|
|
671
|
+
"choices": null
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"flags": "-y, --yes",
|
|
675
|
+
"description": "aplica logo depois de mostrar a prévia",
|
|
676
|
+
"required": false,
|
|
677
|
+
"default": null,
|
|
678
|
+
"choices": null
|
|
679
|
+
}
|
|
680
|
+
],
|
|
681
|
+
"commands": []
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
"name": "secrets",
|
|
685
|
+
"path": "nexo connect secrets",
|
|
686
|
+
"aliases": [],
|
|
687
|
+
"description": "Segredos do conector: o valor é digitado por uma pessoa e nunca volta",
|
|
688
|
+
"arguments": [],
|
|
689
|
+
"options": [],
|
|
690
|
+
"commands": [
|
|
691
|
+
{
|
|
692
|
+
"name": "set",
|
|
693
|
+
"path": "nexo connect secrets set",
|
|
694
|
+
"aliases": [],
|
|
695
|
+
"description": "Preenche um segredo do manifesto",
|
|
696
|
+
"arguments": [
|
|
697
|
+
{
|
|
698
|
+
"name": "nome",
|
|
699
|
+
"description": "nome do segredo, como no manifesto",
|
|
700
|
+
"required": true,
|
|
701
|
+
"variadic": false,
|
|
702
|
+
"default": null
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"name": "pasta",
|
|
706
|
+
"description": "pasta do conector",
|
|
707
|
+
"required": false,
|
|
708
|
+
"variadic": false,
|
|
709
|
+
"default": "."
|
|
710
|
+
}
|
|
711
|
+
],
|
|
712
|
+
"options": [
|
|
713
|
+
{
|
|
714
|
+
"flags": "--stdin",
|
|
715
|
+
"description": "lê o valor do stdin (para script)",
|
|
716
|
+
"required": false,
|
|
717
|
+
"default": null,
|
|
718
|
+
"choices": null
|
|
719
|
+
}
|
|
720
|
+
],
|
|
721
|
+
"commands": []
|
|
722
|
+
}
|
|
723
|
+
]
|
|
724
|
+
}
|
|
725
|
+
]
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
"name": "dashboards",
|
|
729
|
+
"path": "nexo dashboards",
|
|
730
|
+
"aliases": [
|
|
731
|
+
"paineis"
|
|
732
|
+
],
|
|
733
|
+
"description": "Painéis como código: o painel num arquivo do seu repositório",
|
|
734
|
+
"arguments": [],
|
|
735
|
+
"options": [],
|
|
736
|
+
"commands": [
|
|
737
|
+
{
|
|
738
|
+
"name": "list",
|
|
739
|
+
"path": "nexo dashboards list",
|
|
740
|
+
"aliases": [],
|
|
741
|
+
"description": "Os painéis que você vê",
|
|
742
|
+
"arguments": [],
|
|
743
|
+
"options": [],
|
|
744
|
+
"commands": []
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
"name": "catalog",
|
|
748
|
+
"path": "nexo dashboards catalog",
|
|
749
|
+
"aliases": [],
|
|
750
|
+
"description": "Busca fontes, campos e medidas que um relatório pode usar",
|
|
751
|
+
"arguments": [],
|
|
752
|
+
"options": [
|
|
753
|
+
{
|
|
754
|
+
"flags": "--text <termo>",
|
|
755
|
+
"description": "palavras a buscar",
|
|
756
|
+
"required": false,
|
|
757
|
+
"default": null,
|
|
758
|
+
"choices": null
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
"flags": "--source <fonte>",
|
|
762
|
+
"description": "só uma fonte",
|
|
763
|
+
"required": false,
|
|
764
|
+
"default": null,
|
|
765
|
+
"choices": null
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"flags": "--limit <n>",
|
|
769
|
+
"description": "quantos resultados",
|
|
770
|
+
"required": false,
|
|
771
|
+
"default": null,
|
|
772
|
+
"choices": null
|
|
773
|
+
}
|
|
774
|
+
],
|
|
775
|
+
"commands": []
|
|
776
|
+
},
|
|
777
|
+
{
|
|
778
|
+
"name": "run",
|
|
779
|
+
"path": "nexo dashboards run",
|
|
780
|
+
"aliases": [],
|
|
781
|
+
"description": "Os números de um relatório salvo, com o seu acesso",
|
|
782
|
+
"arguments": [
|
|
783
|
+
{
|
|
784
|
+
"name": "relatório",
|
|
785
|
+
"description": "id do relatório",
|
|
786
|
+
"required": true,
|
|
787
|
+
"variadic": false,
|
|
788
|
+
"default": null
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
"name": "pasta",
|
|
792
|
+
"description": "pasta do painel",
|
|
793
|
+
"required": false,
|
|
794
|
+
"variadic": false,
|
|
795
|
+
"default": "."
|
|
796
|
+
}
|
|
797
|
+
],
|
|
798
|
+
"options": [
|
|
799
|
+
{
|
|
800
|
+
"flags": "--dashboard <id>",
|
|
801
|
+
"description": "painel, no lugar do da pasta",
|
|
802
|
+
"required": false,
|
|
803
|
+
"default": null,
|
|
804
|
+
"choices": null
|
|
805
|
+
}
|
|
806
|
+
],
|
|
807
|
+
"commands": []
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
"name": "init",
|
|
811
|
+
"path": "nexo dashboards init",
|
|
812
|
+
"aliases": [],
|
|
813
|
+
"description": "Cria uma pasta com dashboard.json (um painel com uma aba vazia)",
|
|
814
|
+
"arguments": [
|
|
815
|
+
{
|
|
816
|
+
"name": "pasta",
|
|
817
|
+
"description": "pasta nova do painel",
|
|
818
|
+
"required": true,
|
|
819
|
+
"variadic": false,
|
|
820
|
+
"default": null
|
|
821
|
+
}
|
|
822
|
+
],
|
|
823
|
+
"options": [
|
|
824
|
+
{
|
|
825
|
+
"flags": "--name <nome>",
|
|
826
|
+
"description": "nome do painel",
|
|
827
|
+
"required": false,
|
|
828
|
+
"default": null,
|
|
829
|
+
"choices": null
|
|
830
|
+
}
|
|
831
|
+
],
|
|
832
|
+
"commands": []
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
"name": "pull",
|
|
836
|
+
"path": "nexo dashboards pull",
|
|
837
|
+
"aliases": [],
|
|
838
|
+
"description": "Baixa um painel do Nexo para uma pasta nova",
|
|
839
|
+
"arguments": [
|
|
840
|
+
{
|
|
841
|
+
"name": "painel",
|
|
842
|
+
"description": "id do painel (veja `nexo dashboards list`)",
|
|
843
|
+
"required": true,
|
|
844
|
+
"variadic": false,
|
|
845
|
+
"default": null
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
"name": "pasta",
|
|
849
|
+
"description": "pasta nova (padrão: o id)",
|
|
850
|
+
"required": false,
|
|
851
|
+
"variadic": false,
|
|
852
|
+
"default": null
|
|
853
|
+
}
|
|
854
|
+
],
|
|
855
|
+
"options": [],
|
|
856
|
+
"commands": []
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
"name": "push",
|
|
860
|
+
"path": "nexo dashboards push",
|
|
861
|
+
"aliases": [],
|
|
862
|
+
"description": "Compara a pasta com o painel no Nexo, mostra a prévia e salva depois do sim",
|
|
863
|
+
"arguments": [
|
|
864
|
+
{
|
|
865
|
+
"name": "pasta",
|
|
866
|
+
"description": "pasta do painel",
|
|
867
|
+
"required": false,
|
|
868
|
+
"variadic": false,
|
|
869
|
+
"default": "."
|
|
870
|
+
}
|
|
871
|
+
],
|
|
872
|
+
"options": [
|
|
873
|
+
{
|
|
874
|
+
"flags": "-m, --summary <texto>",
|
|
875
|
+
"description": "o que mudou, para o histórico de versões",
|
|
876
|
+
"required": false,
|
|
877
|
+
"default": null,
|
|
878
|
+
"choices": null
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
"flags": "-y, --yes",
|
|
882
|
+
"description": "salva logo depois de mostrar a prévia",
|
|
883
|
+
"required": false,
|
|
884
|
+
"default": null,
|
|
885
|
+
"choices": null
|
|
886
|
+
}
|
|
887
|
+
],
|
|
888
|
+
"commands": []
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"name": "save",
|
|
892
|
+
"path": "nexo dashboards save",
|
|
893
|
+
"aliases": [],
|
|
894
|
+
"description": "Salva uma prévia já mostrada, depois do sim da pessoa",
|
|
895
|
+
"arguments": [
|
|
896
|
+
{
|
|
897
|
+
"name": "prévia",
|
|
898
|
+
"description": "id da prévia que o push mostrou",
|
|
899
|
+
"required": true,
|
|
900
|
+
"variadic": false,
|
|
901
|
+
"default": null
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
"name": "pasta",
|
|
905
|
+
"description": "pasta a atualizar com o painel salvo",
|
|
906
|
+
"required": false,
|
|
907
|
+
"variadic": false,
|
|
908
|
+
"default": null
|
|
909
|
+
}
|
|
910
|
+
],
|
|
911
|
+
"options": [],
|
|
912
|
+
"commands": []
|
|
913
|
+
}
|
|
914
|
+
]
|
|
915
|
+
}
|
|
916
|
+
]
|
|
917
|
+
}
|
|
918
|
+
}
|