@winning-sales/nexo 0.8.0 → 0.9.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 +35 -0
- package/assets/docs/pages.json +1 -1
- package/assets/skills/nexo-automations/SKILL.md +4 -0
- package/dist/commands/brain.js +16 -1
- package/dist/commands/context-company.js +137 -0
- package/dist/commands/knowledge.js +261 -0
- package/dist/program-brain.js +1 -0
- package/dist/program-context.js +61 -0
- package/dist/program-knowledge.js +130 -0
- package/dist/program.js +8 -1
- package/dist/tools/tool-manifest.js +17 -0
- package/package.json +1 -1
- package/reference.json +643 -1
package/reference.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.9.0",
|
|
3
3
|
"program": {
|
|
4
4
|
"name": "nexo",
|
|
5
5
|
"path": "nexo",
|
|
@@ -3659,6 +3659,13 @@
|
|
|
3659
3659
|
"default": null,
|
|
3660
3660
|
"choices": null
|
|
3661
3661
|
},
|
|
3662
|
+
{
|
|
3663
|
+
"flags": "--agent-role <papel>",
|
|
3664
|
+
"description": "só com o momento attendance_agent_turn: sdr (o padrão) ou cs",
|
|
3665
|
+
"required": false,
|
|
3666
|
+
"default": null,
|
|
3667
|
+
"choices": null
|
|
3668
|
+
},
|
|
3662
3669
|
{
|
|
3663
3670
|
"flags": "--always <texto>",
|
|
3664
3671
|
"description": "o que fazer sempre (repita para mais de um)",
|
|
@@ -3866,6 +3873,641 @@
|
|
|
3866
3873
|
}
|
|
3867
3874
|
]
|
|
3868
3875
|
},
|
|
3876
|
+
{
|
|
3877
|
+
"name": "knowledge",
|
|
3878
|
+
"path": "nexo knowledge",
|
|
3879
|
+
"aliases": [
|
|
3880
|
+
"base"
|
|
3881
|
+
],
|
|
3882
|
+
"description": "A Base de conhecimento: itens e temas. Só admin, com o escopo calibration:write para escrever",
|
|
3883
|
+
"arguments": [],
|
|
3884
|
+
"options": [],
|
|
3885
|
+
"commands": [
|
|
3886
|
+
{
|
|
3887
|
+
"name": "items",
|
|
3888
|
+
"path": "nexo knowledge items",
|
|
3889
|
+
"aliases": [],
|
|
3890
|
+
"description": "Os itens da Base: lista, cria, edita (texto, tipo, tema) e move de tema",
|
|
3891
|
+
"arguments": [],
|
|
3892
|
+
"options": [],
|
|
3893
|
+
"commands": [
|
|
3894
|
+
{
|
|
3895
|
+
"name": "list",
|
|
3896
|
+
"path": "nexo knowledge items list",
|
|
3897
|
+
"aliases": [],
|
|
3898
|
+
"description": "Lista os itens, com o tema de cada um",
|
|
3899
|
+
"arguments": [],
|
|
3900
|
+
"options": [
|
|
3901
|
+
{
|
|
3902
|
+
"flags": "--type <tipo>",
|
|
3903
|
+
"description": "só os itens deste tipo (rule, practice, product_fact, price, proof ou standard)",
|
|
3904
|
+
"required": false,
|
|
3905
|
+
"default": null,
|
|
3906
|
+
"choices": null
|
|
3907
|
+
},
|
|
3908
|
+
{
|
|
3909
|
+
"flags": "--theme <id>",
|
|
3910
|
+
"description": "só os itens deste tema (a CLI percorre as páginas e filtra)",
|
|
3911
|
+
"required": false,
|
|
3912
|
+
"default": null,
|
|
3913
|
+
"choices": null
|
|
3914
|
+
},
|
|
3915
|
+
{
|
|
3916
|
+
"flags": "--needs-you",
|
|
3917
|
+
"description": "só os pendentes",
|
|
3918
|
+
"required": false,
|
|
3919
|
+
"default": null,
|
|
3920
|
+
"choices": null
|
|
3921
|
+
},
|
|
3922
|
+
{
|
|
3923
|
+
"flags": "--page <n>",
|
|
3924
|
+
"description": "a página",
|
|
3925
|
+
"required": false,
|
|
3926
|
+
"default": null,
|
|
3927
|
+
"choices": null
|
|
3928
|
+
},
|
|
3929
|
+
{
|
|
3930
|
+
"flags": "--page-size <n>",
|
|
3931
|
+
"description": "itens por página (até 100)",
|
|
3932
|
+
"required": false,
|
|
3933
|
+
"default": null,
|
|
3934
|
+
"choices": null
|
|
3935
|
+
}
|
|
3936
|
+
],
|
|
3937
|
+
"commands": []
|
|
3938
|
+
},
|
|
3939
|
+
{
|
|
3940
|
+
"name": "create",
|
|
3941
|
+
"path": "nexo knowledge items create",
|
|
3942
|
+
"aliases": [],
|
|
3943
|
+
"description": "Escreve um item à mão; entra em uso na hora",
|
|
3944
|
+
"arguments": [],
|
|
3945
|
+
"options": [
|
|
3946
|
+
{
|
|
3947
|
+
"flags": "--type <tipo>",
|
|
3948
|
+
"description": "rule, practice, product_fact, price, proof ou standard",
|
|
3949
|
+
"required": false,
|
|
3950
|
+
"default": null,
|
|
3951
|
+
"choices": null
|
|
3952
|
+
},
|
|
3953
|
+
{
|
|
3954
|
+
"flags": "--text <texto>",
|
|
3955
|
+
"description": "o texto curto do item",
|
|
3956
|
+
"required": false,
|
|
3957
|
+
"default": null,
|
|
3958
|
+
"choices": null
|
|
3959
|
+
},
|
|
3960
|
+
{
|
|
3961
|
+
"flags": "--theme <id>",
|
|
3962
|
+
"description": "o tema do item (sem ele, o tema padrão)",
|
|
3963
|
+
"required": false,
|
|
3964
|
+
"default": null,
|
|
3965
|
+
"choices": null
|
|
3966
|
+
},
|
|
3967
|
+
{
|
|
3968
|
+
"flags": "--subject <assunto>",
|
|
3969
|
+
"description": "campos da regra (type rule): discount, minimum_price, deadline, payment_terms, integration, scope ou implementation",
|
|
3970
|
+
"required": false,
|
|
3971
|
+
"default": null,
|
|
3972
|
+
"choices": null
|
|
3973
|
+
},
|
|
3974
|
+
{
|
|
3975
|
+
"flags": "--condition <texto>",
|
|
3976
|
+
"description": "regra: a condição que ativa",
|
|
3977
|
+
"required": false,
|
|
3978
|
+
"default": null,
|
|
3979
|
+
"choices": null
|
|
3980
|
+
},
|
|
3981
|
+
{
|
|
3982
|
+
"flags": "--limit <texto>",
|
|
3983
|
+
"description": "regra: o valor do limite",
|
|
3984
|
+
"required": false,
|
|
3985
|
+
"default": null,
|
|
3986
|
+
"choices": null
|
|
3987
|
+
},
|
|
3988
|
+
{
|
|
3989
|
+
"flags": "--exception <texto>",
|
|
3990
|
+
"description": "regra: a exceção conhecida",
|
|
3991
|
+
"required": false,
|
|
3992
|
+
"default": null,
|
|
3993
|
+
"choices": null
|
|
3994
|
+
},
|
|
3995
|
+
{
|
|
3996
|
+
"flags": "--approver <texto>",
|
|
3997
|
+
"description": "regra: quem aprova a exceção",
|
|
3998
|
+
"required": false,
|
|
3999
|
+
"default": null,
|
|
4000
|
+
"choices": null
|
|
4001
|
+
}
|
|
4002
|
+
],
|
|
4003
|
+
"commands": []
|
|
4004
|
+
},
|
|
4005
|
+
{
|
|
4006
|
+
"name": "edit",
|
|
4007
|
+
"path": "nexo knowledge items edit",
|
|
4008
|
+
"aliases": [],
|
|
4009
|
+
"description": "Edita um item: texto, tipo, tema ou campos da regra",
|
|
4010
|
+
"arguments": [
|
|
4011
|
+
{
|
|
4012
|
+
"name": "item",
|
|
4013
|
+
"description": "id do item",
|
|
4014
|
+
"required": true,
|
|
4015
|
+
"variadic": false,
|
|
4016
|
+
"default": null
|
|
4017
|
+
}
|
|
4018
|
+
],
|
|
4019
|
+
"options": [
|
|
4020
|
+
{
|
|
4021
|
+
"flags": "--text <texto>",
|
|
4022
|
+
"description": "o texto novo",
|
|
4023
|
+
"required": false,
|
|
4024
|
+
"default": null,
|
|
4025
|
+
"choices": null
|
|
4026
|
+
},
|
|
4027
|
+
{
|
|
4028
|
+
"flags": "--type <tipo>",
|
|
4029
|
+
"description": "o tipo novo (rule, practice, product_fact, price, proof ou standard)",
|
|
4030
|
+
"required": false,
|
|
4031
|
+
"default": null,
|
|
4032
|
+
"choices": null
|
|
4033
|
+
},
|
|
4034
|
+
{
|
|
4035
|
+
"flags": "--theme <id>",
|
|
4036
|
+
"description": "o tema novo (nexo knowledge themes list)",
|
|
4037
|
+
"required": false,
|
|
4038
|
+
"default": null,
|
|
4039
|
+
"choices": null
|
|
4040
|
+
},
|
|
4041
|
+
{
|
|
4042
|
+
"flags": "--subject <assunto>",
|
|
4043
|
+
"description": "campos da regra (type rule): discount, minimum_price, deadline, payment_terms, integration, scope ou implementation",
|
|
4044
|
+
"required": false,
|
|
4045
|
+
"default": null,
|
|
4046
|
+
"choices": null
|
|
4047
|
+
},
|
|
4048
|
+
{
|
|
4049
|
+
"flags": "--condition <texto>",
|
|
4050
|
+
"description": "regra: a condição que ativa",
|
|
4051
|
+
"required": false,
|
|
4052
|
+
"default": null,
|
|
4053
|
+
"choices": null
|
|
4054
|
+
},
|
|
4055
|
+
{
|
|
4056
|
+
"flags": "--limit <texto>",
|
|
4057
|
+
"description": "regra: o valor do limite",
|
|
4058
|
+
"required": false,
|
|
4059
|
+
"default": null,
|
|
4060
|
+
"choices": null
|
|
4061
|
+
},
|
|
4062
|
+
{
|
|
4063
|
+
"flags": "--exception <texto>",
|
|
4064
|
+
"description": "regra: a exceção conhecida",
|
|
4065
|
+
"required": false,
|
|
4066
|
+
"default": null,
|
|
4067
|
+
"choices": null
|
|
4068
|
+
},
|
|
4069
|
+
{
|
|
4070
|
+
"flags": "--approver <texto>",
|
|
4071
|
+
"description": "regra: quem aprova a exceção",
|
|
4072
|
+
"required": false,
|
|
4073
|
+
"default": null,
|
|
4074
|
+
"choices": null
|
|
4075
|
+
}
|
|
4076
|
+
],
|
|
4077
|
+
"commands": []
|
|
4078
|
+
},
|
|
4079
|
+
{
|
|
4080
|
+
"name": "on",
|
|
4081
|
+
"path": "nexo knowledge items on",
|
|
4082
|
+
"aliases": [],
|
|
4083
|
+
"description": "Liga um item desligado: volta a ficar em uso",
|
|
4084
|
+
"arguments": [
|
|
4085
|
+
{
|
|
4086
|
+
"name": "item",
|
|
4087
|
+
"description": "id do item",
|
|
4088
|
+
"required": true,
|
|
4089
|
+
"variadic": false,
|
|
4090
|
+
"default": null
|
|
4091
|
+
}
|
|
4092
|
+
],
|
|
4093
|
+
"options": [],
|
|
4094
|
+
"commands": []
|
|
4095
|
+
},
|
|
4096
|
+
{
|
|
4097
|
+
"name": "off",
|
|
4098
|
+
"path": "nexo knowledge items off",
|
|
4099
|
+
"aliases": [],
|
|
4100
|
+
"description": "Desliga um item: sai de uso, sem apagar",
|
|
4101
|
+
"arguments": [
|
|
4102
|
+
{
|
|
4103
|
+
"name": "item",
|
|
4104
|
+
"description": "id do item",
|
|
4105
|
+
"required": true,
|
|
4106
|
+
"variadic": false,
|
|
4107
|
+
"default": null
|
|
4108
|
+
}
|
|
4109
|
+
],
|
|
4110
|
+
"options": [],
|
|
4111
|
+
"commands": []
|
|
4112
|
+
},
|
|
4113
|
+
{
|
|
4114
|
+
"name": "resolve",
|
|
4115
|
+
"path": "nexo knowledge items resolve",
|
|
4116
|
+
"aliases": [],
|
|
4117
|
+
"description": "Resolve uma pendência: choose (este lado do conflito), approve (aprova a prova), use (aceita como está), rewrite, discard",
|
|
4118
|
+
"arguments": [
|
|
4119
|
+
{
|
|
4120
|
+
"name": "item",
|
|
4121
|
+
"description": "id do item",
|
|
4122
|
+
"required": true,
|
|
4123
|
+
"variadic": false,
|
|
4124
|
+
"default": null
|
|
4125
|
+
}
|
|
4126
|
+
],
|
|
4127
|
+
"options": [
|
|
4128
|
+
{
|
|
4129
|
+
"flags": "--action <ação>",
|
|
4130
|
+
"description": "choose, approve, use, rewrite ou discard",
|
|
4131
|
+
"required": false,
|
|
4132
|
+
"default": null,
|
|
4133
|
+
"choices": null
|
|
4134
|
+
},
|
|
4135
|
+
{
|
|
4136
|
+
"flags": "--text <texto>",
|
|
4137
|
+
"description": "o texto novo (só com rewrite)",
|
|
4138
|
+
"required": false,
|
|
4139
|
+
"default": null,
|
|
4140
|
+
"choices": null
|
|
4141
|
+
},
|
|
4142
|
+
{
|
|
4143
|
+
"flags": "-y, --yes",
|
|
4144
|
+
"description": "descarta sem perguntar (só depois do sim da pessoa)",
|
|
4145
|
+
"required": false,
|
|
4146
|
+
"default": null,
|
|
4147
|
+
"choices": null
|
|
4148
|
+
}
|
|
4149
|
+
],
|
|
4150
|
+
"commands": []
|
|
4151
|
+
},
|
|
4152
|
+
{
|
|
4153
|
+
"name": "remove",
|
|
4154
|
+
"path": "nexo knowledge items remove",
|
|
4155
|
+
"aliases": [],
|
|
4156
|
+
"description": "Remove um item de vez; para tirar de uso por um tempo, use off",
|
|
4157
|
+
"arguments": [
|
|
4158
|
+
{
|
|
4159
|
+
"name": "item",
|
|
4160
|
+
"description": "id do item",
|
|
4161
|
+
"required": true,
|
|
4162
|
+
"variadic": false,
|
|
4163
|
+
"default": null
|
|
4164
|
+
}
|
|
4165
|
+
],
|
|
4166
|
+
"options": [
|
|
4167
|
+
{
|
|
4168
|
+
"flags": "-y, --yes",
|
|
4169
|
+
"description": "remove sem perguntar (só depois do sim da pessoa)",
|
|
4170
|
+
"required": false,
|
|
4171
|
+
"default": null,
|
|
4172
|
+
"choices": null
|
|
4173
|
+
}
|
|
4174
|
+
],
|
|
4175
|
+
"commands": []
|
|
4176
|
+
},
|
|
4177
|
+
{
|
|
4178
|
+
"name": "move",
|
|
4179
|
+
"path": "nexo knowledge items move",
|
|
4180
|
+
"aliases": [],
|
|
4181
|
+
"description": "Move até 100 itens para um tema; um id que não existe recusa tudo",
|
|
4182
|
+
"arguments": [
|
|
4183
|
+
{
|
|
4184
|
+
"name": "item",
|
|
4185
|
+
"description": "ids dos itens",
|
|
4186
|
+
"required": true,
|
|
4187
|
+
"variadic": true,
|
|
4188
|
+
"default": null
|
|
4189
|
+
}
|
|
4190
|
+
],
|
|
4191
|
+
"options": [
|
|
4192
|
+
{
|
|
4193
|
+
"flags": "--theme <id>",
|
|
4194
|
+
"description": "o tema de destino",
|
|
4195
|
+
"required": false,
|
|
4196
|
+
"default": null,
|
|
4197
|
+
"choices": null
|
|
4198
|
+
}
|
|
4199
|
+
],
|
|
4200
|
+
"commands": []
|
|
4201
|
+
}
|
|
4202
|
+
]
|
|
4203
|
+
},
|
|
4204
|
+
{
|
|
4205
|
+
"name": "themes",
|
|
4206
|
+
"path": "nexo knowledge themes",
|
|
4207
|
+
"aliases": [],
|
|
4208
|
+
"description": "Os temas da Base",
|
|
4209
|
+
"arguments": [],
|
|
4210
|
+
"options": [],
|
|
4211
|
+
"commands": [
|
|
4212
|
+
{
|
|
4213
|
+
"name": "list",
|
|
4214
|
+
"path": "nexo knowledge themes list",
|
|
4215
|
+
"aliases": [],
|
|
4216
|
+
"description": "Lista os temas, com o que cada um guarda",
|
|
4217
|
+
"arguments": [],
|
|
4218
|
+
"options": [],
|
|
4219
|
+
"commands": []
|
|
4220
|
+
},
|
|
4221
|
+
{
|
|
4222
|
+
"name": "create",
|
|
4223
|
+
"path": "nexo knowledge themes create",
|
|
4224
|
+
"aliases": [],
|
|
4225
|
+
"description": "Cria um tema",
|
|
4226
|
+
"arguments": [
|
|
4227
|
+
{
|
|
4228
|
+
"name": "nome",
|
|
4229
|
+
"description": "o nome do tema",
|
|
4230
|
+
"required": true,
|
|
4231
|
+
"variadic": false,
|
|
4232
|
+
"default": null
|
|
4233
|
+
}
|
|
4234
|
+
],
|
|
4235
|
+
"options": [],
|
|
4236
|
+
"commands": []
|
|
4237
|
+
},
|
|
4238
|
+
{
|
|
4239
|
+
"name": "rename",
|
|
4240
|
+
"path": "nexo knowledge themes rename",
|
|
4241
|
+
"aliases": [],
|
|
4242
|
+
"description": "Renomeia um tema",
|
|
4243
|
+
"arguments": [
|
|
4244
|
+
{
|
|
4245
|
+
"name": "tema",
|
|
4246
|
+
"description": "id do tema",
|
|
4247
|
+
"required": true,
|
|
4248
|
+
"variadic": false,
|
|
4249
|
+
"default": null
|
|
4250
|
+
},
|
|
4251
|
+
{
|
|
4252
|
+
"name": "nome",
|
|
4253
|
+
"description": "o nome novo",
|
|
4254
|
+
"required": true,
|
|
4255
|
+
"variadic": false,
|
|
4256
|
+
"default": null
|
|
4257
|
+
}
|
|
4258
|
+
],
|
|
4259
|
+
"options": [],
|
|
4260
|
+
"commands": []
|
|
4261
|
+
},
|
|
4262
|
+
{
|
|
4263
|
+
"name": "remove",
|
|
4264
|
+
"path": "nexo knowledge themes remove",
|
|
4265
|
+
"aliases": [],
|
|
4266
|
+
"description": "Apaga um tema vazio (com conteúdo, a API recusa com 409)",
|
|
4267
|
+
"arguments": [
|
|
4268
|
+
{
|
|
4269
|
+
"name": "tema",
|
|
4270
|
+
"description": "id do tema",
|
|
4271
|
+
"required": true,
|
|
4272
|
+
"variadic": false,
|
|
4273
|
+
"default": null
|
|
4274
|
+
}
|
|
4275
|
+
],
|
|
4276
|
+
"options": [
|
|
4277
|
+
{
|
|
4278
|
+
"flags": "-y, --yes",
|
|
4279
|
+
"description": "apaga sem perguntar (só depois do sim da pessoa)",
|
|
4280
|
+
"required": false,
|
|
4281
|
+
"default": null,
|
|
4282
|
+
"choices": null
|
|
4283
|
+
}
|
|
4284
|
+
],
|
|
4285
|
+
"commands": []
|
|
4286
|
+
}
|
|
4287
|
+
]
|
|
4288
|
+
}
|
|
4289
|
+
]
|
|
4290
|
+
},
|
|
4291
|
+
{
|
|
4292
|
+
"name": "context",
|
|
4293
|
+
"path": "nexo context",
|
|
4294
|
+
"aliases": [
|
|
4295
|
+
"contexto"
|
|
4296
|
+
],
|
|
4297
|
+
"description": "O contexto da empresa (empresa, ICP, persona, proposta de valor, posicionamento, oferta e prova): ler e editar",
|
|
4298
|
+
"arguments": [],
|
|
4299
|
+
"options": [],
|
|
4300
|
+
"commands": [
|
|
4301
|
+
{
|
|
4302
|
+
"name": "show",
|
|
4303
|
+
"path": "nexo context show",
|
|
4304
|
+
"aliases": [],
|
|
4305
|
+
"description": "Lê o contexto, bloco por bloco, com a origem de cada campo (precisa de context:read)",
|
|
4306
|
+
"arguments": [
|
|
4307
|
+
{
|
|
4308
|
+
"name": "bloco",
|
|
4309
|
+
"description": "só um bloco: empresa, icp, persona, proposta_de_valor, posicionamento, oferta ou prova",
|
|
4310
|
+
"required": false,
|
|
4311
|
+
"variadic": false,
|
|
4312
|
+
"default": null
|
|
4313
|
+
}
|
|
4314
|
+
],
|
|
4315
|
+
"options": [],
|
|
4316
|
+
"commands": []
|
|
4317
|
+
},
|
|
4318
|
+
{
|
|
4319
|
+
"name": "set",
|
|
4320
|
+
"path": "nexo context set",
|
|
4321
|
+
"aliases": [],
|
|
4322
|
+
"description": "Muda um campo, com a prévia de antes e depois e o sim. Só admin, com o escopo context:write, que precisa ser pedido pelo nome no login (nexo login --scopes <os que você usa>,context:write)",
|
|
4323
|
+
"arguments": [
|
|
4324
|
+
{
|
|
4325
|
+
"name": "bloco",
|
|
4326
|
+
"description": "empresa, icp, persona, proposta_de_valor, posicionamento, oferta ou prova",
|
|
4327
|
+
"required": true,
|
|
4328
|
+
"variadic": false,
|
|
4329
|
+
"default": null
|
|
4330
|
+
},
|
|
4331
|
+
{
|
|
4332
|
+
"name": "campo",
|
|
4333
|
+
"description": "caminho do campo, como offerings.0.whatItIs (veja `nexo context show`)",
|
|
4334
|
+
"required": true,
|
|
4335
|
+
"variadic": false,
|
|
4336
|
+
"default": null
|
|
4337
|
+
},
|
|
4338
|
+
{
|
|
4339
|
+
"name": "valor",
|
|
4340
|
+
"description": "o texto novo inteiro",
|
|
4341
|
+
"required": true,
|
|
4342
|
+
"variadic": false,
|
|
4343
|
+
"default": null
|
|
4344
|
+
}
|
|
4345
|
+
],
|
|
4346
|
+
"options": [
|
|
4347
|
+
{
|
|
4348
|
+
"flags": "--value-json",
|
|
4349
|
+
"description": "o valor é JSON (objeto, lista, número); sem isso é texto",
|
|
4350
|
+
"required": false,
|
|
4351
|
+
"default": null,
|
|
4352
|
+
"choices": null
|
|
4353
|
+
},
|
|
4354
|
+
{
|
|
4355
|
+
"flags": "--change-confirmed",
|
|
4356
|
+
"description": "confirma que quer mudar um bloco que a empresa já confirmou",
|
|
4357
|
+
"required": false,
|
|
4358
|
+
"default": null,
|
|
4359
|
+
"choices": null
|
|
4360
|
+
},
|
|
4361
|
+
{
|
|
4362
|
+
"flags": "-y, --yes",
|
|
4363
|
+
"description": "grava logo depois de mostrar a prévia",
|
|
4364
|
+
"required": false,
|
|
4365
|
+
"default": null,
|
|
4366
|
+
"choices": null
|
|
4367
|
+
}
|
|
4368
|
+
],
|
|
4369
|
+
"commands": []
|
|
4370
|
+
},
|
|
4371
|
+
{
|
|
4372
|
+
"name": "add",
|
|
4373
|
+
"path": "nexo context add",
|
|
4374
|
+
"aliases": [],
|
|
4375
|
+
"description": "Soma um item a uma lista, com a prévia e o sim. Só admin, com o escopo context:write, que precisa ser pedido pelo nome no login (nexo login --scopes <os que você usa>,context:write)",
|
|
4376
|
+
"arguments": [
|
|
4377
|
+
{
|
|
4378
|
+
"name": "bloco",
|
|
4379
|
+
"description": "empresa, icp, persona, proposta_de_valor, posicionamento, oferta ou prova",
|
|
4380
|
+
"required": true,
|
|
4381
|
+
"variadic": false,
|
|
4382
|
+
"default": null
|
|
4383
|
+
},
|
|
4384
|
+
{
|
|
4385
|
+
"name": "lista",
|
|
4386
|
+
"description": "caminho da lista, como offerings",
|
|
4387
|
+
"required": true,
|
|
4388
|
+
"variadic": false,
|
|
4389
|
+
"default": null
|
|
4390
|
+
},
|
|
4391
|
+
{
|
|
4392
|
+
"name": "valor",
|
|
4393
|
+
"description": "o item: um texto, ou com --value-json o objeto inteiro",
|
|
4394
|
+
"required": true,
|
|
4395
|
+
"variadic": false,
|
|
4396
|
+
"default": null
|
|
4397
|
+
}
|
|
4398
|
+
],
|
|
4399
|
+
"options": [
|
|
4400
|
+
{
|
|
4401
|
+
"flags": "--value-json",
|
|
4402
|
+
"description": "o valor é JSON (objeto, lista, número); sem isso é texto",
|
|
4403
|
+
"required": false,
|
|
4404
|
+
"default": null,
|
|
4405
|
+
"choices": null
|
|
4406
|
+
},
|
|
4407
|
+
{
|
|
4408
|
+
"flags": "--change-confirmed",
|
|
4409
|
+
"description": "confirma que quer mudar um bloco que a empresa já confirmou",
|
|
4410
|
+
"required": false,
|
|
4411
|
+
"default": null,
|
|
4412
|
+
"choices": null
|
|
4413
|
+
},
|
|
4414
|
+
{
|
|
4415
|
+
"flags": "-y, --yes",
|
|
4416
|
+
"description": "grava logo depois de mostrar a prévia",
|
|
4417
|
+
"required": false,
|
|
4418
|
+
"default": null,
|
|
4419
|
+
"choices": null
|
|
4420
|
+
}
|
|
4421
|
+
],
|
|
4422
|
+
"commands": []
|
|
4423
|
+
},
|
|
4424
|
+
{
|
|
4425
|
+
"name": "remove",
|
|
4426
|
+
"path": "nexo context remove",
|
|
4427
|
+
"aliases": [],
|
|
4428
|
+
"description": "Tira um item de uma lista, com a prévia e o sim. Só admin, com o escopo context:write, que precisa ser pedido pelo nome no login (nexo login --scopes <os que você usa>,context:write)",
|
|
4429
|
+
"arguments": [
|
|
4430
|
+
{
|
|
4431
|
+
"name": "bloco",
|
|
4432
|
+
"description": "empresa, icp, persona, proposta_de_valor, posicionamento, oferta ou prova",
|
|
4433
|
+
"required": true,
|
|
4434
|
+
"variadic": false,
|
|
4435
|
+
"default": null
|
|
4436
|
+
},
|
|
4437
|
+
{
|
|
4438
|
+
"name": "lista",
|
|
4439
|
+
"description": "caminho da lista, como offerings",
|
|
4440
|
+
"required": true,
|
|
4441
|
+
"variadic": false,
|
|
4442
|
+
"default": null
|
|
4443
|
+
},
|
|
4444
|
+
{
|
|
4445
|
+
"name": "item",
|
|
4446
|
+
"description": "o texto exato do item (para uma posição, use --index)",
|
|
4447
|
+
"required": false,
|
|
4448
|
+
"variadic": false,
|
|
4449
|
+
"default": null
|
|
4450
|
+
}
|
|
4451
|
+
],
|
|
4452
|
+
"options": [
|
|
4453
|
+
{
|
|
4454
|
+
"flags": "--index <n>",
|
|
4455
|
+
"description": "a posição do item na lista, a partir de 0, no lugar do texto",
|
|
4456
|
+
"required": false,
|
|
4457
|
+
"default": null,
|
|
4458
|
+
"choices": null
|
|
4459
|
+
},
|
|
4460
|
+
{
|
|
4461
|
+
"flags": "--change-confirmed",
|
|
4462
|
+
"description": "confirma que quer mudar um bloco que a empresa já confirmou",
|
|
4463
|
+
"required": false,
|
|
4464
|
+
"default": null,
|
|
4465
|
+
"choices": null
|
|
4466
|
+
},
|
|
4467
|
+
{
|
|
4468
|
+
"flags": "-y, --yes",
|
|
4469
|
+
"description": "grava logo depois de mostrar a prévia",
|
|
4470
|
+
"required": false,
|
|
4471
|
+
"default": null,
|
|
4472
|
+
"choices": null
|
|
4473
|
+
}
|
|
4474
|
+
],
|
|
4475
|
+
"commands": []
|
|
4476
|
+
},
|
|
4477
|
+
{
|
|
4478
|
+
"name": "confirm",
|
|
4479
|
+
"path": "nexo context confirm",
|
|
4480
|
+
"aliases": [],
|
|
4481
|
+
"description": "Confirma o rascunho de um bloco como está, com a prévia e o sim. Só admin, com o escopo context:write, que precisa ser pedido pelo nome no login (nexo login --scopes <os que você usa>,context:write)",
|
|
4482
|
+
"arguments": [
|
|
4483
|
+
{
|
|
4484
|
+
"name": "bloco",
|
|
4485
|
+
"description": "empresa, icp, persona, proposta_de_valor, posicionamento, oferta ou prova",
|
|
4486
|
+
"required": true,
|
|
4487
|
+
"variadic": false,
|
|
4488
|
+
"default": null
|
|
4489
|
+
}
|
|
4490
|
+
],
|
|
4491
|
+
"options": [
|
|
4492
|
+
{
|
|
4493
|
+
"flags": "--change-confirmed",
|
|
4494
|
+
"description": "confirma que quer mudar um bloco que a empresa já confirmou",
|
|
4495
|
+
"required": false,
|
|
4496
|
+
"default": null,
|
|
4497
|
+
"choices": null
|
|
4498
|
+
},
|
|
4499
|
+
{
|
|
4500
|
+
"flags": "-y, --yes",
|
|
4501
|
+
"description": "grava logo depois de mostrar a prévia",
|
|
4502
|
+
"required": false,
|
|
4503
|
+
"default": null,
|
|
4504
|
+
"choices": null
|
|
4505
|
+
}
|
|
4506
|
+
],
|
|
4507
|
+
"commands": []
|
|
4508
|
+
}
|
|
4509
|
+
]
|
|
4510
|
+
},
|
|
3869
4511
|
{
|
|
3870
4512
|
"name": "erp",
|
|
3871
4513
|
"path": "nexo erp",
|