@reliverse/dler 1.6.1 → 1.6.2
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 +40 -13
- package/bin/app/agg/run.js +2 -2
- package/bin/app/check/cmd.d.ts +8 -0
- package/bin/app/check/cmd.js +19 -0
- package/bin/app/cmds.d.ts +297 -72
- package/bin/app/cmds.js +50 -11
- package/bin/app/conv/cmd.d.ts +33 -0
- package/bin/app/conv/cmd.js +189 -0
- package/bin/app/inject/cmd.js +2 -2
- package/bin/app/libs/cmd.d.ts +13 -0
- package/bin/app/libs/cmd.js +109 -0
- package/bin/app/relifso/cmd.js +4 -4
- package/bin/app/relinka/cmd.d.ts +18 -0
- package/bin/app/relinka/cmd.js +149 -0
- package/bin/app/rempts/{init/cmd → cmd}/cmd.d.ts +8 -4
- package/bin/app/rempts/cmd/cmd.js +152 -0
- package/bin/app/rempts/cmd/templates.d.ts +2 -0
- package/bin/app/rempts/cmd/templates.js +30 -0
- package/bin/app/rempts/{init/cmds → cmdsTs}/cmd.d.ts +1 -3
- package/bin/app/rempts/{init/cmds → cmdsTs}/cmd.js +30 -13
- package/bin/cli.js +3 -3
- package/bin/init/info.js +1 -1
- package/bin/init/load.d.ts +2 -2
- package/bin/libs/sdk/default.d.ts +2 -2
- package/bin/libs/sdk/sdk-impl/build/build-library.d.ts +2 -2
- package/bin/libs/sdk/sdk-impl/build/build-regular.d.ts +3 -3
- package/bin/libs/sdk/sdk-impl/library-flow.d.ts +3 -3
- package/bin/libs/sdk/sdk-impl/regular-flow.d.ts +2 -2
- package/bin/libs/sdk/sdk-impl/utils/utils-deps.d.ts +2 -2
- package/bin/libs/sdk/sdk-impl/utils/utils-pkg-json-libs.d.ts +2 -2
- package/bin/libs/sdk/sdk-impl/utils/utils-pkg-json-reg.d.ts +2 -2
- package/bin/libs/sdk/sdk-types.d.ts +1 -1
- package/bin/mod.d.ts +2 -2
- package/package.json +2 -2
- package/bin/app/mono/cmd.d.ts +0 -0
- package/bin/app/mono/cmd.js +0 -0
- package/bin/app/rempts/init/cmd/cmd.js +0 -67
package/README.md
CHANGED
|
@@ -127,7 +127,7 @@ if you run just `dler` — it will display a list of plugins which you can launc
|
|
|
127
127
|
|
|
128
128
|
## **available plugins**
|
|
129
129
|
|
|
130
|
-
[agg](#1-agg), [build](#2-build), [conv](#3-conv), [deps](#4-deps), [inject](#5-inject), [libs](#6-libs), [merge](#7-merge), [migrate](#8-migrate), [
|
|
130
|
+
[agg](#1-agg), [build](#2-build), [conv](#3-conv), [deps](#4-deps), [inject](#5-inject), [libs](#6-libs), [merge](#7-merge), [migrate](#8-migrate), [pub](#9-pub), [relifso](#10-relifso), [relinka](#11-relinka), [rempts](#12-rempts), [spell](#13-spell), [split](#14-split).
|
|
131
131
|
|
|
132
132
|
### 1. `agg`
|
|
133
133
|
|
|
@@ -303,11 +303,7 @@ dler migrate --lib module-resolution --target nodenext --dryRun
|
|
|
303
303
|
2. ensure your build tools support the new module resolution
|
|
304
304
|
3. review any warnings in the migration output
|
|
305
305
|
|
|
306
|
-
### 9. `
|
|
307
|
-
|
|
308
|
-
not yet documented.
|
|
309
|
-
|
|
310
|
-
### 10. `pub`
|
|
306
|
+
### 9. `pub`
|
|
311
307
|
|
|
312
308
|
pub command is separated for its own build-in plugin as well.
|
|
313
309
|
|
|
@@ -317,21 +313,52 @@ it already calls build command by itself, so you don't need to run `dler build`
|
|
|
317
313
|
dler pub ...
|
|
318
314
|
```
|
|
319
315
|
|
|
320
|
-
###
|
|
316
|
+
### 10. `relifso`
|
|
321
317
|
|
|
322
318
|
```bash
|
|
323
319
|
dler relifso init ...
|
|
324
320
|
```
|
|
325
321
|
|
|
326
|
-
###
|
|
322
|
+
### 11. `relinka`
|
|
327
323
|
|
|
328
|
-
@reliverse/relinka's best friend.
|
|
324
|
+
[@reliverse/relinka](https://github.com/reliverse/relinka)'s best friend. Converts between different logging formats (console, consola method/object, and relinka's function/method/object styles).
|
|
329
325
|
|
|
330
326
|
```bash
|
|
331
|
-
|
|
327
|
+
# Basic usage
|
|
328
|
+
dler relinka --input <file> --from <source> --to <target>
|
|
329
|
+
|
|
330
|
+
# Examples:
|
|
331
|
+
# Convert console.log to relinka function style
|
|
332
|
+
dler relinka --input src/app.ts --from console --to relinkaFunction
|
|
333
|
+
|
|
334
|
+
# Convert consola method to relinka method style
|
|
335
|
+
dler relinka --input src/app.ts --from consolaMethod --to relinkaMethod
|
|
336
|
+
|
|
337
|
+
# Convert between relinka styles
|
|
338
|
+
dler relinka --input src/app.ts --from relinkaMethod --to relinkaObject
|
|
339
|
+
|
|
340
|
+
# Convert to consola object style
|
|
341
|
+
dler relinka --input src/app.ts --from relinkaFunction --to consolaObject
|
|
332
342
|
```
|
|
333
343
|
|
|
334
|
-
|
|
344
|
+
**Supported formats:**
|
|
345
|
+
|
|
346
|
+
- `console`: Standard console logging (`console.log(message, ...args)`)
|
|
347
|
+
- `consolaMethod`: Consola method style (`consola.log(message, ...args)`)
|
|
348
|
+
- `consolaObject`: Consola object style (`consola({ level, message, title?, args? })`)
|
|
349
|
+
- `relinkaFunction`: Relinka function style (`relinka("level", message, ...args)`)
|
|
350
|
+
- `relinkaMethod`: Relinka method style (`relinka.level(message, ...args)`)
|
|
351
|
+
- `relinkaObject`: Relinka object style (`relinka({ level, message, title?, args? })`)
|
|
352
|
+
|
|
353
|
+
**Special features:**
|
|
354
|
+
|
|
355
|
+
- Preserves additional arguments in all formats
|
|
356
|
+
- Handles special box format with title and message
|
|
357
|
+
- Maintains proper escaping and formatting
|
|
358
|
+
- Supports conversion between any combination of formats
|
|
359
|
+
- Supports both consola method and object styles
|
|
360
|
+
|
|
361
|
+
### 12. `rempts`
|
|
335
362
|
|
|
336
363
|
@reliverse/rempts's best friend. learn more in its [docs](https://github.com/reliverse/rempts).
|
|
337
364
|
|
|
@@ -340,7 +367,7 @@ dler rempts init --cmd my-cmd-1
|
|
|
340
367
|
dler rempts init --cmds
|
|
341
368
|
```
|
|
342
369
|
|
|
343
|
-
###
|
|
370
|
+
### 13. `spell`
|
|
344
371
|
|
|
345
372
|
**available spell types:**
|
|
346
373
|
|
|
@@ -409,7 +436,7 @@ files: [] // means all files
|
|
|
409
436
|
|
|
410
437
|
p.s. [see how rse cli uses hooked=true](https://github.com/reliverse/rse/blob/main/src/postbuild.ts)
|
|
411
438
|
|
|
412
|
-
###
|
|
439
|
+
### 14. `split`
|
|
413
440
|
|
|
414
441
|
splits your code/text file into multiple files.
|
|
415
442
|
|
package/bin/app/agg/run.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "@reliverse/rempts";
|
|
7
7
|
import { existsSync } from "node:fs";
|
|
8
8
|
import { resolve } from "node:path";
|
|
9
|
-
import {
|
|
9
|
+
import { getCmdAgg } from "../cmds.js";
|
|
10
10
|
async function loadConfig() {
|
|
11
11
|
const configPath = resolve(".config/dler.ts");
|
|
12
12
|
if (!existsSync(configPath)) return null;
|
|
@@ -84,7 +84,7 @@ export async function promptAggCommand() {
|
|
|
84
84
|
defaultValue: out.replace(/\.(ts|js)$/, ".types.$1")
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
|
-
await runCmd(await
|
|
87
|
+
await runCmd(await getCmdAgg(), [
|
|
88
88
|
`--imports=${imports}`,
|
|
89
89
|
`--input=${input}`,
|
|
90
90
|
`--named=${named}`,
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { defineCommand, defineArgs } from "@reliverse/rempts";
|
|
2
|
+
export default defineCommand({
|
|
3
|
+
meta: {
|
|
4
|
+
name: "check",
|
|
5
|
+
version: "1.0.0",
|
|
6
|
+
description: "Describe what check command does."
|
|
7
|
+
},
|
|
8
|
+
args: defineArgs({
|
|
9
|
+
exampleArg: {
|
|
10
|
+
type: "string",
|
|
11
|
+
default: "defaultValue",
|
|
12
|
+
description: "An example argument"
|
|
13
|
+
}
|
|
14
|
+
}),
|
|
15
|
+
async run({ args }) {
|
|
16
|
+
console.log("Command 'check' executed.");
|
|
17
|
+
console.log("Received args:", args);
|
|
18
|
+
}
|
|
19
|
+
});
|
package/bin/app/cmds.d.ts
CHANGED
|
@@ -1,163 +1,307 @@
|
|
|
1
|
-
|
|
2
|
-
* 👉 `dler rempts init --cmds`
|
|
3
|
-
*
|
|
4
|
-
* @example
|
|
5
|
-
* ```ts
|
|
6
|
-
* import { cmdAgg } from "./cmds.js";
|
|
7
|
-
* await runCmd(await cmdAgg(), [
|
|
8
|
-
* `--imports=${imports}`,
|
|
9
|
-
* `--input=${input}`,
|
|
10
|
-
* `--named=${named}`,
|
|
11
|
-
* `--out=${out}`,
|
|
12
|
-
* `--recursive=${recursive}`,
|
|
13
|
-
* `--strip=${strip}`,
|
|
14
|
-
* ]);
|
|
15
|
-
*/
|
|
16
|
-
export declare function cmdRelifsoInit(): Promise<import("@reliverse/rempts").Command<{
|
|
1
|
+
export declare function getCmdAgg(): Promise<import("@reliverse/rempts").Command<{
|
|
17
2
|
dev: {
|
|
3
|
+
description: string;
|
|
18
4
|
type: "boolean";
|
|
5
|
+
};
|
|
6
|
+
imports: {
|
|
19
7
|
description: string;
|
|
8
|
+
type: "boolean";
|
|
20
9
|
};
|
|
21
|
-
|
|
10
|
+
input: {
|
|
11
|
+
description: string;
|
|
22
12
|
type: "string";
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
named: {
|
|
23
16
|
description: string;
|
|
24
|
-
|
|
17
|
+
type: "boolean";
|
|
18
|
+
default: true;
|
|
25
19
|
};
|
|
26
|
-
|
|
20
|
+
out: {
|
|
21
|
+
description: string;
|
|
27
22
|
type: "string";
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
recursive: {
|
|
28
26
|
description: string;
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
type: "boolean";
|
|
28
|
+
default: true;
|
|
31
29
|
};
|
|
32
|
-
|
|
30
|
+
strip: {
|
|
31
|
+
description: string;
|
|
32
|
+
type: "string";
|
|
33
|
+
};
|
|
34
|
+
sort: {
|
|
35
|
+
description: string;
|
|
33
36
|
type: "boolean";
|
|
37
|
+
default: false;
|
|
38
|
+
};
|
|
39
|
+
header: {
|
|
34
40
|
description: string;
|
|
35
|
-
|
|
41
|
+
type: "string";
|
|
42
|
+
};
|
|
43
|
+
verbose: {
|
|
44
|
+
description: string;
|
|
45
|
+
type: "boolean";
|
|
36
46
|
default: false;
|
|
37
47
|
};
|
|
38
|
-
|
|
48
|
+
includeInternal: {
|
|
49
|
+
description: string;
|
|
39
50
|
type: "boolean";
|
|
51
|
+
default: false;
|
|
52
|
+
};
|
|
53
|
+
internalMarker: {
|
|
40
54
|
description: string;
|
|
41
|
-
|
|
55
|
+
type: "string";
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
override: {
|
|
59
|
+
description: string;
|
|
60
|
+
type: "boolean";
|
|
42
61
|
default: false;
|
|
43
62
|
};
|
|
44
|
-
|
|
63
|
+
extensions: {
|
|
64
|
+
description: string;
|
|
45
65
|
type: "string";
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
separateTypesFile: {
|
|
69
|
+
description: string;
|
|
70
|
+
type: "boolean";
|
|
71
|
+
default: false;
|
|
72
|
+
};
|
|
73
|
+
typesOut: {
|
|
46
74
|
description: string;
|
|
75
|
+
type: "string";
|
|
47
76
|
required: false;
|
|
48
|
-
default: string;
|
|
49
77
|
};
|
|
50
78
|
}>>;
|
|
51
|
-
export declare function
|
|
79
|
+
export declare function getCmdBuild(): Promise<import("@reliverse/rempts").Command<{
|
|
52
80
|
dev: {
|
|
53
81
|
type: "boolean";
|
|
54
82
|
description: string;
|
|
55
83
|
};
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
84
|
+
}>>;
|
|
85
|
+
export declare function getCmdCheck(): Promise<import("@reliverse/rempts").Command<{
|
|
86
|
+
exampleArg: {
|
|
87
|
+
type: "string";
|
|
59
88
|
default: string;
|
|
89
|
+
description: string;
|
|
60
90
|
};
|
|
61
|
-
|
|
91
|
+
}>>;
|
|
92
|
+
export declare function getCmdConv(): Promise<import("@reliverse/rempts").Command<{
|
|
93
|
+
type: {
|
|
62
94
|
type: "string";
|
|
95
|
+
required: true;
|
|
63
96
|
description: string;
|
|
64
97
|
};
|
|
65
|
-
|
|
98
|
+
input: {
|
|
66
99
|
type: "string";
|
|
100
|
+
required: true;
|
|
67
101
|
description: string;
|
|
68
102
|
};
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
dev: {
|
|
103
|
+
output: {
|
|
104
|
+
type: "string";
|
|
72
105
|
description: string;
|
|
73
|
-
type: "boolean";
|
|
74
106
|
};
|
|
75
|
-
|
|
107
|
+
pattern: {
|
|
108
|
+
type: "string";
|
|
76
109
|
description: string;
|
|
77
|
-
type: "boolean";
|
|
78
110
|
};
|
|
79
|
-
|
|
111
|
+
replacement: {
|
|
112
|
+
type: "string";
|
|
113
|
+
description: string;
|
|
114
|
+
};
|
|
115
|
+
line: {
|
|
116
|
+
type: "number";
|
|
80
117
|
description: string;
|
|
118
|
+
};
|
|
119
|
+
transform: {
|
|
81
120
|
type: "string";
|
|
82
|
-
|
|
121
|
+
description: string;
|
|
83
122
|
};
|
|
84
|
-
|
|
123
|
+
}>>;
|
|
124
|
+
export declare function getCmdDeps(): Promise<import("@reliverse/rempts").Command<{
|
|
125
|
+
directory: {
|
|
126
|
+
type: "string";
|
|
85
127
|
description: string;
|
|
86
|
-
|
|
87
|
-
default: true;
|
|
128
|
+
default: string;
|
|
88
129
|
};
|
|
89
|
-
|
|
130
|
+
all: {
|
|
131
|
+
type: "boolean";
|
|
90
132
|
description: string;
|
|
133
|
+
default: false;
|
|
134
|
+
};
|
|
135
|
+
ignore: {
|
|
91
136
|
type: "string";
|
|
92
|
-
|
|
137
|
+
description: string;
|
|
138
|
+
default: string;
|
|
93
139
|
};
|
|
94
|
-
|
|
140
|
+
json: {
|
|
141
|
+
type: "boolean";
|
|
95
142
|
description: string;
|
|
143
|
+
default: false;
|
|
144
|
+
};
|
|
145
|
+
builtins: {
|
|
96
146
|
type: "boolean";
|
|
97
|
-
|
|
147
|
+
description: string;
|
|
148
|
+
default: false;
|
|
98
149
|
};
|
|
99
|
-
|
|
150
|
+
}>>;
|
|
151
|
+
export declare function getCmdInject(): Promise<import("@reliverse/rempts").Command<{
|
|
152
|
+
dev: {
|
|
153
|
+
type: "boolean";
|
|
100
154
|
description: string;
|
|
101
|
-
type: "string";
|
|
102
155
|
};
|
|
103
|
-
|
|
156
|
+
cwd: {
|
|
157
|
+
type: "string";
|
|
104
158
|
description: string;
|
|
159
|
+
required: false;
|
|
160
|
+
};
|
|
161
|
+
}>>;
|
|
162
|
+
export declare function getCmdInjectExpect(): Promise<import("@reliverse/rempts").Command<{
|
|
163
|
+
dev: {
|
|
105
164
|
type: "boolean";
|
|
106
|
-
|
|
165
|
+
description: string;
|
|
107
166
|
};
|
|
108
|
-
|
|
167
|
+
files: {
|
|
168
|
+
type: "positional";
|
|
109
169
|
description: string;
|
|
170
|
+
default: string;
|
|
171
|
+
};
|
|
172
|
+
comment: {
|
|
110
173
|
type: "string";
|
|
174
|
+
description: string;
|
|
111
175
|
};
|
|
112
|
-
|
|
176
|
+
tscPaths: {
|
|
177
|
+
type: "string";
|
|
113
178
|
description: string;
|
|
114
|
-
type: "boolean";
|
|
115
|
-
default: false;
|
|
116
179
|
};
|
|
117
|
-
|
|
180
|
+
}>>;
|
|
181
|
+
export declare function getCmdLibs(): Promise<import("@reliverse/rempts").Command<{
|
|
182
|
+
init: {
|
|
183
|
+
type: "string";
|
|
184
|
+
required: true;
|
|
118
185
|
description: string;
|
|
186
|
+
};
|
|
187
|
+
overwrite: {
|
|
119
188
|
type: "boolean";
|
|
120
189
|
default: false;
|
|
190
|
+
description: string;
|
|
121
191
|
};
|
|
122
|
-
|
|
192
|
+
}>>;
|
|
193
|
+
export declare function getCmdMerge(): Promise<import("@reliverse/rempts").Command<{
|
|
194
|
+
in: {
|
|
195
|
+
type: "array";
|
|
123
196
|
description: string;
|
|
197
|
+
};
|
|
198
|
+
ignore: {
|
|
199
|
+
type: "array";
|
|
200
|
+
description: string;
|
|
201
|
+
};
|
|
202
|
+
out: {
|
|
203
|
+
type: "string";
|
|
204
|
+
description: string;
|
|
205
|
+
};
|
|
206
|
+
format: {
|
|
124
207
|
type: "string";
|
|
125
208
|
default: string;
|
|
209
|
+
description: string;
|
|
126
210
|
};
|
|
127
|
-
|
|
211
|
+
stdout: {
|
|
212
|
+
type: "boolean";
|
|
128
213
|
description: string;
|
|
214
|
+
};
|
|
215
|
+
noPath: {
|
|
129
216
|
type: "boolean";
|
|
130
|
-
|
|
217
|
+
description: string;
|
|
131
218
|
};
|
|
132
|
-
|
|
219
|
+
separator: {
|
|
220
|
+
type: "string";
|
|
133
221
|
description: string;
|
|
222
|
+
};
|
|
223
|
+
comment: {
|
|
134
224
|
type: "string";
|
|
135
|
-
|
|
225
|
+
description: string;
|
|
136
226
|
};
|
|
137
|
-
|
|
227
|
+
forceComment: {
|
|
228
|
+
type: "boolean";
|
|
138
229
|
description: string;
|
|
230
|
+
};
|
|
231
|
+
batch: {
|
|
139
232
|
type: "boolean";
|
|
140
|
-
|
|
233
|
+
description: string;
|
|
141
234
|
};
|
|
142
|
-
|
|
235
|
+
}>>;
|
|
236
|
+
export declare function getCmdMigrate(): Promise<import("@reliverse/rempts").Command<{
|
|
237
|
+
lib: {
|
|
238
|
+
type: "string";
|
|
143
239
|
description: string;
|
|
240
|
+
};
|
|
241
|
+
target: {
|
|
144
242
|
type: "string";
|
|
145
|
-
|
|
243
|
+
description: string;
|
|
244
|
+
default: string;
|
|
245
|
+
};
|
|
246
|
+
dryRun: {
|
|
247
|
+
type: "boolean";
|
|
248
|
+
description: string;
|
|
249
|
+
default: false;
|
|
146
250
|
};
|
|
147
251
|
}>>;
|
|
148
|
-
export declare function
|
|
252
|
+
export declare function getCmdPub(): Promise<import("@reliverse/rempts").Command<{
|
|
149
253
|
dev: {
|
|
150
254
|
type: "boolean";
|
|
151
255
|
description: string;
|
|
152
256
|
};
|
|
153
257
|
}>>;
|
|
154
|
-
export declare function
|
|
258
|
+
export declare function getCmdRelifso(): Promise<import("@reliverse/rempts").Command<{
|
|
155
259
|
dev: {
|
|
156
260
|
type: "boolean";
|
|
157
261
|
description: string;
|
|
158
262
|
};
|
|
263
|
+
cwd: {
|
|
264
|
+
type: "string";
|
|
265
|
+
description: string;
|
|
266
|
+
required: false;
|
|
267
|
+
};
|
|
159
268
|
}>>;
|
|
160
|
-
export declare function
|
|
269
|
+
export declare function getCmdRelifsoInit(): Promise<import("@reliverse/rempts").Command<{
|
|
270
|
+
dev: {
|
|
271
|
+
type: "boolean";
|
|
272
|
+
description: string;
|
|
273
|
+
};
|
|
274
|
+
fileType: {
|
|
275
|
+
type: "string";
|
|
276
|
+
description: string;
|
|
277
|
+
required: false;
|
|
278
|
+
};
|
|
279
|
+
destDir: {
|
|
280
|
+
type: "string";
|
|
281
|
+
description: string;
|
|
282
|
+
default: string;
|
|
283
|
+
required: false;
|
|
284
|
+
};
|
|
285
|
+
multiple: {
|
|
286
|
+
type: "boolean";
|
|
287
|
+
description: string;
|
|
288
|
+
required: false;
|
|
289
|
+
default: false;
|
|
290
|
+
};
|
|
291
|
+
parallel: {
|
|
292
|
+
type: "boolean";
|
|
293
|
+
description: string;
|
|
294
|
+
required: false;
|
|
295
|
+
default: false;
|
|
296
|
+
};
|
|
297
|
+
concurrency: {
|
|
298
|
+
type: "string";
|
|
299
|
+
description: string;
|
|
300
|
+
required: false;
|
|
301
|
+
default: string;
|
|
302
|
+
};
|
|
303
|
+
}>>;
|
|
304
|
+
export declare function getCmdRelifsoRename(): Promise<import("@reliverse/rempts").Command<{
|
|
161
305
|
dev: {
|
|
162
306
|
type: "boolean";
|
|
163
307
|
description: string;
|
|
@@ -195,12 +339,76 @@ export declare function cmdRelifsoRename(): Promise<import("@reliverse/rempts").
|
|
|
195
339
|
default: false;
|
|
196
340
|
};
|
|
197
341
|
}>>;
|
|
198
|
-
export declare function
|
|
199
|
-
|
|
342
|
+
export declare function getCmdRelinka(): Promise<import("@reliverse/rempts").Command<{
|
|
343
|
+
input: {
|
|
200
344
|
type: "string";
|
|
345
|
+
required: true;
|
|
201
346
|
description: string;
|
|
202
347
|
};
|
|
203
|
-
|
|
348
|
+
from: {
|
|
349
|
+
type: "string";
|
|
350
|
+
required: true;
|
|
351
|
+
description: string;
|
|
352
|
+
};
|
|
353
|
+
to: {
|
|
354
|
+
type: "string";
|
|
355
|
+
required: true;
|
|
356
|
+
description: string;
|
|
357
|
+
};
|
|
358
|
+
}>>;
|
|
359
|
+
export declare function getCmdRemptsCmd(): Promise<import("@reliverse/rempts").Command<{
|
|
360
|
+
init: {
|
|
361
|
+
type: "string";
|
|
362
|
+
required: true;
|
|
363
|
+
description: string;
|
|
364
|
+
};
|
|
365
|
+
overwrite: {
|
|
366
|
+
type: "boolean";
|
|
367
|
+
default: false;
|
|
368
|
+
description: string;
|
|
369
|
+
};
|
|
370
|
+
customCmdsRoot: {
|
|
371
|
+
type: "string";
|
|
372
|
+
default: string;
|
|
373
|
+
description: string;
|
|
374
|
+
};
|
|
375
|
+
}>>;
|
|
376
|
+
export declare function getCmdRemptsCmdsTs(): Promise<import("@reliverse/rempts").Command<{
|
|
377
|
+
outFile: {
|
|
378
|
+
type: "string";
|
|
379
|
+
description: string;
|
|
380
|
+
default: string;
|
|
381
|
+
};
|
|
382
|
+
cmdDirs: {
|
|
383
|
+
type: "array";
|
|
384
|
+
description: string;
|
|
385
|
+
};
|
|
386
|
+
overwrite: {
|
|
387
|
+
type: "boolean";
|
|
388
|
+
default: false;
|
|
389
|
+
description: string;
|
|
390
|
+
};
|
|
391
|
+
}>>;
|
|
392
|
+
export declare function getCmdRemptsMigrate(): Promise<import("@reliverse/rempts").Command<{
|
|
393
|
+
provider: {
|
|
394
|
+
type: "string";
|
|
395
|
+
description: string;
|
|
396
|
+
required: true;
|
|
397
|
+
allowed: string[];
|
|
398
|
+
};
|
|
399
|
+
input: {
|
|
400
|
+
type: "string";
|
|
401
|
+
description: string;
|
|
402
|
+
required: true;
|
|
403
|
+
};
|
|
404
|
+
}>>;
|
|
405
|
+
export declare function getCmdSpell(): Promise<import("@reliverse/rempts").Command<{
|
|
406
|
+
spells: {
|
|
407
|
+
type: "string";
|
|
408
|
+
description: string;
|
|
409
|
+
default: string;
|
|
410
|
+
};
|
|
411
|
+
files: {
|
|
204
412
|
type: "string";
|
|
205
413
|
description: string;
|
|
206
414
|
default: string;
|
|
@@ -211,3 +419,20 @@ export declare function cmdMigrate(): Promise<import("@reliverse/rempts").Comman
|
|
|
211
419
|
default: false;
|
|
212
420
|
};
|
|
213
421
|
}>>;
|
|
422
|
+
export declare function getCmdSplit(): Promise<import("@reliverse/rempts").Command<{
|
|
423
|
+
directory: {
|
|
424
|
+
type: "string";
|
|
425
|
+
description: string;
|
|
426
|
+
required: true;
|
|
427
|
+
};
|
|
428
|
+
fileLineThreshold: {
|
|
429
|
+
type: "number";
|
|
430
|
+
description: string;
|
|
431
|
+
required: true;
|
|
432
|
+
};
|
|
433
|
+
funcLineThreshold: {
|
|
434
|
+
type: "number";
|
|
435
|
+
description: string;
|
|
436
|
+
required: true;
|
|
437
|
+
};
|
|
438
|
+
}>>;
|
package/bin/app/cmds.js
CHANGED
|
@@ -1,21 +1,60 @@
|
|
|
1
|
-
export async function
|
|
2
|
-
return (await import("./
|
|
1
|
+
export async function getCmdAgg() {
|
|
2
|
+
return (await import("./agg/cmd.js")).default;
|
|
3
|
+
}
|
|
4
|
+
export async function getCmdBuild() {
|
|
5
|
+
return (await import("./build/cmd.js")).default;
|
|
6
|
+
}
|
|
7
|
+
export async function getCmdCheck() {
|
|
8
|
+
return (await import("./check/cmd.js")).default;
|
|
9
|
+
}
|
|
10
|
+
export async function getCmdConv() {
|
|
11
|
+
return (await import("./conv/cmd.js")).default;
|
|
3
12
|
}
|
|
4
|
-
export async function
|
|
13
|
+
export async function getCmdDeps() {
|
|
14
|
+
return (await import("./deps/cmd.js")).default;
|
|
15
|
+
}
|
|
16
|
+
export async function getCmdInject() {
|
|
17
|
+
return (await import("./inject/cmd.js")).default;
|
|
18
|
+
}
|
|
19
|
+
export async function getCmdInjectExpect() {
|
|
5
20
|
return (await import("./inject/expect/cmd.js")).default;
|
|
6
21
|
}
|
|
7
|
-
export async function
|
|
8
|
-
return (await import("./
|
|
22
|
+
export async function getCmdLibs() {
|
|
23
|
+
return (await import("./libs/cmd.js")).default;
|
|
9
24
|
}
|
|
10
|
-
export async function
|
|
11
|
-
return (await import("./
|
|
25
|
+
export async function getCmdMerge() {
|
|
26
|
+
return (await import("./merge/cmd.js")).default;
|
|
12
27
|
}
|
|
13
|
-
export async function
|
|
28
|
+
export async function getCmdMigrate() {
|
|
29
|
+
return (await import("./migrate/cmd.js")).default;
|
|
30
|
+
}
|
|
31
|
+
export async function getCmdPub() {
|
|
14
32
|
return (await import("./pub/cmd.js")).default;
|
|
15
33
|
}
|
|
16
|
-
export async function
|
|
34
|
+
export async function getCmdRelifso() {
|
|
35
|
+
return (await import("./relifso/cmd.js")).default;
|
|
36
|
+
}
|
|
37
|
+
export async function getCmdRelifsoInit() {
|
|
38
|
+
return (await import("./relifso/init/cmd.js")).default;
|
|
39
|
+
}
|
|
40
|
+
export async function getCmdRelifsoRename() {
|
|
17
41
|
return (await import("./relifso/rename/cmd.js")).default;
|
|
18
42
|
}
|
|
19
|
-
export async function
|
|
20
|
-
return (await import("./
|
|
43
|
+
export async function getCmdRelinka() {
|
|
44
|
+
return (await import("./relinka/cmd.js")).default;
|
|
45
|
+
}
|
|
46
|
+
export async function getCmdRemptsCmd() {
|
|
47
|
+
return (await import("./rempts/cmd/cmd.js")).default;
|
|
48
|
+
}
|
|
49
|
+
export async function getCmdRemptsCmdsTs() {
|
|
50
|
+
return (await import("./rempts/cmdsTs/cmd.js")).default;
|
|
51
|
+
}
|
|
52
|
+
export async function getCmdRemptsMigrate() {
|
|
53
|
+
return (await import("./rempts/migrate/cmd.js")).default;
|
|
54
|
+
}
|
|
55
|
+
export async function getCmdSpell() {
|
|
56
|
+
return (await import("./spell/cmd.js")).default;
|
|
57
|
+
}
|
|
58
|
+
export async function getCmdSplit() {
|
|
59
|
+
return (await import("./split/cmd.js")).default;
|
|
21
60
|
}
|