@winning-sales/nexo 0.5.0 → 0.7.0
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 +119 -1
- package/assets/skills/nexo-api/SKILL.md +2 -1
- package/assets/skills/nexo-connect/SKILL.md +20 -5
- package/dist/commands/connect-access.js +279 -0
- package/dist/commands/connect-agents.js +132 -0
- package/dist/commands/connect-build.js +172 -0
- package/dist/commands/connect-execute.js +85 -0
- package/dist/commands/connect-files.js +23 -7
- package/dist/commands/connect-hosts.js +177 -0
- package/dist/commands/connect-retained.js +134 -0
- package/dist/commands/connect-runs.js +70 -14
- package/dist/commands/connect-versions.js +143 -0
- package/dist/commands/erp.js +225 -0
- package/dist/commands/login.js +1 -5
- package/dist/commands/mcp.js +2 -1
- package/dist/commands/platform.js +98 -0
- package/dist/commands/whoami.js +9 -1
- package/dist/config/environments.js +10 -0
- package/dist/connect/access.js +117 -0
- package/dist/connect/agents.js +71 -0
- package/dist/connect/changes.js +68 -7
- package/dist/connect/operation-args.js +30 -0
- package/dist/connect/retained.js +106 -0
- package/dist/connect/runs.js +65 -10
- package/dist/connect/schedule.js +38 -0
- package/dist/connect/template.js +23 -0
- package/dist/connect/versions.js +60 -0
- package/dist/erp/operations.js +87 -0
- package/dist/http/problem.js +22 -1
- package/dist/program-connect-access.js +134 -0
- package/dist/program-connect.js +256 -4
- package/dist/program-erp.js +44 -0
- package/dist/program.js +22 -1
- package/dist/tools/tool-manifest.js +65 -0
- package/package.json +1 -1
- package/reference.json +1394 -54
package/reference.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.7.0",
|
|
3
3
|
"program": {
|
|
4
4
|
"name": "nexo",
|
|
5
5
|
"path": "nexo",
|
|
@@ -103,6 +103,48 @@
|
|
|
103
103
|
"options": [],
|
|
104
104
|
"commands": []
|
|
105
105
|
},
|
|
106
|
+
{
|
|
107
|
+
"name": "companies",
|
|
108
|
+
"path": "nexo companies",
|
|
109
|
+
"aliases": [],
|
|
110
|
+
"description": "Lista as empresas em que o usuário da plataforma pode agir (só com login de plataforma)",
|
|
111
|
+
"arguments": [
|
|
112
|
+
{
|
|
113
|
+
"name": "busca",
|
|
114
|
+
"description": "parte do nome da empresa",
|
|
115
|
+
"required": false,
|
|
116
|
+
"variadic": false,
|
|
117
|
+
"default": null
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"options": [],
|
|
121
|
+
"commands": []
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "use",
|
|
125
|
+
"path": "nexo use",
|
|
126
|
+
"aliases": [],
|
|
127
|
+
"description": "Escolhe a empresa em que a conexão de plataforma age, por id ou por um nome que case com uma só; fica valendo até a troca",
|
|
128
|
+
"arguments": [
|
|
129
|
+
{
|
|
130
|
+
"name": "empresa",
|
|
131
|
+
"description": "id da empresa, ou parte do nome",
|
|
132
|
+
"required": false,
|
|
133
|
+
"variadic": false,
|
|
134
|
+
"default": null
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
"options": [
|
|
138
|
+
{
|
|
139
|
+
"flags": "--none",
|
|
140
|
+
"description": "sai da empresa escolhida",
|
|
141
|
+
"required": false,
|
|
142
|
+
"default": null,
|
|
143
|
+
"choices": null
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
"commands": []
|
|
147
|
+
},
|
|
106
148
|
{
|
|
107
149
|
"name": "api",
|
|
108
150
|
"path": "nexo api",
|
|
@@ -334,7 +376,7 @@
|
|
|
334
376
|
"name": "setup",
|
|
335
377
|
"path": "nexo mcp setup",
|
|
336
378
|
"aliases": [],
|
|
337
|
-
"description": "Escreve a configuração do MCP do Nexo e do Nexo Connect, com o token lido de NEXO_TOKEN",
|
|
379
|
+
"description": "Escreve a configuração do MCP do Nexo, do Nexo Admin e do Nexo Connect, com o token lido de NEXO_TOKEN",
|
|
338
380
|
"arguments": [],
|
|
339
381
|
"options": [
|
|
340
382
|
{
|
|
@@ -422,6 +464,63 @@
|
|
|
422
464
|
"options": [],
|
|
423
465
|
"commands": []
|
|
424
466
|
},
|
|
467
|
+
{
|
|
468
|
+
"name": "rename",
|
|
469
|
+
"path": "nexo connect rename",
|
|
470
|
+
"aliases": [],
|
|
471
|
+
"description": "Muda o nome do conector (e, se quiser, a descrição) e mostra o nome antigo e o novo",
|
|
472
|
+
"arguments": [
|
|
473
|
+
{
|
|
474
|
+
"name": "nome",
|
|
475
|
+
"description": "nome novo",
|
|
476
|
+
"required": true,
|
|
477
|
+
"variadic": false,
|
|
478
|
+
"default": null
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"name": "pasta",
|
|
482
|
+
"description": "pasta do conector",
|
|
483
|
+
"required": false,
|
|
484
|
+
"variadic": false,
|
|
485
|
+
"default": "."
|
|
486
|
+
}
|
|
487
|
+
],
|
|
488
|
+
"options": [
|
|
489
|
+
{
|
|
490
|
+
"flags": "--description <texto>",
|
|
491
|
+
"description": "descrição nova (vazia apaga a descrição)",
|
|
492
|
+
"required": false,
|
|
493
|
+
"default": null,
|
|
494
|
+
"choices": null
|
|
495
|
+
}
|
|
496
|
+
],
|
|
497
|
+
"commands": []
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"name": "delete",
|
|
501
|
+
"path": "nexo connect delete",
|
|
502
|
+
"aliases": [],
|
|
503
|
+
"description": "Apaga o conector, sem volta (só pausado ou em rascunho): mostra a prévia e pede que você digite o nome; a pasta local fica no disco",
|
|
504
|
+
"arguments": [
|
|
505
|
+
{
|
|
506
|
+
"name": "pasta",
|
|
507
|
+
"description": "pasta do conector",
|
|
508
|
+
"required": false,
|
|
509
|
+
"variadic": false,
|
|
510
|
+
"default": "."
|
|
511
|
+
}
|
|
512
|
+
],
|
|
513
|
+
"options": [
|
|
514
|
+
{
|
|
515
|
+
"flags": "--confirm <token>",
|
|
516
|
+
"description": "apaga com o token da prévia, depois do sim da pessoa (num script; -y não basta)",
|
|
517
|
+
"required": false,
|
|
518
|
+
"default": null,
|
|
519
|
+
"choices": null
|
|
520
|
+
}
|
|
521
|
+
],
|
|
522
|
+
"commands": []
|
|
523
|
+
},
|
|
425
524
|
{
|
|
426
525
|
"name": "init",
|
|
427
526
|
"path": "nexo connect init",
|
|
@@ -556,6 +655,27 @@
|
|
|
556
655
|
"required": false,
|
|
557
656
|
"default": null,
|
|
558
657
|
"choices": null
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"flags": "--operation <chave>",
|
|
661
|
+
"description": "ensaia esta operação do manifesto (com --args)",
|
|
662
|
+
"required": false,
|
|
663
|
+
"default": null,
|
|
664
|
+
"choices": null
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"flags": "--args <json|@arquivo>",
|
|
668
|
+
"description": "argumentos da operação: um objeto JSON, ou @arquivo",
|
|
669
|
+
"required": false,
|
|
670
|
+
"default": null,
|
|
671
|
+
"choices": null
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"flags": "-q, --quiet",
|
|
675
|
+
"description": "só o resumo, sem logs, resultado nem quarentena",
|
|
676
|
+
"required": false,
|
|
677
|
+
"default": null,
|
|
678
|
+
"choices": null
|
|
559
679
|
}
|
|
560
680
|
],
|
|
561
681
|
"commands": []
|
|
@@ -581,7 +701,7 @@
|
|
|
581
701
|
"name": "run",
|
|
582
702
|
"path": "nexo connect run",
|
|
583
703
|
"aliases": [],
|
|
584
|
-
"description": "Uma execução
|
|
704
|
+
"description": "Uma execução: o que escreveria, os passos com erro, o stack, os logs do script, o resultado e o que iria para a quarentena",
|
|
585
705
|
"arguments": [
|
|
586
706
|
{
|
|
587
707
|
"name": "execução",
|
|
@@ -598,15 +718,78 @@
|
|
|
598
718
|
"default": "."
|
|
599
719
|
}
|
|
600
720
|
],
|
|
721
|
+
"options": [
|
|
722
|
+
{
|
|
723
|
+
"flags": "-q, --quiet",
|
|
724
|
+
"description": "só o resumo, sem logs, resultado nem quarentena",
|
|
725
|
+
"required": false,
|
|
726
|
+
"default": null,
|
|
727
|
+
"choices": null
|
|
728
|
+
}
|
|
729
|
+
],
|
|
730
|
+
"commands": []
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
"name": "versions",
|
|
734
|
+
"path": "nexo connect versions",
|
|
735
|
+
"aliases": [],
|
|
736
|
+
"description": "As versões do conector: resumo, origem, quem escreveu, quando e se tem ensaio limpo",
|
|
737
|
+
"arguments": [
|
|
738
|
+
{
|
|
739
|
+
"name": "pasta",
|
|
740
|
+
"description": "pasta do conector",
|
|
741
|
+
"required": false,
|
|
742
|
+
"variadic": false,
|
|
743
|
+
"default": "."
|
|
744
|
+
}
|
|
745
|
+
],
|
|
601
746
|
"options": [],
|
|
602
747
|
"commands": []
|
|
603
748
|
},
|
|
604
749
|
{
|
|
605
|
-
"name": "
|
|
606
|
-
"path": "nexo connect
|
|
750
|
+
"name": "diff",
|
|
751
|
+
"path": "nexo connect diff",
|
|
607
752
|
"aliases": [],
|
|
608
|
-
"description": "
|
|
753
|
+
"description": "O que mudou no código e no manifesto entre duas versões (sem <para>, até a em edição)",
|
|
754
|
+
"arguments": [
|
|
755
|
+
{
|
|
756
|
+
"name": "de",
|
|
757
|
+
"description": "versão mais antiga",
|
|
758
|
+
"required": true,
|
|
759
|
+
"variadic": false,
|
|
760
|
+
"default": null
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
"name": "para",
|
|
764
|
+
"description": "versão mais nova (padrão: a em edição)",
|
|
765
|
+
"required": false,
|
|
766
|
+
"variadic": false,
|
|
767
|
+
"default": null
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
"name": "pasta",
|
|
771
|
+
"description": "pasta do conector",
|
|
772
|
+
"required": false,
|
|
773
|
+
"variadic": false,
|
|
774
|
+
"default": null
|
|
775
|
+
}
|
|
776
|
+
],
|
|
777
|
+
"options": [],
|
|
778
|
+
"commands": []
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
"name": "restore",
|
|
782
|
+
"path": "nexo connect restore",
|
|
783
|
+
"aliases": [],
|
|
784
|
+
"description": "Volta a uma versão: o Nexo guarda como versão nova em edição e a pasta é reescrita (mostra e pede o sim)",
|
|
609
785
|
"arguments": [
|
|
786
|
+
{
|
|
787
|
+
"name": "versão",
|
|
788
|
+
"description": "número da versão (veja `nexo connect versions`)",
|
|
789
|
+
"required": true,
|
|
790
|
+
"variadic": false,
|
|
791
|
+
"default": null
|
|
792
|
+
},
|
|
610
793
|
{
|
|
611
794
|
"name": "pasta",
|
|
612
795
|
"description": "pasta do conector",
|
|
@@ -617,8 +800,93 @@
|
|
|
617
800
|
],
|
|
618
801
|
"options": [
|
|
619
802
|
{
|
|
620
|
-
"flags": "--confirm
|
|
621
|
-
"description": "aplica
|
|
803
|
+
"flags": "--confirm",
|
|
804
|
+
"description": "aplica, depois do sim da pessoa",
|
|
805
|
+
"required": false,
|
|
806
|
+
"default": null,
|
|
807
|
+
"choices": null
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
"flags": "-y, --yes",
|
|
811
|
+
"description": "aplica logo depois de mostrar a prévia",
|
|
812
|
+
"required": false,
|
|
813
|
+
"default": null,
|
|
814
|
+
"choices": null
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
"flags": "--force",
|
|
818
|
+
"description": "descarta mudanças da pasta que não foram para o Nexo",
|
|
819
|
+
"required": false,
|
|
820
|
+
"default": null,
|
|
821
|
+
"choices": null
|
|
822
|
+
}
|
|
823
|
+
],
|
|
824
|
+
"commands": []
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"name": "run-now",
|
|
828
|
+
"path": "nexo connect run-now",
|
|
829
|
+
"aliases": [],
|
|
830
|
+
"description": "Roda a versão publicada agora, ao vivo: grava no Nexo e o desfazer leva de volta (mostra e pede o sim)",
|
|
831
|
+
"arguments": [
|
|
832
|
+
{
|
|
833
|
+
"name": "pasta",
|
|
834
|
+
"description": "pasta do conector",
|
|
835
|
+
"required": false,
|
|
836
|
+
"variadic": false,
|
|
837
|
+
"default": "."
|
|
838
|
+
}
|
|
839
|
+
],
|
|
840
|
+
"options": [
|
|
841
|
+
{
|
|
842
|
+
"flags": "--confirm",
|
|
843
|
+
"description": "aplica, depois do sim da pessoa",
|
|
844
|
+
"required": false,
|
|
845
|
+
"default": null,
|
|
846
|
+
"choices": null
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
"flags": "-y, --yes",
|
|
850
|
+
"description": "aplica logo depois de mostrar a prévia",
|
|
851
|
+
"required": false,
|
|
852
|
+
"default": null,
|
|
853
|
+
"choices": null
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
"flags": "--no-wait",
|
|
857
|
+
"description": "só abre a execução, sem esperar",
|
|
858
|
+
"required": false,
|
|
859
|
+
"default": null,
|
|
860
|
+
"choices": null
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
"flags": "-q, --quiet",
|
|
864
|
+
"description": "só o resumo, sem logs, resultado nem quarentena",
|
|
865
|
+
"required": false,
|
|
866
|
+
"default": null,
|
|
867
|
+
"choices": null
|
|
868
|
+
}
|
|
869
|
+
],
|
|
870
|
+
"commands": []
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
"name": "initial-load",
|
|
874
|
+
"path": "nexo connect initial-load",
|
|
875
|
+
"aliases": [],
|
|
876
|
+
"description": "Faz a carga inicial, ao vivo: lê a origem inteira e grava no Nexo (mostra e pede o sim)",
|
|
877
|
+
"arguments": [
|
|
878
|
+
{
|
|
879
|
+
"name": "pasta",
|
|
880
|
+
"description": "pasta do conector",
|
|
881
|
+
"required": false,
|
|
882
|
+
"variadic": false,
|
|
883
|
+
"default": "."
|
|
884
|
+
}
|
|
885
|
+
],
|
|
886
|
+
"options": [
|
|
887
|
+
{
|
|
888
|
+
"flags": "--confirm",
|
|
889
|
+
"description": "aplica, depois do sim da pessoa",
|
|
622
890
|
"required": false,
|
|
623
891
|
"default": null,
|
|
624
892
|
"choices": null
|
|
@@ -629,15 +897,732 @@
|
|
|
629
897
|
"required": false,
|
|
630
898
|
"default": null,
|
|
631
899
|
"choices": null
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
"flags": "--no-wait",
|
|
903
|
+
"description": "só abre a execução, sem esperar",
|
|
904
|
+
"required": false,
|
|
905
|
+
"default": null,
|
|
906
|
+
"choices": null
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
"flags": "-q, --quiet",
|
|
910
|
+
"description": "só o resumo, sem logs, resultado nem quarentena",
|
|
911
|
+
"required": false,
|
|
912
|
+
"default": null,
|
|
913
|
+
"choices": null
|
|
914
|
+
}
|
|
915
|
+
],
|
|
916
|
+
"commands": []
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
"name": "undo",
|
|
920
|
+
"path": "nexo connect undo",
|
|
921
|
+
"aliases": [],
|
|
922
|
+
"description": "Desfaz uma execução: mostra a prévia do Nexo e aplica depois do sim",
|
|
923
|
+
"arguments": [
|
|
924
|
+
{
|
|
925
|
+
"name": "execução",
|
|
926
|
+
"description": "id da execução (veja `nexo connect runs`)",
|
|
927
|
+
"required": true,
|
|
928
|
+
"variadic": false,
|
|
929
|
+
"default": null
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
"name": "pasta",
|
|
933
|
+
"description": "pasta do conector",
|
|
934
|
+
"required": false,
|
|
935
|
+
"variadic": false,
|
|
936
|
+
"default": "."
|
|
937
|
+
}
|
|
938
|
+
],
|
|
939
|
+
"options": [
|
|
940
|
+
{
|
|
941
|
+
"flags": "--confirm <token>",
|
|
942
|
+
"description": "aplica com o token da prévia, depois do sim da pessoa",
|
|
943
|
+
"required": false,
|
|
944
|
+
"default": null,
|
|
945
|
+
"choices": null
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
"flags": "-y, --yes",
|
|
949
|
+
"description": "aplica logo depois de mostrar a prévia",
|
|
950
|
+
"required": false,
|
|
951
|
+
"default": null,
|
|
952
|
+
"choices": null
|
|
953
|
+
}
|
|
954
|
+
],
|
|
955
|
+
"commands": []
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
"name": "publish",
|
|
959
|
+
"path": "nexo connect publish",
|
|
960
|
+
"aliases": [],
|
|
961
|
+
"description": "Publica a versão em edição (prévia, e o sim de uma pessoa)",
|
|
962
|
+
"arguments": [
|
|
963
|
+
{
|
|
964
|
+
"name": "pasta",
|
|
965
|
+
"description": "pasta do conector",
|
|
966
|
+
"required": false,
|
|
967
|
+
"variadic": false,
|
|
968
|
+
"default": "."
|
|
969
|
+
}
|
|
970
|
+
],
|
|
971
|
+
"options": [
|
|
972
|
+
{
|
|
973
|
+
"flags": "--confirm <token>",
|
|
974
|
+
"description": "aplica com o token da prévia, depois do sim da pessoa",
|
|
975
|
+
"required": false,
|
|
976
|
+
"default": null,
|
|
977
|
+
"choices": null
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
"flags": "-y, --yes",
|
|
981
|
+
"description": "aplica logo depois de mostrar a prévia",
|
|
982
|
+
"required": false,
|
|
983
|
+
"default": null,
|
|
984
|
+
"choices": null
|
|
985
|
+
}
|
|
986
|
+
],
|
|
987
|
+
"commands": []
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
"name": "enable",
|
|
991
|
+
"path": "nexo connect enable",
|
|
992
|
+
"aliases": [],
|
|
993
|
+
"description": "Liga o conector: os gatilhos passam a rodar a versão publicada (prévia e sim)",
|
|
994
|
+
"arguments": [
|
|
995
|
+
{
|
|
996
|
+
"name": "pasta",
|
|
997
|
+
"description": "pasta do conector",
|
|
998
|
+
"required": false,
|
|
999
|
+
"variadic": false,
|
|
1000
|
+
"default": "."
|
|
1001
|
+
}
|
|
1002
|
+
],
|
|
1003
|
+
"options": [
|
|
1004
|
+
{
|
|
1005
|
+
"flags": "--confirm <token>",
|
|
1006
|
+
"description": "aplica com o token da prévia, depois do sim da pessoa",
|
|
1007
|
+
"required": false,
|
|
1008
|
+
"default": null,
|
|
1009
|
+
"choices": null
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
"flags": "-y, --yes",
|
|
1013
|
+
"description": "aplica logo depois de mostrar a prévia",
|
|
1014
|
+
"required": false,
|
|
1015
|
+
"default": null,
|
|
1016
|
+
"choices": null
|
|
1017
|
+
}
|
|
1018
|
+
],
|
|
1019
|
+
"commands": []
|
|
1020
|
+
},
|
|
1021
|
+
{
|
|
1022
|
+
"name": "pause",
|
|
1023
|
+
"path": "nexo connect pause",
|
|
1024
|
+
"aliases": [],
|
|
1025
|
+
"description": "Pausa o conector (prévia e sim)",
|
|
1026
|
+
"arguments": [
|
|
1027
|
+
{
|
|
1028
|
+
"name": "pasta",
|
|
1029
|
+
"description": "pasta do conector",
|
|
1030
|
+
"required": false,
|
|
1031
|
+
"variadic": false,
|
|
1032
|
+
"default": "."
|
|
1033
|
+
}
|
|
1034
|
+
],
|
|
1035
|
+
"options": [
|
|
1036
|
+
{
|
|
1037
|
+
"flags": "--confirm <token>",
|
|
1038
|
+
"description": "aplica com o token da prévia, depois do sim da pessoa",
|
|
1039
|
+
"required": false,
|
|
1040
|
+
"default": null,
|
|
1041
|
+
"choices": null
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
"flags": "-y, --yes",
|
|
1045
|
+
"description": "aplica logo depois de mostrar a prévia",
|
|
1046
|
+
"required": false,
|
|
1047
|
+
"default": null,
|
|
1048
|
+
"choices": null
|
|
1049
|
+
}
|
|
1050
|
+
],
|
|
1051
|
+
"commands": []
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
"name": "secrets",
|
|
1055
|
+
"path": "nexo connect secrets",
|
|
1056
|
+
"aliases": [],
|
|
1057
|
+
"description": "Segredos do conector: o valor é digitado por uma pessoa e nunca volta",
|
|
1058
|
+
"arguments": [],
|
|
1059
|
+
"options": [],
|
|
1060
|
+
"commands": [
|
|
1061
|
+
{
|
|
1062
|
+
"name": "set",
|
|
1063
|
+
"path": "nexo connect secrets set",
|
|
1064
|
+
"aliases": [],
|
|
1065
|
+
"description": "Preenche um segredo do manifesto",
|
|
1066
|
+
"arguments": [
|
|
1067
|
+
{
|
|
1068
|
+
"name": "nome",
|
|
1069
|
+
"description": "nome do segredo, como no manifesto",
|
|
1070
|
+
"required": true,
|
|
1071
|
+
"variadic": false,
|
|
1072
|
+
"default": null
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
"name": "pasta",
|
|
1076
|
+
"description": "pasta do conector",
|
|
1077
|
+
"required": false,
|
|
1078
|
+
"variadic": false,
|
|
1079
|
+
"default": "."
|
|
1080
|
+
}
|
|
1081
|
+
],
|
|
1082
|
+
"options": [
|
|
1083
|
+
{
|
|
1084
|
+
"flags": "--stdin",
|
|
1085
|
+
"description": "lê o valor do stdin (para script)",
|
|
1086
|
+
"required": false,
|
|
1087
|
+
"default": null,
|
|
1088
|
+
"choices": null
|
|
1089
|
+
}
|
|
1090
|
+
],
|
|
1091
|
+
"commands": []
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
"name": "list",
|
|
1095
|
+
"path": "nexo connect secrets list",
|
|
1096
|
+
"aliases": [],
|
|
1097
|
+
"description": "Os segredos que o manifesto pede: o nome, se está preenchido e desde quando (nunca o valor)",
|
|
1098
|
+
"arguments": [
|
|
1099
|
+
{
|
|
1100
|
+
"name": "pasta",
|
|
1101
|
+
"description": "pasta do conector",
|
|
1102
|
+
"required": false,
|
|
1103
|
+
"variadic": false,
|
|
1104
|
+
"default": "."
|
|
1105
|
+
}
|
|
1106
|
+
],
|
|
1107
|
+
"options": [],
|
|
1108
|
+
"commands": []
|
|
1109
|
+
}
|
|
1110
|
+
]
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"name": "build",
|
|
1114
|
+
"path": "nexo connect build",
|
|
1115
|
+
"aliases": [],
|
|
1116
|
+
"description": "Conversa com a IA do Connect: sem conector na pasta começa um, com conector manda a mensagem (gasta a franquia de IA da empresa)",
|
|
1117
|
+
"arguments": [
|
|
1118
|
+
{
|
|
1119
|
+
"name": "pedido",
|
|
1120
|
+
"description": "o que você quer, em português",
|
|
1121
|
+
"required": true,
|
|
1122
|
+
"variadic": false,
|
|
1123
|
+
"default": null
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
"name": "pasta",
|
|
1127
|
+
"description": "pasta do conector",
|
|
1128
|
+
"required": false,
|
|
1129
|
+
"variadic": false,
|
|
1130
|
+
"default": null
|
|
1131
|
+
}
|
|
1132
|
+
],
|
|
1133
|
+
"options": [
|
|
1134
|
+
{
|
|
1135
|
+
"flags": "--no-wait",
|
|
1136
|
+
"description": "só manda, sem esperar a resposta",
|
|
1137
|
+
"required": false,
|
|
1138
|
+
"default": null,
|
|
1139
|
+
"choices": null
|
|
1140
|
+
}
|
|
1141
|
+
],
|
|
1142
|
+
"commands": [
|
|
1143
|
+
{
|
|
1144
|
+
"name": "show",
|
|
1145
|
+
"path": "nexo connect build show",
|
|
1146
|
+
"aliases": [],
|
|
1147
|
+
"description": "A conversa com a IA do Connect: as mensagens e o que ela fez",
|
|
1148
|
+
"arguments": [
|
|
1149
|
+
{
|
|
1150
|
+
"name": "pasta",
|
|
1151
|
+
"description": "pasta do conector",
|
|
1152
|
+
"required": false,
|
|
1153
|
+
"variadic": false,
|
|
1154
|
+
"default": "."
|
|
1155
|
+
}
|
|
1156
|
+
],
|
|
1157
|
+
"options": [],
|
|
1158
|
+
"commands": []
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
"name": "fix",
|
|
1162
|
+
"path": "nexo connect build fix",
|
|
1163
|
+
"aliases": [],
|
|
1164
|
+
"description": "Pede à IA a correção de uma execução que falhou e espera a resposta (gasta a franquia de IA da empresa)",
|
|
1165
|
+
"arguments": [
|
|
1166
|
+
{
|
|
1167
|
+
"name": "execução",
|
|
1168
|
+
"description": "id da execução (veja `nexo connect runs`)",
|
|
1169
|
+
"required": true,
|
|
1170
|
+
"variadic": false,
|
|
1171
|
+
"default": null
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
"name": "pasta",
|
|
1175
|
+
"description": "pasta do conector",
|
|
1176
|
+
"required": false,
|
|
1177
|
+
"variadic": false,
|
|
1178
|
+
"default": "."
|
|
1179
|
+
}
|
|
1180
|
+
],
|
|
1181
|
+
"options": [
|
|
1182
|
+
{
|
|
1183
|
+
"flags": "-m, --message <texto>",
|
|
1184
|
+
"description": "o que acrescentar ao pedido",
|
|
1185
|
+
"required": false,
|
|
1186
|
+
"default": null,
|
|
1187
|
+
"choices": null
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
"flags": "--no-wait",
|
|
1191
|
+
"description": "só manda, sem esperar a resposta",
|
|
1192
|
+
"required": false,
|
|
1193
|
+
"default": null,
|
|
1194
|
+
"choices": null
|
|
1195
|
+
}
|
|
1196
|
+
],
|
|
1197
|
+
"commands": []
|
|
1198
|
+
}
|
|
1199
|
+
]
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
"name": "quarantine",
|
|
1203
|
+
"path": "nexo connect quarantine",
|
|
1204
|
+
"aliases": [],
|
|
1205
|
+
"description": "Os registros que o Nexo recusou: lista os abertos; corrigir, descartar e reprocessar pedem o sim",
|
|
1206
|
+
"arguments": [
|
|
1207
|
+
{
|
|
1208
|
+
"name": "pasta",
|
|
1209
|
+
"description": "pasta do conector",
|
|
1210
|
+
"required": false,
|
|
1211
|
+
"variadic": false,
|
|
1212
|
+
"default": "."
|
|
1213
|
+
}
|
|
1214
|
+
],
|
|
1215
|
+
"options": [],
|
|
1216
|
+
"commands": [
|
|
1217
|
+
{
|
|
1218
|
+
"name": "fix",
|
|
1219
|
+
"path": "nexo connect quarantine fix",
|
|
1220
|
+
"aliases": [],
|
|
1221
|
+
"description": "Corrige os valores de um registro (mostra campo, valor de hoje e valor novo; pede o sim)",
|
|
1222
|
+
"arguments": [
|
|
1223
|
+
{
|
|
1224
|
+
"name": "registro",
|
|
1225
|
+
"description": "id do registro (veja `nexo connect quarantine`)",
|
|
1226
|
+
"required": true,
|
|
1227
|
+
"variadic": false,
|
|
1228
|
+
"default": null
|
|
1229
|
+
},
|
|
1230
|
+
{
|
|
1231
|
+
"name": "pasta",
|
|
1232
|
+
"description": "pasta do conector",
|
|
1233
|
+
"required": false,
|
|
1234
|
+
"variadic": false,
|
|
1235
|
+
"default": "."
|
|
1236
|
+
}
|
|
1237
|
+
],
|
|
1238
|
+
"options": [
|
|
1239
|
+
{
|
|
1240
|
+
"flags": "--set <campo=valor>",
|
|
1241
|
+
"description": "campo nativo, ou properties.<chave> para uma propriedade; repita para vários",
|
|
1242
|
+
"required": false,
|
|
1243
|
+
"default": [],
|
|
1244
|
+
"choices": null
|
|
1245
|
+
},
|
|
1246
|
+
{
|
|
1247
|
+
"flags": "--file <json>",
|
|
1248
|
+
"description": "o corpo do PATCH: { \"values\": {...}, \"properties\": {...} }",
|
|
1249
|
+
"required": false,
|
|
1250
|
+
"default": null,
|
|
1251
|
+
"choices": null
|
|
1252
|
+
},
|
|
1253
|
+
{
|
|
1254
|
+
"flags": "--confirm",
|
|
1255
|
+
"description": "aplica, depois do sim da pessoa",
|
|
1256
|
+
"required": false,
|
|
1257
|
+
"default": null,
|
|
1258
|
+
"choices": null
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
"flags": "-y, --yes",
|
|
1262
|
+
"description": "aplica logo depois de mostrar a prévia",
|
|
1263
|
+
"required": false,
|
|
1264
|
+
"default": null,
|
|
1265
|
+
"choices": null
|
|
1266
|
+
}
|
|
1267
|
+
],
|
|
1268
|
+
"commands": []
|
|
1269
|
+
},
|
|
1270
|
+
{
|
|
1271
|
+
"name": "discard",
|
|
1272
|
+
"path": "nexo connect quarantine discard",
|
|
1273
|
+
"aliases": [],
|
|
1274
|
+
"description": "Descarta um registro: ele sai da quarentena sem ir para o Nexo (mostra o registro; pede o sim)",
|
|
1275
|
+
"arguments": [
|
|
1276
|
+
{
|
|
1277
|
+
"name": "registro",
|
|
1278
|
+
"description": "id do registro (veja `nexo connect quarantine`)",
|
|
1279
|
+
"required": true,
|
|
1280
|
+
"variadic": false,
|
|
1281
|
+
"default": null
|
|
1282
|
+
},
|
|
1283
|
+
{
|
|
1284
|
+
"name": "pasta",
|
|
1285
|
+
"description": "pasta do conector",
|
|
1286
|
+
"required": false,
|
|
1287
|
+
"variadic": false,
|
|
1288
|
+
"default": "."
|
|
1289
|
+
}
|
|
1290
|
+
],
|
|
1291
|
+
"options": [
|
|
1292
|
+
{
|
|
1293
|
+
"flags": "--confirm",
|
|
1294
|
+
"description": "aplica, depois do sim da pessoa",
|
|
1295
|
+
"required": false,
|
|
1296
|
+
"default": null,
|
|
1297
|
+
"choices": null
|
|
1298
|
+
},
|
|
1299
|
+
{
|
|
1300
|
+
"flags": "-y, --yes",
|
|
1301
|
+
"description": "aplica logo depois de mostrar a prévia",
|
|
1302
|
+
"required": false,
|
|
1303
|
+
"default": null,
|
|
1304
|
+
"choices": null
|
|
1305
|
+
}
|
|
1306
|
+
],
|
|
1307
|
+
"commands": []
|
|
1308
|
+
},
|
|
1309
|
+
{
|
|
1310
|
+
"name": "reprocess",
|
|
1311
|
+
"path": "nexo connect quarantine reprocess",
|
|
1312
|
+
"aliases": [],
|
|
1313
|
+
"description": "Reprocessa os registros abertos (prévia do Nexo e o sim)",
|
|
1314
|
+
"arguments": [
|
|
1315
|
+
{
|
|
1316
|
+
"name": "pasta",
|
|
1317
|
+
"description": "pasta do conector",
|
|
1318
|
+
"required": false,
|
|
1319
|
+
"variadic": false,
|
|
1320
|
+
"default": "."
|
|
1321
|
+
}
|
|
1322
|
+
],
|
|
1323
|
+
"options": [
|
|
1324
|
+
{
|
|
1325
|
+
"flags": "--confirm <token>",
|
|
1326
|
+
"description": "aplica com o token da prévia, depois do sim da pessoa",
|
|
1327
|
+
"required": false,
|
|
1328
|
+
"default": null,
|
|
1329
|
+
"choices": null
|
|
1330
|
+
},
|
|
1331
|
+
{
|
|
1332
|
+
"flags": "-y, --yes",
|
|
1333
|
+
"description": "aplica logo depois de mostrar a prévia",
|
|
1334
|
+
"required": false,
|
|
1335
|
+
"default": null,
|
|
1336
|
+
"choices": null
|
|
1337
|
+
}
|
|
1338
|
+
],
|
|
1339
|
+
"commands": []
|
|
1340
|
+
}
|
|
1341
|
+
]
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
"name": "writes",
|
|
1345
|
+
"path": "nexo connect writes",
|
|
1346
|
+
"aliases": [],
|
|
1347
|
+
"description": "Escritas no outro sistema: as retidas e os hosts confirmados",
|
|
1348
|
+
"arguments": [
|
|
1349
|
+
{
|
|
1350
|
+
"name": "pasta",
|
|
1351
|
+
"description": "pasta do conector",
|
|
1352
|
+
"required": false,
|
|
1353
|
+
"variadic": false,
|
|
1354
|
+
"default": "."
|
|
1355
|
+
}
|
|
1356
|
+
],
|
|
1357
|
+
"options": [],
|
|
1358
|
+
"commands": [
|
|
1359
|
+
{
|
|
1360
|
+
"name": "confirm",
|
|
1361
|
+
"path": "nexo connect writes confirm",
|
|
1362
|
+
"aliases": [],
|
|
1363
|
+
"description": "Confirma a escrita retida, que sai para o outro sistema e não se desfaz (prévia e sim)",
|
|
1364
|
+
"arguments": [
|
|
1365
|
+
{
|
|
1366
|
+
"name": "escrita",
|
|
1367
|
+
"description": "id da escrita retida (veja `nexo connect writes`)",
|
|
1368
|
+
"required": true,
|
|
1369
|
+
"variadic": false,
|
|
1370
|
+
"default": null
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
"name": "pasta",
|
|
1374
|
+
"description": "pasta do conector",
|
|
1375
|
+
"required": false,
|
|
1376
|
+
"variadic": false,
|
|
1377
|
+
"default": "."
|
|
1378
|
+
}
|
|
1379
|
+
],
|
|
1380
|
+
"options": [
|
|
1381
|
+
{
|
|
1382
|
+
"flags": "--confirm <token>",
|
|
1383
|
+
"description": "aplica com o token da prévia, depois do sim da pessoa",
|
|
1384
|
+
"required": false,
|
|
1385
|
+
"default": null,
|
|
1386
|
+
"choices": null
|
|
1387
|
+
},
|
|
1388
|
+
{
|
|
1389
|
+
"flags": "-y, --yes",
|
|
1390
|
+
"description": "aplica logo depois de mostrar a prévia",
|
|
1391
|
+
"required": false,
|
|
1392
|
+
"default": null,
|
|
1393
|
+
"choices": null
|
|
1394
|
+
}
|
|
1395
|
+
],
|
|
1396
|
+
"commands": []
|
|
1397
|
+
}
|
|
1398
|
+
]
|
|
1399
|
+
},
|
|
1400
|
+
{
|
|
1401
|
+
"name": "write-hosts",
|
|
1402
|
+
"path": "nexo connect write-hosts",
|
|
1403
|
+
"aliases": [],
|
|
1404
|
+
"description": "A escrita do conector num host do outro sistema",
|
|
1405
|
+
"arguments": [],
|
|
1406
|
+
"options": [],
|
|
1407
|
+
"commands": [
|
|
1408
|
+
{
|
|
1409
|
+
"name": "confirm",
|
|
1410
|
+
"path": "nexo connect write-hosts confirm",
|
|
1411
|
+
"aliases": [],
|
|
1412
|
+
"description": "Confirma a escrita num host do manifesto (prévia e sim)",
|
|
1413
|
+
"arguments": [
|
|
1414
|
+
{
|
|
1415
|
+
"name": "host",
|
|
1416
|
+
"description": "host do outro sistema, como no manifesto",
|
|
1417
|
+
"required": true,
|
|
1418
|
+
"variadic": false,
|
|
1419
|
+
"default": null
|
|
1420
|
+
},
|
|
1421
|
+
{
|
|
1422
|
+
"name": "pasta",
|
|
1423
|
+
"description": "pasta do conector",
|
|
1424
|
+
"required": false,
|
|
1425
|
+
"variadic": false,
|
|
1426
|
+
"default": "."
|
|
1427
|
+
}
|
|
1428
|
+
],
|
|
1429
|
+
"options": [
|
|
1430
|
+
{
|
|
1431
|
+
"flags": "--confirm <token>",
|
|
1432
|
+
"description": "aplica com o token da prévia, depois do sim da pessoa",
|
|
1433
|
+
"required": false,
|
|
1434
|
+
"default": null,
|
|
1435
|
+
"choices": null
|
|
1436
|
+
},
|
|
1437
|
+
{
|
|
1438
|
+
"flags": "-y, --yes",
|
|
1439
|
+
"description": "aplica logo depois de mostrar a prévia",
|
|
1440
|
+
"required": false,
|
|
1441
|
+
"default": null,
|
|
1442
|
+
"choices": null
|
|
1443
|
+
}
|
|
1444
|
+
],
|
|
1445
|
+
"commands": []
|
|
1446
|
+
},
|
|
1447
|
+
{
|
|
1448
|
+
"name": "revoke",
|
|
1449
|
+
"path": "nexo connect write-hosts revoke",
|
|
1450
|
+
"aliases": [],
|
|
1451
|
+
"description": "Revoga a escrita num host confirmado (prévia e sim)",
|
|
1452
|
+
"arguments": [
|
|
1453
|
+
{
|
|
1454
|
+
"name": "host",
|
|
1455
|
+
"description": "host do outro sistema, como no manifesto",
|
|
1456
|
+
"required": true,
|
|
1457
|
+
"variadic": false,
|
|
1458
|
+
"default": null
|
|
1459
|
+
},
|
|
1460
|
+
{
|
|
1461
|
+
"name": "pasta",
|
|
1462
|
+
"description": "pasta do conector",
|
|
1463
|
+
"required": false,
|
|
1464
|
+
"variadic": false,
|
|
1465
|
+
"default": "."
|
|
1466
|
+
}
|
|
1467
|
+
],
|
|
1468
|
+
"options": [
|
|
1469
|
+
{
|
|
1470
|
+
"flags": "--confirm <token>",
|
|
1471
|
+
"description": "aplica com o token da prévia, depois do sim da pessoa",
|
|
1472
|
+
"required": false,
|
|
1473
|
+
"default": null,
|
|
1474
|
+
"choices": null
|
|
1475
|
+
},
|
|
1476
|
+
{
|
|
1477
|
+
"flags": "-y, --yes",
|
|
1478
|
+
"description": "aplica logo depois de mostrar a prévia",
|
|
1479
|
+
"required": false,
|
|
1480
|
+
"default": null,
|
|
1481
|
+
"choices": null
|
|
1482
|
+
}
|
|
1483
|
+
],
|
|
1484
|
+
"commands": []
|
|
1485
|
+
}
|
|
1486
|
+
]
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
"name": "agents",
|
|
1490
|
+
"path": "nexo connect agents",
|
|
1491
|
+
"aliases": [],
|
|
1492
|
+
"description": "Os agentes locais da empresa: o id, se está conectado, a versão, o último contato e os conectores que passam por ele",
|
|
1493
|
+
"arguments": [],
|
|
1494
|
+
"options": [],
|
|
1495
|
+
"commands": [
|
|
1496
|
+
{
|
|
1497
|
+
"name": "show",
|
|
1498
|
+
"path": "nexo connect agents show",
|
|
1499
|
+
"aliases": [],
|
|
1500
|
+
"description": "Mostra um agente e o que a lista local dele alcança",
|
|
1501
|
+
"arguments": [
|
|
1502
|
+
{
|
|
1503
|
+
"name": "agente",
|
|
1504
|
+
"description": "id do agente (veja `nexo connect agents`)",
|
|
1505
|
+
"required": true,
|
|
1506
|
+
"variadic": false,
|
|
1507
|
+
"default": null
|
|
1508
|
+
}
|
|
1509
|
+
],
|
|
1510
|
+
"options": [],
|
|
1511
|
+
"commands": []
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
"name": "pair",
|
|
1515
|
+
"path": "nexo connect agents pair",
|
|
1516
|
+
"aliases": [],
|
|
1517
|
+
"description": "Abre a aba Agente local, onde a pessoa gera o código, e espera um agente novo ser pareado (até 10 minutos)",
|
|
1518
|
+
"arguments": [],
|
|
1519
|
+
"options": [
|
|
1520
|
+
{
|
|
1521
|
+
"flags": "--code",
|
|
1522
|
+
"description": "gera o código e o mostra aqui (só com uma chave pessoal com o escopo connectors:hosts)",
|
|
1523
|
+
"required": false,
|
|
1524
|
+
"default": null,
|
|
1525
|
+
"choices": null
|
|
1526
|
+
},
|
|
1527
|
+
{
|
|
1528
|
+
"flags": "--name <nome>",
|
|
1529
|
+
"description": "o nome que o agente recebe, com --code",
|
|
1530
|
+
"required": false,
|
|
1531
|
+
"default": null,
|
|
1532
|
+
"choices": null
|
|
1533
|
+
},
|
|
1534
|
+
{
|
|
1535
|
+
"flags": "--no-wait",
|
|
1536
|
+
"description": "só abre a aba, sem esperar o agente",
|
|
1537
|
+
"required": false,
|
|
1538
|
+
"default": null,
|
|
1539
|
+
"choices": null
|
|
1540
|
+
}
|
|
1541
|
+
],
|
|
1542
|
+
"commands": []
|
|
1543
|
+
},
|
|
1544
|
+
{
|
|
1545
|
+
"name": "revoke",
|
|
1546
|
+
"path": "nexo connect agents revoke",
|
|
1547
|
+
"aliases": [],
|
|
1548
|
+
"description": "Revoga o agente: o túnel é cortado sem volta (mostra a máquina e os conectores dele e pede o sim)",
|
|
1549
|
+
"arguments": [
|
|
1550
|
+
{
|
|
1551
|
+
"name": "agente",
|
|
1552
|
+
"description": "id do agente (veja `nexo connect agents`)",
|
|
1553
|
+
"required": true,
|
|
1554
|
+
"variadic": false,
|
|
1555
|
+
"default": null
|
|
1556
|
+
}
|
|
1557
|
+
],
|
|
1558
|
+
"options": [
|
|
1559
|
+
{
|
|
1560
|
+
"flags": "--confirm",
|
|
1561
|
+
"description": "aplica, depois do sim da pessoa",
|
|
1562
|
+
"required": false,
|
|
1563
|
+
"default": null,
|
|
1564
|
+
"choices": null
|
|
1565
|
+
},
|
|
1566
|
+
{
|
|
1567
|
+
"flags": "-y, --yes",
|
|
1568
|
+
"description": "aplica logo depois de mostrar a prévia",
|
|
1569
|
+
"required": false,
|
|
1570
|
+
"default": null,
|
|
1571
|
+
"choices": null
|
|
1572
|
+
}
|
|
1573
|
+
],
|
|
1574
|
+
"commands": []
|
|
1575
|
+
}
|
|
1576
|
+
]
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
"name": "hosts",
|
|
1580
|
+
"path": "nexo connect hosts",
|
|
1581
|
+
"aliases": [],
|
|
1582
|
+
"description": "Os hosts do conector: os aprovados e os que esperam o sim de uma pessoa",
|
|
1583
|
+
"arguments": [
|
|
1584
|
+
{
|
|
1585
|
+
"name": "pasta",
|
|
1586
|
+
"description": "pasta do conector",
|
|
1587
|
+
"required": false,
|
|
1588
|
+
"variadic": false,
|
|
1589
|
+
"default": "."
|
|
1590
|
+
}
|
|
1591
|
+
],
|
|
1592
|
+
"options": [],
|
|
1593
|
+
"commands": [
|
|
1594
|
+
{
|
|
1595
|
+
"name": "approve",
|
|
1596
|
+
"path": "nexo connect hosts approve",
|
|
1597
|
+
"aliases": [],
|
|
1598
|
+
"description": "Pede a aprovação dos hosts: abre a tela do conector, onde a pessoa aprova com a sessão dela, e confere o resultado (até 10 minutos)",
|
|
1599
|
+
"arguments": [
|
|
1600
|
+
{
|
|
1601
|
+
"name": "host",
|
|
1602
|
+
"description": "hosts a aprovar, e por último a pasta do conector (padrão: todos os que esperam, na pasta atual)",
|
|
1603
|
+
"required": false,
|
|
1604
|
+
"variadic": true,
|
|
1605
|
+
"default": null
|
|
1606
|
+
}
|
|
1607
|
+
],
|
|
1608
|
+
"options": [
|
|
1609
|
+
{
|
|
1610
|
+
"flags": "--no-wait",
|
|
1611
|
+
"description": "só abre a tela, sem esperar a aprovação",
|
|
1612
|
+
"required": false,
|
|
1613
|
+
"default": null,
|
|
1614
|
+
"choices": null
|
|
1615
|
+
}
|
|
1616
|
+
],
|
|
1617
|
+
"commands": []
|
|
632
1618
|
}
|
|
633
|
-
]
|
|
634
|
-
"commands": []
|
|
1619
|
+
]
|
|
635
1620
|
},
|
|
636
1621
|
{
|
|
637
|
-
"name": "
|
|
638
|
-
"path": "nexo connect
|
|
1622
|
+
"name": "webhook",
|
|
1623
|
+
"path": "nexo connect webhook",
|
|
639
1624
|
"aliases": [],
|
|
640
|
-
"description": "
|
|
1625
|
+
"description": "O webhook do conector: a URL, como o outro sistema assina e se há segredo",
|
|
641
1626
|
"arguments": [
|
|
642
1627
|
{
|
|
643
1628
|
"name": "pasta",
|
|
@@ -647,29 +1632,57 @@
|
|
|
647
1632
|
"default": "."
|
|
648
1633
|
}
|
|
649
1634
|
],
|
|
650
|
-
"options": [
|
|
651
|
-
|
|
652
|
-
"flags": "--confirm <token>",
|
|
653
|
-
"description": "aplica com o token da prévia, depois do sim da pessoa",
|
|
654
|
-
"required": false,
|
|
655
|
-
"default": null,
|
|
656
|
-
"choices": null
|
|
657
|
-
},
|
|
1635
|
+
"options": [],
|
|
1636
|
+
"commands": [
|
|
658
1637
|
{
|
|
659
|
-
"
|
|
660
|
-
"
|
|
661
|
-
"
|
|
662
|
-
"
|
|
663
|
-
"
|
|
1638
|
+
"name": "secret",
|
|
1639
|
+
"path": "nexo connect webhook secret",
|
|
1640
|
+
"aliases": [],
|
|
1641
|
+
"description": "O segredo com que o outro sistema assina o webhook",
|
|
1642
|
+
"arguments": [],
|
|
1643
|
+
"options": [],
|
|
1644
|
+
"commands": [
|
|
1645
|
+
{
|
|
1646
|
+
"name": "set",
|
|
1647
|
+
"path": "nexo connect webhook secret set",
|
|
1648
|
+
"aliases": [],
|
|
1649
|
+
"description": "Define o segredo (o anterior deixa de valer na hora): digitado sem eco, por --stdin ou gerado aqui",
|
|
1650
|
+
"arguments": [
|
|
1651
|
+
{
|
|
1652
|
+
"name": "pasta",
|
|
1653
|
+
"description": "pasta do conector",
|
|
1654
|
+
"required": false,
|
|
1655
|
+
"variadic": false,
|
|
1656
|
+
"default": "."
|
|
1657
|
+
}
|
|
1658
|
+
],
|
|
1659
|
+
"options": [
|
|
1660
|
+
{
|
|
1661
|
+
"flags": "--stdin",
|
|
1662
|
+
"description": "lê o valor do stdin (para script)",
|
|
1663
|
+
"required": false,
|
|
1664
|
+
"default": null,
|
|
1665
|
+
"choices": null
|
|
1666
|
+
},
|
|
1667
|
+
{
|
|
1668
|
+
"flags": "--generate",
|
|
1669
|
+
"description": "gera 32 bytes em hexadecimal nesta máquina e mostra o valor uma vez",
|
|
1670
|
+
"required": false,
|
|
1671
|
+
"default": null,
|
|
1672
|
+
"choices": null
|
|
1673
|
+
}
|
|
1674
|
+
],
|
|
1675
|
+
"commands": []
|
|
1676
|
+
}
|
|
1677
|
+
]
|
|
664
1678
|
}
|
|
665
|
-
]
|
|
666
|
-
"commands": []
|
|
1679
|
+
]
|
|
667
1680
|
},
|
|
668
1681
|
{
|
|
669
|
-
"name": "
|
|
670
|
-
"path": "nexo connect
|
|
1682
|
+
"name": "oauth",
|
|
1683
|
+
"path": "nexo connect oauth",
|
|
671
1684
|
"aliases": [],
|
|
672
|
-
"description": "
|
|
1685
|
+
"description": "A autorização OAuth do conector: o app, o estado e até quando o token vale",
|
|
673
1686
|
"arguments": [
|
|
674
1687
|
{
|
|
675
1688
|
"name": "pasta",
|
|
@@ -679,41 +1692,157 @@
|
|
|
679
1692
|
"default": "."
|
|
680
1693
|
}
|
|
681
1694
|
],
|
|
682
|
-
"options": [
|
|
1695
|
+
"options": [],
|
|
1696
|
+
"commands": [
|
|
683
1697
|
{
|
|
684
|
-
"
|
|
685
|
-
"
|
|
686
|
-
"
|
|
687
|
-
"
|
|
688
|
-
"
|
|
1698
|
+
"name": "authorize",
|
|
1699
|
+
"path": "nexo connect oauth authorize",
|
|
1700
|
+
"aliases": [],
|
|
1701
|
+
"description": "Autoriza o Nexo no outro sistema: abre a página dele e espera a volta (até 10 minutos)",
|
|
1702
|
+
"arguments": [
|
|
1703
|
+
{
|
|
1704
|
+
"name": "pasta",
|
|
1705
|
+
"description": "pasta do conector",
|
|
1706
|
+
"required": false,
|
|
1707
|
+
"variadic": false,
|
|
1708
|
+
"default": "."
|
|
1709
|
+
}
|
|
1710
|
+
],
|
|
1711
|
+
"options": [
|
|
1712
|
+
{
|
|
1713
|
+
"flags": "--no-wait",
|
|
1714
|
+
"description": "só abre a página, sem esperar",
|
|
1715
|
+
"required": false,
|
|
1716
|
+
"default": null,
|
|
1717
|
+
"choices": null
|
|
1718
|
+
}
|
|
1719
|
+
],
|
|
1720
|
+
"commands": []
|
|
689
1721
|
},
|
|
690
1722
|
{
|
|
691
|
-
"
|
|
692
|
-
"
|
|
693
|
-
"
|
|
694
|
-
"
|
|
695
|
-
"
|
|
1723
|
+
"name": "client",
|
|
1724
|
+
"path": "nexo connect oauth client",
|
|
1725
|
+
"aliases": [],
|
|
1726
|
+
"description": "O app OAuth da própria empresa, no lugar do app do Nexo",
|
|
1727
|
+
"arguments": [],
|
|
1728
|
+
"options": [],
|
|
1729
|
+
"commands": [
|
|
1730
|
+
{
|
|
1731
|
+
"name": "set",
|
|
1732
|
+
"path": "nexo connect oauth client set",
|
|
1733
|
+
"aliases": [],
|
|
1734
|
+
"description": "Usa o app da empresa: o client secret é digitado sem eco ou vem por --stdin (as autorizações caem; pede o sim)",
|
|
1735
|
+
"arguments": [
|
|
1736
|
+
{
|
|
1737
|
+
"name": "pasta",
|
|
1738
|
+
"description": "pasta do conector",
|
|
1739
|
+
"required": false,
|
|
1740
|
+
"variadic": false,
|
|
1741
|
+
"default": "."
|
|
1742
|
+
}
|
|
1743
|
+
],
|
|
1744
|
+
"options": [
|
|
1745
|
+
{
|
|
1746
|
+
"flags": "--client-id <id>",
|
|
1747
|
+
"description": "o client id do app da empresa",
|
|
1748
|
+
"required": true,
|
|
1749
|
+
"default": null,
|
|
1750
|
+
"choices": null
|
|
1751
|
+
},
|
|
1752
|
+
{
|
|
1753
|
+
"flags": "--stdin",
|
|
1754
|
+
"description": "lê o client secret do stdin (para script)",
|
|
1755
|
+
"required": false,
|
|
1756
|
+
"default": null,
|
|
1757
|
+
"choices": null
|
|
1758
|
+
},
|
|
1759
|
+
{
|
|
1760
|
+
"flags": "--confirm",
|
|
1761
|
+
"description": "aplica, depois do sim da pessoa",
|
|
1762
|
+
"required": false,
|
|
1763
|
+
"default": null,
|
|
1764
|
+
"choices": null
|
|
1765
|
+
},
|
|
1766
|
+
{
|
|
1767
|
+
"flags": "-y, --yes",
|
|
1768
|
+
"description": "aplica logo depois de mostrar a prévia",
|
|
1769
|
+
"required": false,
|
|
1770
|
+
"default": null,
|
|
1771
|
+
"choices": null
|
|
1772
|
+
}
|
|
1773
|
+
],
|
|
1774
|
+
"commands": []
|
|
1775
|
+
},
|
|
1776
|
+
{
|
|
1777
|
+
"name": "remove",
|
|
1778
|
+
"path": "nexo connect oauth client remove",
|
|
1779
|
+
"aliases": [],
|
|
1780
|
+
"description": "Volta ao app do Nexo (as autorizações caem; pede o sim)",
|
|
1781
|
+
"arguments": [
|
|
1782
|
+
{
|
|
1783
|
+
"name": "pasta",
|
|
1784
|
+
"description": "pasta do conector",
|
|
1785
|
+
"required": false,
|
|
1786
|
+
"variadic": false,
|
|
1787
|
+
"default": "."
|
|
1788
|
+
}
|
|
1789
|
+
],
|
|
1790
|
+
"options": [
|
|
1791
|
+
{
|
|
1792
|
+
"flags": "--confirm",
|
|
1793
|
+
"description": "aplica, depois do sim da pessoa",
|
|
1794
|
+
"required": false,
|
|
1795
|
+
"default": null,
|
|
1796
|
+
"choices": null
|
|
1797
|
+
},
|
|
1798
|
+
{
|
|
1799
|
+
"flags": "-y, --yes",
|
|
1800
|
+
"description": "aplica logo depois de mostrar a prévia",
|
|
1801
|
+
"required": false,
|
|
1802
|
+
"default": null,
|
|
1803
|
+
"choices": null
|
|
1804
|
+
}
|
|
1805
|
+
],
|
|
1806
|
+
"commands": []
|
|
1807
|
+
}
|
|
1808
|
+
]
|
|
696
1809
|
}
|
|
697
|
-
]
|
|
698
|
-
"commands": []
|
|
1810
|
+
]
|
|
699
1811
|
},
|
|
700
1812
|
{
|
|
701
|
-
"name": "
|
|
702
|
-
"path": "nexo connect
|
|
1813
|
+
"name": "sftp",
|
|
1814
|
+
"path": "nexo connect sftp",
|
|
703
1815
|
"aliases": [],
|
|
704
|
-
"description": "
|
|
1816
|
+
"description": "As chaves dos servidores SFTP do conector",
|
|
705
1817
|
"arguments": [],
|
|
706
1818
|
"options": [],
|
|
707
1819
|
"commands": [
|
|
708
1820
|
{
|
|
709
|
-
"name": "
|
|
710
|
-
"path": "nexo connect
|
|
1821
|
+
"name": "keys",
|
|
1822
|
+
"path": "nexo connect sftp keys",
|
|
711
1823
|
"aliases": [],
|
|
712
|
-
"description": "
|
|
1824
|
+
"description": "A chave guardada de cada servidor, com a impressão digital",
|
|
713
1825
|
"arguments": [
|
|
714
1826
|
{
|
|
715
|
-
"name": "
|
|
716
|
-
"description": "
|
|
1827
|
+
"name": "pasta",
|
|
1828
|
+
"description": "pasta do conector",
|
|
1829
|
+
"required": false,
|
|
1830
|
+
"variadic": false,
|
|
1831
|
+
"default": "."
|
|
1832
|
+
}
|
|
1833
|
+
],
|
|
1834
|
+
"options": [],
|
|
1835
|
+
"commands": []
|
|
1836
|
+
},
|
|
1837
|
+
{
|
|
1838
|
+
"name": "accept",
|
|
1839
|
+
"path": "nexo connect sftp accept",
|
|
1840
|
+
"aliases": [],
|
|
1841
|
+
"description": "Aceita a chave nova de um servidor: apaga a guardada e a próxima conexão guarda a nova (mostra a impressão digital; pede o sim)",
|
|
1842
|
+
"arguments": [
|
|
1843
|
+
{
|
|
1844
|
+
"name": "host",
|
|
1845
|
+
"description": "o servidor SFTP",
|
|
717
1846
|
"required": true,
|
|
718
1847
|
"variadic": false,
|
|
719
1848
|
"default": null
|
|
@@ -728,14 +1857,95 @@
|
|
|
728
1857
|
],
|
|
729
1858
|
"options": [
|
|
730
1859
|
{
|
|
731
|
-
"flags": "--
|
|
732
|
-
"description": "
|
|
1860
|
+
"flags": "--port <porta>",
|
|
1861
|
+
"description": "a porta do servidor",
|
|
1862
|
+
"required": false,
|
|
1863
|
+
"default": "22",
|
|
1864
|
+
"choices": null
|
|
1865
|
+
},
|
|
1866
|
+
{
|
|
1867
|
+
"flags": "--confirm",
|
|
1868
|
+
"description": "aplica, depois do sim da pessoa",
|
|
1869
|
+
"required": false,
|
|
1870
|
+
"default": null,
|
|
1871
|
+
"choices": null
|
|
1872
|
+
},
|
|
1873
|
+
{
|
|
1874
|
+
"flags": "-y, --yes",
|
|
1875
|
+
"description": "aplica logo depois de mostrar a prévia",
|
|
1876
|
+
"required": false,
|
|
1877
|
+
"default": null,
|
|
1878
|
+
"choices": null
|
|
1879
|
+
}
|
|
1880
|
+
],
|
|
1881
|
+
"commands": []
|
|
1882
|
+
}
|
|
1883
|
+
]
|
|
1884
|
+
},
|
|
1885
|
+
{
|
|
1886
|
+
"name": "email",
|
|
1887
|
+
"path": "nexo connect email",
|
|
1888
|
+
"aliases": [],
|
|
1889
|
+
"description": "O endereço de e-mail do conector e quem pode mandar para ele",
|
|
1890
|
+
"arguments": [
|
|
1891
|
+
{
|
|
1892
|
+
"name": "pasta",
|
|
1893
|
+
"description": "pasta do conector",
|
|
1894
|
+
"required": false,
|
|
1895
|
+
"variadic": false,
|
|
1896
|
+
"default": "."
|
|
1897
|
+
}
|
|
1898
|
+
],
|
|
1899
|
+
"options": [],
|
|
1900
|
+
"commands": [
|
|
1901
|
+
{
|
|
1902
|
+
"name": "renew",
|
|
1903
|
+
"path": "nexo connect email renew",
|
|
1904
|
+
"aliases": [],
|
|
1905
|
+
"description": "Gera o endereço novo: o anterior para de valer (pede o sim)",
|
|
1906
|
+
"arguments": [
|
|
1907
|
+
{
|
|
1908
|
+
"name": "pasta",
|
|
1909
|
+
"description": "pasta do conector",
|
|
1910
|
+
"required": false,
|
|
1911
|
+
"variadic": false,
|
|
1912
|
+
"default": "."
|
|
1913
|
+
}
|
|
1914
|
+
],
|
|
1915
|
+
"options": [
|
|
1916
|
+
{
|
|
1917
|
+
"flags": "--confirm",
|
|
1918
|
+
"description": "aplica, depois do sim da pessoa",
|
|
1919
|
+
"required": false,
|
|
1920
|
+
"default": null,
|
|
1921
|
+
"choices": null
|
|
1922
|
+
},
|
|
1923
|
+
{
|
|
1924
|
+
"flags": "-y, --yes",
|
|
1925
|
+
"description": "aplica logo depois de mostrar a prévia",
|
|
733
1926
|
"required": false,
|
|
734
1927
|
"default": null,
|
|
735
1928
|
"choices": null
|
|
736
1929
|
}
|
|
737
1930
|
],
|
|
738
1931
|
"commands": []
|
|
1932
|
+
},
|
|
1933
|
+
{
|
|
1934
|
+
"name": "files",
|
|
1935
|
+
"path": "nexo connect email files",
|
|
1936
|
+
"aliases": [],
|
|
1937
|
+
"description": "Os arquivos que chegaram nos últimos 30 dias e os deixados de fora, com o motivo",
|
|
1938
|
+
"arguments": [
|
|
1939
|
+
{
|
|
1940
|
+
"name": "pasta",
|
|
1941
|
+
"description": "pasta do conector",
|
|
1942
|
+
"required": false,
|
|
1943
|
+
"variadic": false,
|
|
1944
|
+
"default": "."
|
|
1945
|
+
}
|
|
1946
|
+
],
|
|
1947
|
+
"options": [],
|
|
1948
|
+
"commands": []
|
|
739
1949
|
}
|
|
740
1950
|
]
|
|
741
1951
|
}
|
|
@@ -2633,6 +3843,136 @@
|
|
|
2633
3843
|
"commands": []
|
|
2634
3844
|
}
|
|
2635
3845
|
]
|
|
3846
|
+
},
|
|
3847
|
+
{
|
|
3848
|
+
"name": "erp",
|
|
3849
|
+
"path": "nexo erp",
|
|
3850
|
+
"aliases": [],
|
|
3851
|
+
"description": "Operações de ERP dos conectores: consultar e agir no outro sistema, como a pessoa que pede",
|
|
3852
|
+
"arguments": [],
|
|
3853
|
+
"options": [],
|
|
3854
|
+
"commands": [
|
|
3855
|
+
{
|
|
3856
|
+
"name": "list",
|
|
3857
|
+
"path": "nexo erp list",
|
|
3858
|
+
"aliases": [],
|
|
3859
|
+
"description": "As operações de ERP que você alcança: id, chave, tipo, conector e argumentos",
|
|
3860
|
+
"arguments": [
|
|
3861
|
+
{
|
|
3862
|
+
"name": "busca",
|
|
3863
|
+
"description": "palavras da chave, do nome ou do conector",
|
|
3864
|
+
"required": false,
|
|
3865
|
+
"variadic": false,
|
|
3866
|
+
"default": null
|
|
3867
|
+
}
|
|
3868
|
+
],
|
|
3869
|
+
"options": [],
|
|
3870
|
+
"commands": []
|
|
3871
|
+
},
|
|
3872
|
+
{
|
|
3873
|
+
"name": "query",
|
|
3874
|
+
"path": "nexo erp query",
|
|
3875
|
+
"aliases": [],
|
|
3876
|
+
"description": "Roda uma consulta e mostra o resultado (--json traz tudo)",
|
|
3877
|
+
"arguments": [
|
|
3878
|
+
{
|
|
3879
|
+
"name": "operação",
|
|
3880
|
+
"description": "id (<conector>:<chave>) ou chave da operação (veja `nexo erp list`)",
|
|
3881
|
+
"required": true,
|
|
3882
|
+
"variadic": false,
|
|
3883
|
+
"default": null
|
|
3884
|
+
}
|
|
3885
|
+
],
|
|
3886
|
+
"options": [
|
|
3887
|
+
{
|
|
3888
|
+
"flags": "--args <json|@arquivo>",
|
|
3889
|
+
"description": "argumentos da operação: um objeto JSON, ou @arquivo",
|
|
3890
|
+
"required": false,
|
|
3891
|
+
"default": null,
|
|
3892
|
+
"choices": null
|
|
3893
|
+
}
|
|
3894
|
+
],
|
|
3895
|
+
"commands": []
|
|
3896
|
+
},
|
|
3897
|
+
{
|
|
3898
|
+
"name": "action",
|
|
3899
|
+
"path": "nexo erp action",
|
|
3900
|
+
"aliases": [],
|
|
3901
|
+
"description": "Roda uma ação: mostra a prévia do que seria gravado no outro sistema e só aplica depois do sim",
|
|
3902
|
+
"arguments": [
|
|
3903
|
+
{
|
|
3904
|
+
"name": "operação",
|
|
3905
|
+
"description": "id (<conector>:<chave>) ou chave da operação (veja `nexo erp list`)",
|
|
3906
|
+
"required": true,
|
|
3907
|
+
"variadic": false,
|
|
3908
|
+
"default": null
|
|
3909
|
+
}
|
|
3910
|
+
],
|
|
3911
|
+
"options": [
|
|
3912
|
+
{
|
|
3913
|
+
"flags": "--args <json|@arquivo>",
|
|
3914
|
+
"description": "argumentos da operação: um objeto JSON, ou @arquivo",
|
|
3915
|
+
"required": false,
|
|
3916
|
+
"default": null,
|
|
3917
|
+
"choices": null
|
|
3918
|
+
},
|
|
3919
|
+
{
|
|
3920
|
+
"flags": "--confirm <token>",
|
|
3921
|
+
"description": "aplica com o token da prévia, depois do sim da pessoa",
|
|
3922
|
+
"required": false,
|
|
3923
|
+
"default": null,
|
|
3924
|
+
"choices": null
|
|
3925
|
+
}
|
|
3926
|
+
],
|
|
3927
|
+
"commands": []
|
|
3928
|
+
},
|
|
3929
|
+
{
|
|
3930
|
+
"name": "note",
|
|
3931
|
+
"path": "nexo erp note",
|
|
3932
|
+
"aliases": [],
|
|
3933
|
+
"description": "Grava ou apaga a nota da empresa numa operação ou num campo dela: mostra o antes e o depois e pede o sim",
|
|
3934
|
+
"arguments": [
|
|
3935
|
+
{
|
|
3936
|
+
"name": "operação",
|
|
3937
|
+
"description": "id (<conector>:<chave>) ou chave da operação (veja `nexo erp list`)",
|
|
3938
|
+
"required": true,
|
|
3939
|
+
"variadic": false,
|
|
3940
|
+
"default": null
|
|
3941
|
+
},
|
|
3942
|
+
{
|
|
3943
|
+
"name": "texto",
|
|
3944
|
+
"description": "o texto da nota (até 500 caracteres)",
|
|
3945
|
+
"required": false,
|
|
3946
|
+
"variadic": false,
|
|
3947
|
+
"default": null
|
|
3948
|
+
}
|
|
3949
|
+
],
|
|
3950
|
+
"options": [
|
|
3951
|
+
{
|
|
3952
|
+
"flags": "--field <campo>",
|
|
3953
|
+
"description": "o argumento ou o campo de saída da operação; sem ele, a nota é da operação",
|
|
3954
|
+
"required": false,
|
|
3955
|
+
"default": null,
|
|
3956
|
+
"choices": null
|
|
3957
|
+
},
|
|
3958
|
+
{
|
|
3959
|
+
"flags": "--remove",
|
|
3960
|
+
"description": "apaga a nota",
|
|
3961
|
+
"required": false,
|
|
3962
|
+
"default": null,
|
|
3963
|
+
"choices": null
|
|
3964
|
+
},
|
|
3965
|
+
{
|
|
3966
|
+
"flags": "--confirm",
|
|
3967
|
+
"description": "aplica, depois do sim da pessoa",
|
|
3968
|
+
"required": false,
|
|
3969
|
+
"default": null,
|
|
3970
|
+
"choices": null
|
|
3971
|
+
}
|
|
3972
|
+
],
|
|
3973
|
+
"commands": []
|
|
3974
|
+
}
|
|
3975
|
+
]
|
|
2636
3976
|
}
|
|
2637
3977
|
]
|
|
2638
3978
|
}
|