it4-tools 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -12
- package/package.json +1 -1
- package/src/index.js +6 -11
package/README.md
CHANGED
|
@@ -26,20 +26,14 @@ Fluxo:
|
|
|
26
26
|
que não é IT4.
|
|
27
27
|
4. **`npm i -g @it4solution/tools`** — instala o **core** do CLI (bin `it4`).
|
|
28
28
|
|
|
29
|
-
O CLI é **core + plugins por capacidade
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
O CLI é **core + plugins por capacidade**, e os plugins (`create`, `skills`,
|
|
30
|
+
`publish`, `task`, `library`, `docs`, `workspace`) já aparecem no `it4 --help` e se
|
|
31
|
+
**instalam sozinhos no primeiro uso**, do mesmo feed que o `~/.npmrc` acima autentica.
|
|
32
|
+
Não há nada para instalar à mão.
|
|
32
33
|
|
|
33
|
-
|
|
34
|
-
it4 plugins install @it4solution/plugin-create # cria projetos
|
|
35
|
-
it4 plugins install @it4solution/plugin-skills # skills do Claude Code
|
|
36
|
-
it4 plugins install @it4solution/plugin-publish-nuget # publica libs .NET
|
|
37
|
-
it4 plugins # lista o que está instalado
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
Depois disso, `it4 --help` mostra os comandos disponíveis. Pra re-logar
|
|
34
|
+
`it4 --help` mostra os comandos disponíveis. Pra re-logar
|
|
41
35
|
quando o PAT expirar (em ~90 dias), rode de novo `npx -y it4-tools`
|
|
42
|
-
ou `it4 auth
|
|
36
|
+
ou `it4 auth` (mesmo caminho).
|
|
43
37
|
|
|
44
38
|
## Flags
|
|
45
39
|
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -98,18 +98,13 @@ function parseArgs(argv) {
|
|
|
98
98
|
return args;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
const PLUGINS = [
|
|
102
|
-
["@it4solution/plugin-create", "cria projetos (frontend, backend, monorepo)"],
|
|
103
|
-
["@it4solution/plugin-skills", "instala/atualiza skills do Claude Code"],
|
|
104
|
-
["@it4solution/plugin-publish-nuget", "publica libs .NET (nuget)"],
|
|
105
|
-
];
|
|
106
|
-
|
|
107
101
|
function printPluginsHint() {
|
|
108
|
-
log.info(
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
102
|
+
log.info(
|
|
103
|
+
"O CLI é core + plugins, e os plugins se instalam sozinhos no primeiro uso de cada comando.",
|
|
104
|
+
);
|
|
105
|
+
log.message(
|
|
106
|
+
` ${pc.cyan("it4 --help")} ${pc.dim("# lista todos os comandos, instalados ou não")}`,
|
|
107
|
+
);
|
|
113
108
|
}
|
|
114
109
|
|
|
115
110
|
function printSkillHint() {
|