@fragno-dev/cli 0.1.14 → 0.1.16
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/.turbo/turbo-build.log +7 -7
- package/CHANGELOG.md +23 -0
- package/dist/cli.d.ts +32 -8
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +400 -94
- package/dist/cli.js.map +1 -1
- package/package.json +6 -4
- package/src/cli.ts +90 -83
- package/src/commands/corpus.ts +523 -44
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @fragno-dev/cli@0.1.
|
|
2
|
+
> @fragno-dev/cli@0.1.16 build /home/runner/work/fragno/fragno/apps/fragno-cli
|
|
3
3
|
> tsdown
|
|
4
4
|
|
|
5
5
|
[34mℹ[39m tsdown [2mv0.15.12[22m powered by rolldown [2mv1.0.0-beta.45[22m
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
[34mℹ[39m Build start
|
|
11
11
|
[34mℹ[39m Granting execute permission to [4mdist/cli.d.ts[24m
|
|
12
12
|
[34mℹ[39m Granting execute permission to [4mdist/cli.js[24m
|
|
13
|
-
[34mℹ[39m [2mdist/[22m[1mcli.js[22m [
|
|
14
|
-
[34mℹ[39m [2mdist/[22mcli.js.map [
|
|
15
|
-
[34mℹ[39m [2mdist/[22mcli.d.ts.map [2m 0.
|
|
16
|
-
[34mℹ[39m [2mdist/[22m[32m[1mcli.d.ts[22m[39m [2m 1.
|
|
17
|
-
[34mℹ[39m 4 files, total:
|
|
18
|
-
[32m✔[39m Build complete in [
|
|
13
|
+
[34mℹ[39m [2mdist/[22m[1mcli.js[22m [2m33.97 kB[22m [2m│ gzip: 8.15 kB[22m
|
|
14
|
+
[34mℹ[39m [2mdist/[22mcli.js.map [2m69.21 kB[22m [2m│ gzip: 16.57 kB[22m
|
|
15
|
+
[34mℹ[39m [2mdist/[22mcli.d.ts.map [2m 0.82 kB[22m [2m│ gzip: 0.34 kB[22m
|
|
16
|
+
[34mℹ[39m [2mdist/[22m[32m[1mcli.d.ts[22m[39m [2m 1.88 kB[22m [2m│ gzip: 0.44 kB[22m
|
|
17
|
+
[34mℹ[39m 4 files, total: 105.88 kB
|
|
18
|
+
[32m✔[39m Build complete in [32m7402ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @fragno-dev/cli
|
|
2
2
|
|
|
3
|
+
## 0.1.16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [09a1e13]
|
|
8
|
+
- @fragno-dev/core@0.1.7
|
|
9
|
+
- @fragno-dev/corpus@0.0.3
|
|
10
|
+
- @fragno-dev/db@0.1.13
|
|
11
|
+
|
|
12
|
+
## 0.1.15
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- c3d52b8: feat: add `--start`, `--end`, `--headings`, and `--id` flags to corpus command
|
|
17
|
+
- c74bf81: fix: `corpus` command now shows full examples
|
|
18
|
+
- a2c6228: feat: properly render Markdown output in terminal (syntax highlighting etc)
|
|
19
|
+
- Updated dependencies [be537b1]
|
|
20
|
+
- Updated dependencies [b54ff8b]
|
|
21
|
+
- Updated dependencies [c3d52b8]
|
|
22
|
+
- Updated dependencies [c74bf81]
|
|
23
|
+
- @fragno-dev/corpus@0.0.3
|
|
24
|
+
- @fragno-dev/db@0.1.13
|
|
25
|
+
|
|
3
26
|
## 0.1.14
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
package/dist/cli.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import * as
|
|
2
|
+
import * as gunshi4 from "gunshi";
|
|
3
3
|
|
|
4
4
|
//#region src/commands/db/generate.d.ts
|
|
5
|
-
declare const generateCommand:
|
|
5
|
+
declare const generateCommand: gunshi4.Command<{
|
|
6
6
|
output: {
|
|
7
7
|
type: "string";
|
|
8
8
|
short: string;
|
|
@@ -26,13 +26,13 @@ declare const generateCommand: gunshi5.Command<{
|
|
|
26
26
|
}>;
|
|
27
27
|
//#endregion
|
|
28
28
|
//#region src/commands/db/migrate.d.ts
|
|
29
|
-
declare const migrateCommand:
|
|
29
|
+
declare const migrateCommand: gunshi4.Command<{}>;
|
|
30
30
|
//#endregion
|
|
31
31
|
//#region src/commands/db/info.d.ts
|
|
32
|
-
declare const infoCommand:
|
|
32
|
+
declare const infoCommand: gunshi4.Command<{}>;
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region src/commands/search.d.ts
|
|
35
|
-
declare const searchCommand:
|
|
35
|
+
declare const searchCommand: gunshi4.Command<{
|
|
36
36
|
limit: {
|
|
37
37
|
type: "number";
|
|
38
38
|
description: string;
|
|
@@ -56,11 +56,35 @@ declare const searchCommand: gunshi5.Command<{
|
|
|
56
56
|
}>;
|
|
57
57
|
//#endregion
|
|
58
58
|
//#region src/commands/corpus.d.ts
|
|
59
|
-
declare const corpusCommand:
|
|
59
|
+
declare const corpusCommand: gunshi4.Command<{
|
|
60
|
+
"no-line-numbers": {
|
|
61
|
+
type: "boolean";
|
|
62
|
+
short: string;
|
|
63
|
+
description: string;
|
|
64
|
+
};
|
|
65
|
+
start: {
|
|
66
|
+
type: "number";
|
|
67
|
+
short: string;
|
|
68
|
+
description: string;
|
|
69
|
+
};
|
|
70
|
+
end: {
|
|
71
|
+
type: "number";
|
|
72
|
+
short: string;
|
|
73
|
+
description: string;
|
|
74
|
+
};
|
|
75
|
+
headings: {
|
|
76
|
+
type: "boolean";
|
|
77
|
+
description: string;
|
|
78
|
+
};
|
|
79
|
+
id: {
|
|
80
|
+
type: "string";
|
|
81
|
+
description: string;
|
|
82
|
+
};
|
|
83
|
+
}>;
|
|
60
84
|
//#endregion
|
|
61
85
|
//#region src/cli.d.ts
|
|
62
|
-
declare const dbCommand:
|
|
63
|
-
declare const mainCommand:
|
|
86
|
+
declare const dbCommand: gunshi4.Command<gunshi4.Args>;
|
|
87
|
+
declare const mainCommand: gunshi4.Command<gunshi4.Args>;
|
|
64
88
|
//#endregion
|
|
65
89
|
export { corpusCommand, dbCommand, generateCommand, infoCommand, mainCommand, migrateCommand, searchCommand };
|
|
66
90
|
//# sourceMappingURL=cli.d.ts.map
|
package/dist/cli.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.d.ts","names":[],"sources":["../src/commands/db/generate.ts","../src/commands/db/migrate.ts","../src/commands/db/info.ts","../src/commands/search.ts","../src/commands/corpus.ts","../src/cli.ts"],"sourcesContent":[],"mappings":";;;;cAOa,iBAyGX,OAAA,CAzG0B;;;;IAAf,WAAA,EAAA,MAyGX;;;;IC3GW,KAAA,EAAA,MAqEX;;;;ICtEW,IAAA,EAAA,QA4HX;;;;EC5GW,MAAA,EAAA;;;;
|
|
1
|
+
{"version":3,"file":"cli.d.ts","names":[],"sources":["../src/commands/db/generate.ts","../src/commands/db/migrate.ts","../src/commands/db/info.ts","../src/commands/search.ts","../src/commands/corpus.ts","../src/cli.ts"],"sourcesContent":[],"mappings":";;;;cAOa,iBAyGX,OAAA,CAzG0B;;;;IAAf,WAAA,EAAA,MAyGX;;;;IC3GW,KAAA,EAAA,MAqEX;;;;ICtEW,IAAA,EAAA,QA4HX;;;;EC5GW,MAAA,EAAA;;;;EC0eA,CAAA;;;;cHzfA,gBAqEX,OAAA,CArEyB;;;cCDd,aA4HX,OAAA,CA5HsB;;;cCgBX,eAoFX,OAAA,CApFwB;;;;IHbb,OAAA,EAAA,MAyGX;;;;IC3GW,WAAA,EAqEX,MAAA;;;;ICtEW,IAAA,EAAA,SA4HX;;;;EC5GW,UAAA,EAAA;;;;EC0eA,CAAA;;;;cAAA,eAsEX,OAAA,CAtEwB;;;;IJvfb,WAAA,EAAA,MAyGX;;;;IC3GW,KAAA,EAAA,MAqEX;;;;ICtEW,IAAA,EAAA,QA4HX;;;;EC5GW,QAAA,EAAA;;;;EC0eA,EAAA,EAAA;;;;ACveb,CAAA,CAAA;;;cAAa,WAAS,OAAA,CAAA,QAGpB,OAAA,CAHoB,IAAA;cAMT,aAAW,OAAA,CAAA,QAGtB,OAAA,CAHsB,IAAA"}
|