@soltaoverbo/cli 0.2.1 → 0.3.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/dist/bin.js +3 -3
- package/package.json +9 -9
- package/src/bin.ts +2 -2
- package/src/commands/list.ts +1 -1
package/dist/bin.js
CHANGED
|
@@ -61,7 +61,7 @@ function runInstall() {
|
|
|
61
61
|
|
|
62
62
|
// src/commands/list.ts
|
|
63
63
|
import { loadTerms as loadTerms2, SpacedRepetition as SpacedRepetition2 } from "@soltaoverbo/core";
|
|
64
|
-
var CATEGORIES = ["general", "backend", "frontend", "devops", "data", "ai"];
|
|
64
|
+
var CATEGORIES = ["general", "backend", "frontend", "devops", "data", "ai", "javascript", "python", "architecture", "git", "performance", "security", "testing", "typescript"];
|
|
65
65
|
function runList(args) {
|
|
66
66
|
const catIdx = args.indexOf("--category");
|
|
67
67
|
const catFilter = catIdx !== -1 ? args[catIdx + 1]?.toLowerCase() : void 0;
|
|
@@ -289,7 +289,7 @@ if (process.platform === "win32") {
|
|
|
289
289
|
}
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
|
-
var VERSION = "0.
|
|
292
|
+
var VERSION = "0.3.0";
|
|
293
293
|
var [, , sub, ...rest] = process.argv;
|
|
294
294
|
function help() {
|
|
295
295
|
console.log(`
|
|
@@ -306,7 +306,7 @@ function help() {
|
|
|
306
306
|
${bold("install")} Injeta termos no Claude Code (barra de pensamento)
|
|
307
307
|
${bold("reset")} Limpa todo o histórico
|
|
308
308
|
${bold("list")} Lista todos os termos disponíveis
|
|
309
|
-
${bold("list --category")} ${dim("<cat>")} Filtra por: general, backend, frontend, devops, data, ai
|
|
309
|
+
${bold("list --category")} ${dim("<cat>")} Filtra por: general, backend, frontend, devops, data, ai, javascript, python, architecture, git, performance, security, testing, typescript
|
|
310
310
|
${bold("list --absorbed")} Inclui termos já absorvidos
|
|
311
311
|
|
|
312
312
|
${bold("EXEMPLOS")}
|
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soltaoverbo/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "CLI para verbo.dev — aprenda inglês técnico passivamente",
|
|
5
5
|
"bin": {
|
|
6
6
|
"verbo": "./dist/bin.js"
|
|
7
7
|
},
|
|
8
8
|
"type": "module",
|
|
9
|
-
"scripts": {
|
|
10
|
-
"build": "tsup",
|
|
11
|
-
"dev": "tsup --watch",
|
|
12
|
-
"lint": "eslint src"
|
|
13
|
-
},
|
|
14
9
|
"dependencies": {
|
|
15
|
-
"
|
|
16
|
-
"
|
|
10
|
+
"chokidar": "^3.6.0",
|
|
11
|
+
"@soltaoverbo/core": "0.3.0"
|
|
17
12
|
},
|
|
18
13
|
"devDependencies": {
|
|
19
14
|
"tsup": "^8.3.5",
|
|
20
15
|
"@types/node": "^22.10.1"
|
|
16
|
+
},
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "tsup",
|
|
19
|
+
"dev": "tsup --watch",
|
|
20
|
+
"lint": "eslint src"
|
|
21
21
|
}
|
|
22
|
-
}
|
|
22
|
+
}
|
package/src/bin.ts
CHANGED
|
@@ -21,7 +21,7 @@ if (process.platform === "win32") {
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
const VERSION = "0.
|
|
24
|
+
const VERSION = "0.3.0"
|
|
25
25
|
const [, , sub, ...rest] = process.argv
|
|
26
26
|
|
|
27
27
|
function help(): void {
|
|
@@ -39,7 +39,7 @@ function help(): void {
|
|
|
39
39
|
${bold("install")} Injeta termos no Claude Code (barra de pensamento)
|
|
40
40
|
${bold("reset")} Limpa todo o histórico
|
|
41
41
|
${bold("list")} Lista todos os termos disponíveis
|
|
42
|
-
${bold("list --category")} ${dim("<cat>")} Filtra por: general, backend, frontend, devops, data, ai
|
|
42
|
+
${bold("list --category")} ${dim("<cat>")} Filtra por: general, backend, frontend, devops, data, ai, javascript, python, architecture, git, performance, security, testing, typescript
|
|
43
43
|
${bold("list --absorbed")} Inclui termos já absorvidos
|
|
44
44
|
|
|
45
45
|
${bold("EXEMPLOS")}
|
package/src/commands/list.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { loadTerms, SpacedRepetition } from "@soltaoverbo/core"
|
|
2
2
|
import { bold, cyan, dim, green, yellow } from "../ui.ts"
|
|
3
3
|
|
|
4
|
-
const CATEGORIES = ["general", "backend", "frontend", "devops", "data", "ai"]
|
|
4
|
+
const CATEGORIES = ["general", "backend", "frontend", "devops", "data", "ai", "javascript", "python", "architecture", "git", "performance", "security", "testing", "typescript"]
|
|
5
5
|
|
|
6
6
|
export function runList(args: string[]): void {
|
|
7
7
|
const catIdx = args.indexOf("--category")
|