@zinn-dev/cli 0.40.0 → 0.42.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 +11 -561
- package/index.js +24 -13
- package/package.json +8 -2
- package/skills/zinn/SKILL.md +63 -0
- package/src/actor.d.ts +2 -1
- package/src/actor.js +78 -11
- package/src/capabilities-schema.d.ts +162 -0
- package/src/capabilities-schema.js +59 -0
- package/src/capabilities.d.ts +29 -0
- package/src/capabilities.js +30 -0
- package/src/column-hint.d.ts +3 -0
- package/src/column-hint.js +225 -0
- package/src/database.d.ts +1 -1
- package/src/database.js +5 -8
- package/src/errors.d.ts +158 -0
- package/src/errors.js +226 -0
- package/src/input.d.ts +227 -0
- package/src/input.js +192 -0
- package/src/lib.d.ts +71 -8
- package/src/lib.js +275 -18
- package/src/presentation/activity-presentation.d.ts +9 -1
- package/src/presentation/activity-presentation.js +120 -23
- package/src/presentation/capabilities-presentation.d.ts +2 -0
- package/src/presentation/capabilities-presentation.js +3 -0
- package/src/presentation/column-presentation.d.ts +9 -5
- package/src/presentation/column-presentation.js +10 -0
- package/src/presentation/comment-presentation.d.ts +15 -0
- package/src/presentation/comment-presentation.js +29 -0
- package/src/presentation/description-presentation.d.ts +17 -0
- package/src/presentation/description-presentation.js +26 -4
- package/src/presentation/info-presentation.d.ts +4 -0
- package/src/presentation/info-presentation.js +96 -0
- package/src/presentation/label-presentation.d.ts +8 -0
- package/src/presentation/label-presentation.js +28 -0
- package/src/presentation/project-presentation.d.ts +7 -0
- package/src/presentation/project-presentation.js +19 -0
- package/src/presentation/relation-presentation.d.ts +7 -0
- package/src/presentation/relation-presentation.js +73 -0
- package/src/presentation/task-presentation.d.ts +4 -12
- package/src/presentation/task-presentation.js +22 -18
- package/src/project.d.ts +18 -3
- package/src/project.js +37 -12
- package/src/result-schemas.d.ts +1194 -0
- package/src/result-schemas.js +279 -0
- package/src/results.d.ts +40 -0
- package/src/results.js +36 -0
- package/src/routes/activity-router.d.ts +104 -0
- package/src/routes/activity-router.js +155 -34
- package/src/routes/aliases.d.ts +2 -0
- package/src/routes/aliases.js +11 -0
- package/src/routes/backup-router.d.ts +17 -0
- package/src/routes/backup-router.js +15 -3
- package/src/routes/capabilities-router.d.ts +21 -0
- package/src/routes/capabilities-router.js +34 -0
- package/src/routes/comment-router.d.ts +210 -8
- package/src/routes/comment-router.js +189 -65
- package/src/routes/info-router.d.ts +21 -0
- package/src/routes/info-router.js +29 -0
- package/src/routes/label-router.d.ts +217 -2
- package/src/routes/label-router.js +189 -62
- package/src/routes/migrate-router.d.ts +17 -0
- package/src/routes/migrate-router.js +17 -5
- package/src/routes/project-router.d.ts +373 -2
- package/src/routes/project-router.js +322 -132
- package/src/routes/reindex-router.d.ts +17 -0
- package/src/routes/reindex-router.js +15 -3
- package/src/routes/relation-router.d.ts +110 -14
- package/src/routes/relation-router.js +122 -79
- package/src/routes/restore-router.d.ts +29 -0
- package/src/routes/restore-router.js +31 -14
- package/src/routes/router.d.ts +1 -1
- package/src/routes/router.js +80 -32
- package/src/routes/routes.d.ts +1781 -8
- package/src/routes/routes.js +9 -1
- package/src/routes/task-router.d.ts +946 -4
- package/src/routes/task-router.js +524 -260
- package/src/routes/whoami-router.d.ts +21 -0
- package/src/routes/whoami-router.js +31 -0
- package/src/text-edit.d.ts +28 -6
- package/src/text-edit.js +40 -23
- package/src/text-input.d.ts +47 -0
- package/src/text-input.js +187 -0
- package/src/types.d.ts +37 -0
- package/src/types.js +9 -1
package/src/routes/routes.d.ts
CHANGED
|
@@ -1,39 +1,410 @@
|
|
|
1
1
|
export declare const routes: {
|
|
2
2
|
project: {
|
|
3
3
|
create: {
|
|
4
|
-
|
|
4
|
+
summary: string;
|
|
5
|
+
effects: {
|
|
6
|
+
domain: "create";
|
|
7
|
+
storage: "normal-open";
|
|
8
|
+
};
|
|
9
|
+
confirmation: {
|
|
10
|
+
kind: "none";
|
|
11
|
+
};
|
|
12
|
+
input: {
|
|
13
|
+
readonly options: {
|
|
14
|
+
readonly name: {
|
|
15
|
+
readonly type: "string";
|
|
16
|
+
readonly value: {
|
|
17
|
+
readonly kind: "text";
|
|
18
|
+
readonly name: "text";
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
readonly description: {
|
|
22
|
+
readonly type: "string";
|
|
23
|
+
readonly value: {
|
|
24
|
+
readonly kind: "text";
|
|
25
|
+
readonly name: "text";
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
readonly "description-file": {
|
|
29
|
+
readonly type: "string";
|
|
30
|
+
readonly value: {
|
|
31
|
+
readonly kind: "path";
|
|
32
|
+
readonly name: "path";
|
|
33
|
+
readonly description: "A UTF-8 file, or \"-\" for stdin. Trailing line breaks are dropped; empty or blank input is an error.";
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
readonly forms: readonly [{
|
|
38
|
+
readonly id: "default";
|
|
39
|
+
readonly positionals: readonly [{
|
|
40
|
+
readonly name: "project-key";
|
|
41
|
+
readonly min: 1;
|
|
42
|
+
readonly max: 1;
|
|
43
|
+
readonly value: {
|
|
44
|
+
readonly kind: "project-key";
|
|
45
|
+
};
|
|
46
|
+
}];
|
|
47
|
+
}];
|
|
48
|
+
readonly constraints: readonly [{
|
|
49
|
+
readonly kind: "exclusive";
|
|
50
|
+
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
51
|
+
}];
|
|
52
|
+
};
|
|
53
|
+
results: import("../results.js").CommandResult[];
|
|
54
|
+
run: (args: Array<string>) => Promise<void>;
|
|
5
55
|
help: string;
|
|
6
56
|
};
|
|
7
57
|
list: {
|
|
58
|
+
summary: string;
|
|
59
|
+
effects: {
|
|
60
|
+
domain: "read";
|
|
61
|
+
storage: "normal-open";
|
|
62
|
+
};
|
|
63
|
+
confirmation: {
|
|
64
|
+
kind: "none";
|
|
65
|
+
};
|
|
66
|
+
input: {
|
|
67
|
+
readonly options: {};
|
|
68
|
+
readonly forms: readonly [{
|
|
69
|
+
readonly id: "default";
|
|
70
|
+
readonly positionals: readonly [];
|
|
71
|
+
}];
|
|
72
|
+
readonly constraints: readonly [];
|
|
73
|
+
};
|
|
74
|
+
results: import("../results.js").CommandResult[];
|
|
8
75
|
run: (args: Array<string>) => void;
|
|
9
76
|
help: string;
|
|
10
77
|
};
|
|
11
78
|
view: {
|
|
79
|
+
summary: string;
|
|
80
|
+
effects: {
|
|
81
|
+
domain: "read";
|
|
82
|
+
storage: "normal-open";
|
|
83
|
+
};
|
|
84
|
+
confirmation: {
|
|
85
|
+
kind: "none";
|
|
86
|
+
};
|
|
87
|
+
input: {
|
|
88
|
+
readonly options: {};
|
|
89
|
+
readonly forms: readonly [{
|
|
90
|
+
readonly id: "default";
|
|
91
|
+
readonly positionals: readonly [{
|
|
92
|
+
readonly name: "project-key";
|
|
93
|
+
readonly min: 0;
|
|
94
|
+
readonly max: 1;
|
|
95
|
+
readonly value: {
|
|
96
|
+
readonly kind: "project-key";
|
|
97
|
+
};
|
|
98
|
+
}];
|
|
99
|
+
}];
|
|
100
|
+
readonly constraints: readonly [];
|
|
101
|
+
readonly notes: readonly ["Omit the project key to use defaultProject from settings; otherwise a project key is required."];
|
|
102
|
+
};
|
|
103
|
+
results: import("../results.js").CommandResult[];
|
|
12
104
|
run: (args: Array<string>) => void;
|
|
13
105
|
help: string;
|
|
14
106
|
};
|
|
15
107
|
edit: {
|
|
16
|
-
|
|
108
|
+
summary: string;
|
|
109
|
+
effects: {
|
|
110
|
+
domain: "update";
|
|
111
|
+
storage: "normal-open";
|
|
112
|
+
};
|
|
113
|
+
confirmation: {
|
|
114
|
+
kind: "none";
|
|
115
|
+
};
|
|
116
|
+
input: {
|
|
117
|
+
readonly options: {
|
|
118
|
+
readonly append: {
|
|
119
|
+
readonly type: "boolean";
|
|
120
|
+
};
|
|
121
|
+
readonly replacing: {
|
|
122
|
+
readonly type: "string";
|
|
123
|
+
readonly value: {
|
|
124
|
+
readonly kind: "text";
|
|
125
|
+
readonly name: "old";
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
readonly all: {
|
|
129
|
+
readonly type: "boolean";
|
|
130
|
+
};
|
|
131
|
+
readonly name: {
|
|
132
|
+
readonly type: "string";
|
|
133
|
+
readonly value: {
|
|
134
|
+
readonly kind: "text";
|
|
135
|
+
readonly name: "text";
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
readonly description: {
|
|
139
|
+
readonly type: "string";
|
|
140
|
+
readonly value: {
|
|
141
|
+
readonly kind: "text";
|
|
142
|
+
readonly name: "text";
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
readonly "description-file": {
|
|
146
|
+
readonly type: "string";
|
|
147
|
+
readonly value: {
|
|
148
|
+
readonly kind: "path";
|
|
149
|
+
readonly name: "path";
|
|
150
|
+
readonly description: "A UTF-8 file, or \"-\" for stdin. Trailing line breaks are dropped; empty or blank input is an error.";
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
readonly forms: readonly [{
|
|
155
|
+
readonly id: "default";
|
|
156
|
+
readonly positionals: readonly [{
|
|
157
|
+
readonly name: "project-key";
|
|
158
|
+
readonly min: 0;
|
|
159
|
+
readonly max: 1;
|
|
160
|
+
readonly value: {
|
|
161
|
+
readonly kind: "project-key";
|
|
162
|
+
};
|
|
163
|
+
}];
|
|
164
|
+
}];
|
|
165
|
+
readonly constraints: readonly [{
|
|
166
|
+
readonly kind: "exclusive";
|
|
167
|
+
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
168
|
+
}, {
|
|
169
|
+
readonly kind: "exclusive";
|
|
170
|
+
readonly members: readonly ["option:append", "option:replacing"];
|
|
171
|
+
}, {
|
|
172
|
+
readonly kind: "requiresAny";
|
|
173
|
+
readonly input: "option:append";
|
|
174
|
+
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
175
|
+
}, {
|
|
176
|
+
readonly kind: "requiresAny";
|
|
177
|
+
readonly input: "option:replacing";
|
|
178
|
+
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
179
|
+
}, {
|
|
180
|
+
readonly kind: "requires";
|
|
181
|
+
readonly input: "option:all";
|
|
182
|
+
readonly requires: "option:replacing";
|
|
183
|
+
}, {
|
|
184
|
+
readonly kind: "atLeastOne";
|
|
185
|
+
readonly members: readonly ["option:name", "option:description", "option:description-file"];
|
|
186
|
+
}];
|
|
187
|
+
readonly notes: readonly ["Omit the project key to use defaultProject from settings; otherwise a project key is required.", string];
|
|
188
|
+
};
|
|
189
|
+
results: import("../results.js").CommandResult[];
|
|
190
|
+
run: (args: string[]) => Promise<void>;
|
|
17
191
|
help: string;
|
|
18
192
|
};
|
|
19
193
|
delete: {
|
|
194
|
+
summary: string;
|
|
195
|
+
effects: {
|
|
196
|
+
domain: "delete";
|
|
197
|
+
storage: "normal-open";
|
|
198
|
+
};
|
|
199
|
+
confirmation: {
|
|
200
|
+
kind: "project-delete";
|
|
201
|
+
description: string;
|
|
202
|
+
};
|
|
203
|
+
input: {
|
|
204
|
+
readonly options: {
|
|
205
|
+
readonly yes: {
|
|
206
|
+
readonly type: "boolean";
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
readonly forms: readonly [{
|
|
210
|
+
readonly id: "default";
|
|
211
|
+
readonly positionals: readonly [{
|
|
212
|
+
readonly name: "project-key";
|
|
213
|
+
readonly min: 0;
|
|
214
|
+
readonly max: 1;
|
|
215
|
+
readonly value: {
|
|
216
|
+
readonly kind: "project-key";
|
|
217
|
+
};
|
|
218
|
+
}];
|
|
219
|
+
}];
|
|
220
|
+
readonly constraints: readonly [];
|
|
221
|
+
readonly notes: readonly ["Omit the project key to use defaultProject from settings; otherwise a project key is required."];
|
|
222
|
+
};
|
|
223
|
+
results: import("../results.js").CommandResult[];
|
|
20
224
|
run: (args: Array<string>) => Promise<void>;
|
|
21
225
|
help: string;
|
|
22
226
|
};
|
|
23
227
|
column: {
|
|
24
228
|
create: {
|
|
229
|
+
summary: string;
|
|
230
|
+
effects: {
|
|
231
|
+
domain: "create";
|
|
232
|
+
storage: "normal-open";
|
|
233
|
+
};
|
|
234
|
+
confirmation: {
|
|
235
|
+
kind: "none";
|
|
236
|
+
};
|
|
237
|
+
input: {
|
|
238
|
+
readonly options: {};
|
|
239
|
+
readonly forms: readonly [{
|
|
240
|
+
readonly id: "default";
|
|
241
|
+
readonly positionals: readonly [{
|
|
242
|
+
readonly name: "project-key";
|
|
243
|
+
readonly min: 1;
|
|
244
|
+
readonly max: 1;
|
|
245
|
+
readonly value: {
|
|
246
|
+
readonly kind: "project-key";
|
|
247
|
+
};
|
|
248
|
+
}, {
|
|
249
|
+
readonly name: "column-name";
|
|
250
|
+
readonly min: 1;
|
|
251
|
+
readonly max: 1;
|
|
252
|
+
readonly value: {
|
|
253
|
+
readonly kind: "column-name";
|
|
254
|
+
};
|
|
255
|
+
}];
|
|
256
|
+
}];
|
|
257
|
+
readonly constraints: readonly [];
|
|
258
|
+
};
|
|
259
|
+
results: import("../results.js").CommandResult[];
|
|
25
260
|
run: (args: Array<string>) => void;
|
|
26
261
|
help: string;
|
|
27
262
|
};
|
|
28
263
|
list: {
|
|
264
|
+
summary: string;
|
|
265
|
+
effects: {
|
|
266
|
+
domain: "read";
|
|
267
|
+
storage: "normal-open";
|
|
268
|
+
};
|
|
269
|
+
confirmation: {
|
|
270
|
+
kind: "none";
|
|
271
|
+
};
|
|
272
|
+
input: {
|
|
273
|
+
readonly options: {};
|
|
274
|
+
readonly forms: readonly [{
|
|
275
|
+
readonly id: "default";
|
|
276
|
+
readonly positionals: readonly [{
|
|
277
|
+
readonly name: "project-key";
|
|
278
|
+
readonly min: 0;
|
|
279
|
+
readonly max: 1;
|
|
280
|
+
readonly value: {
|
|
281
|
+
readonly kind: "project-key";
|
|
282
|
+
};
|
|
283
|
+
}];
|
|
284
|
+
}];
|
|
285
|
+
readonly constraints: readonly [];
|
|
286
|
+
readonly notes: readonly ["Omit the project key to use defaultProject from settings; otherwise a project key is required."];
|
|
287
|
+
};
|
|
288
|
+
results: import("../results.js").CommandResult[];
|
|
29
289
|
run: (args: Array<string>) => void;
|
|
30
290
|
help: string;
|
|
31
291
|
};
|
|
32
292
|
edit: {
|
|
293
|
+
summary: string;
|
|
294
|
+
effects: {
|
|
295
|
+
domain: "update";
|
|
296
|
+
storage: "normal-open";
|
|
297
|
+
};
|
|
298
|
+
confirmation: {
|
|
299
|
+
kind: "none";
|
|
300
|
+
};
|
|
301
|
+
input: {
|
|
302
|
+
readonly options: {
|
|
303
|
+
readonly name: {
|
|
304
|
+
readonly type: "string";
|
|
305
|
+
readonly required: true;
|
|
306
|
+
readonly value: {
|
|
307
|
+
readonly kind: "text";
|
|
308
|
+
readonly name: "text";
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
readonly forms: readonly [{
|
|
313
|
+
readonly id: "default";
|
|
314
|
+
readonly positionals: readonly [{
|
|
315
|
+
readonly name: "project-key";
|
|
316
|
+
readonly min: 1;
|
|
317
|
+
readonly max: 1;
|
|
318
|
+
readonly value: {
|
|
319
|
+
readonly kind: "project-key";
|
|
320
|
+
};
|
|
321
|
+
}, {
|
|
322
|
+
readonly name: "column-name";
|
|
323
|
+
readonly min: 1;
|
|
324
|
+
readonly max: 1;
|
|
325
|
+
readonly value: {
|
|
326
|
+
readonly kind: "column-name";
|
|
327
|
+
};
|
|
328
|
+
}];
|
|
329
|
+
}];
|
|
330
|
+
readonly constraints: readonly [];
|
|
331
|
+
};
|
|
332
|
+
results: import("../results.js").CommandResult[];
|
|
33
333
|
run: (args: Array<string>) => void;
|
|
34
334
|
help: string;
|
|
35
335
|
};
|
|
36
336
|
order: {
|
|
337
|
+
summary: string;
|
|
338
|
+
effects: {
|
|
339
|
+
domain: "update";
|
|
340
|
+
storage: "normal-open";
|
|
341
|
+
};
|
|
342
|
+
confirmation: {
|
|
343
|
+
kind: "none";
|
|
344
|
+
};
|
|
345
|
+
input: {
|
|
346
|
+
readonly options: {};
|
|
347
|
+
readonly forms: readonly [{
|
|
348
|
+
readonly id: "absolute";
|
|
349
|
+
readonly positionals: readonly [{
|
|
350
|
+
readonly name: "project-key";
|
|
351
|
+
readonly min: 1;
|
|
352
|
+
readonly max: 1;
|
|
353
|
+
readonly value: {
|
|
354
|
+
readonly kind: "project-key";
|
|
355
|
+
};
|
|
356
|
+
}, {
|
|
357
|
+
readonly name: "column-name";
|
|
358
|
+
readonly min: 1;
|
|
359
|
+
readonly max: 1;
|
|
360
|
+
readonly value: {
|
|
361
|
+
readonly kind: "column-name";
|
|
362
|
+
};
|
|
363
|
+
}, {
|
|
364
|
+
readonly name: "direction";
|
|
365
|
+
readonly min: 1;
|
|
366
|
+
readonly max: 1;
|
|
367
|
+
readonly value: {
|
|
368
|
+
readonly kind: "enum";
|
|
369
|
+
readonly choices: ("first" | "previous" | "next" | "last")[];
|
|
370
|
+
};
|
|
371
|
+
}];
|
|
372
|
+
}, {
|
|
373
|
+
readonly id: "relative";
|
|
374
|
+
readonly positionals: readonly [{
|
|
375
|
+
readonly name: "project-key";
|
|
376
|
+
readonly min: 1;
|
|
377
|
+
readonly max: 1;
|
|
378
|
+
readonly value: {
|
|
379
|
+
readonly kind: "project-key";
|
|
380
|
+
};
|
|
381
|
+
}, {
|
|
382
|
+
readonly name: "column-name";
|
|
383
|
+
readonly min: 1;
|
|
384
|
+
readonly max: 1;
|
|
385
|
+
readonly value: {
|
|
386
|
+
readonly kind: "column-name";
|
|
387
|
+
};
|
|
388
|
+
}, {
|
|
389
|
+
readonly name: "direction";
|
|
390
|
+
readonly min: 1;
|
|
391
|
+
readonly max: 1;
|
|
392
|
+
readonly value: {
|
|
393
|
+
readonly kind: "enum";
|
|
394
|
+
readonly choices: ("before" | "after")[];
|
|
395
|
+
};
|
|
396
|
+
}, {
|
|
397
|
+
readonly name: "target-column-name";
|
|
398
|
+
readonly min: 1;
|
|
399
|
+
readonly max: 1;
|
|
400
|
+
readonly value: {
|
|
401
|
+
readonly kind: "column-name";
|
|
402
|
+
};
|
|
403
|
+
}];
|
|
404
|
+
}];
|
|
405
|
+
readonly constraints: readonly [];
|
|
406
|
+
};
|
|
407
|
+
results: import("../results.js").CommandResult[];
|
|
37
408
|
run: (args: Array<string>) => void;
|
|
38
409
|
help: string;
|
|
39
410
|
};
|
|
@@ -41,83 +412,1022 @@ export declare const routes: {
|
|
|
41
412
|
};
|
|
42
413
|
task: {
|
|
43
414
|
create: {
|
|
44
|
-
|
|
415
|
+
summary: string;
|
|
416
|
+
effects: {
|
|
417
|
+
domain: "create";
|
|
418
|
+
storage: "normal-open";
|
|
419
|
+
};
|
|
420
|
+
confirmation: {
|
|
421
|
+
kind: "none";
|
|
422
|
+
};
|
|
423
|
+
input: {
|
|
424
|
+
readonly options: {
|
|
425
|
+
readonly title: {
|
|
426
|
+
readonly type: "string";
|
|
427
|
+
readonly required: true;
|
|
428
|
+
readonly value: {
|
|
429
|
+
readonly kind: "text";
|
|
430
|
+
readonly name: "text";
|
|
431
|
+
};
|
|
432
|
+
};
|
|
433
|
+
readonly description: {
|
|
434
|
+
readonly type: "string";
|
|
435
|
+
readonly value: {
|
|
436
|
+
readonly kind: "text";
|
|
437
|
+
readonly name: "text";
|
|
438
|
+
};
|
|
439
|
+
};
|
|
440
|
+
readonly "description-file": {
|
|
441
|
+
readonly type: "string";
|
|
442
|
+
readonly value: {
|
|
443
|
+
readonly kind: "path";
|
|
444
|
+
readonly name: "path";
|
|
445
|
+
readonly description: "A UTF-8 file, or \"-\" for stdin. Trailing line breaks are dropped; empty or blank input is an error.";
|
|
446
|
+
};
|
|
447
|
+
};
|
|
448
|
+
readonly priority: {
|
|
449
|
+
readonly type: "string";
|
|
450
|
+
readonly value: {
|
|
451
|
+
readonly kind: "enum";
|
|
452
|
+
readonly name: "priority";
|
|
453
|
+
readonly choices: readonly [...("low" | "medium" | "high" | "urgent")[], "none"];
|
|
454
|
+
readonly caseInsensitive: true;
|
|
455
|
+
readonly description: "Omission leaves priority unassigned on creation and unchanged on edit. none clears priority; JSON uses null.";
|
|
456
|
+
};
|
|
457
|
+
};
|
|
458
|
+
readonly label: {
|
|
459
|
+
readonly type: "string";
|
|
460
|
+
readonly multiple: true;
|
|
461
|
+
readonly value: {
|
|
462
|
+
readonly kind: "label-name";
|
|
463
|
+
readonly name: "name";
|
|
464
|
+
};
|
|
465
|
+
};
|
|
466
|
+
readonly column: {
|
|
467
|
+
readonly type: "string";
|
|
468
|
+
readonly value: {
|
|
469
|
+
readonly kind: "column-name";
|
|
470
|
+
readonly name: "name";
|
|
471
|
+
};
|
|
472
|
+
};
|
|
473
|
+
readonly parent: {
|
|
474
|
+
readonly type: "string";
|
|
475
|
+
readonly value: {
|
|
476
|
+
readonly kind: "task-key";
|
|
477
|
+
readonly name: "task-key";
|
|
478
|
+
};
|
|
479
|
+
};
|
|
480
|
+
readonly "depends-on": {
|
|
481
|
+
readonly type: "string";
|
|
482
|
+
readonly multiple: true;
|
|
483
|
+
readonly value: {
|
|
484
|
+
readonly kind: "task-key";
|
|
485
|
+
readonly name: "task-key";
|
|
486
|
+
};
|
|
487
|
+
};
|
|
488
|
+
readonly "duplicate-of": {
|
|
489
|
+
readonly type: "string";
|
|
490
|
+
readonly value: {
|
|
491
|
+
readonly kind: "task-key";
|
|
492
|
+
readonly name: "task-key";
|
|
493
|
+
};
|
|
494
|
+
};
|
|
495
|
+
readonly related: {
|
|
496
|
+
readonly type: "string";
|
|
497
|
+
readonly multiple: true;
|
|
498
|
+
readonly value: {
|
|
499
|
+
readonly kind: "task-key";
|
|
500
|
+
readonly name: "task-key";
|
|
501
|
+
};
|
|
502
|
+
};
|
|
503
|
+
};
|
|
504
|
+
readonly forms: readonly [{
|
|
505
|
+
readonly id: "default";
|
|
506
|
+
readonly positionals: readonly [{
|
|
507
|
+
readonly name: "project-key";
|
|
508
|
+
readonly min: 0;
|
|
509
|
+
readonly max: 1;
|
|
510
|
+
readonly value: {
|
|
511
|
+
readonly kind: "project-key";
|
|
512
|
+
};
|
|
513
|
+
}];
|
|
514
|
+
}];
|
|
515
|
+
readonly constraints: readonly [{
|
|
516
|
+
readonly kind: "exclusive";
|
|
517
|
+
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
518
|
+
}];
|
|
519
|
+
readonly notes: readonly ["Omit the project key to use defaultProject from settings; otherwise a project key is required."];
|
|
520
|
+
};
|
|
521
|
+
results: import("../results.js").CommandResult[];
|
|
522
|
+
guessedFlags: {
|
|
523
|
+
"--status": (args: string[]) => string[];
|
|
524
|
+
"--body": (args: string[]) => string[];
|
|
525
|
+
};
|
|
526
|
+
run: (args: string[]) => Promise<void>;
|
|
45
527
|
help: string;
|
|
46
528
|
};
|
|
47
529
|
list: {
|
|
530
|
+
summary: string;
|
|
531
|
+
effects: {
|
|
532
|
+
domain: "read";
|
|
533
|
+
storage: "normal-open";
|
|
534
|
+
};
|
|
535
|
+
confirmation: {
|
|
536
|
+
kind: "none";
|
|
537
|
+
};
|
|
538
|
+
input: {
|
|
539
|
+
readonly options: {
|
|
540
|
+
readonly archived: {
|
|
541
|
+
readonly type: "boolean";
|
|
542
|
+
};
|
|
543
|
+
readonly all: {
|
|
544
|
+
readonly type: "boolean";
|
|
545
|
+
};
|
|
546
|
+
readonly "all-projects": {
|
|
547
|
+
readonly type: "boolean";
|
|
548
|
+
};
|
|
549
|
+
readonly label: {
|
|
550
|
+
readonly type: "string";
|
|
551
|
+
readonly multiple: true;
|
|
552
|
+
readonly value: {
|
|
553
|
+
readonly kind: "label-name";
|
|
554
|
+
readonly name: "name";
|
|
555
|
+
};
|
|
556
|
+
};
|
|
557
|
+
readonly column: {
|
|
558
|
+
readonly type: "string";
|
|
559
|
+
readonly value: {
|
|
560
|
+
readonly kind: "column-name";
|
|
561
|
+
readonly name: "name";
|
|
562
|
+
};
|
|
563
|
+
};
|
|
564
|
+
};
|
|
565
|
+
readonly forms: readonly [{
|
|
566
|
+
readonly id: "default";
|
|
567
|
+
readonly positionals: readonly [{
|
|
568
|
+
readonly name: "project-key";
|
|
569
|
+
readonly min: 0;
|
|
570
|
+
readonly max: 1;
|
|
571
|
+
readonly value: {
|
|
572
|
+
readonly kind: "project-key";
|
|
573
|
+
};
|
|
574
|
+
}];
|
|
575
|
+
}];
|
|
576
|
+
readonly constraints: readonly [{
|
|
577
|
+
readonly kind: "exclusive";
|
|
578
|
+
readonly members: readonly ["option:archived", "option:all"];
|
|
579
|
+
}, {
|
|
580
|
+
readonly kind: "exclusive";
|
|
581
|
+
readonly members: readonly ["positional:project-key", "option:all-projects"];
|
|
582
|
+
}];
|
|
583
|
+
readonly notes: readonly ["An omitted project key uses defaultProject, or all projects if unset. --all-projects overrides the default and cannot be combined with a project key."];
|
|
584
|
+
};
|
|
585
|
+
results: import("../results.js").CommandResult[];
|
|
48
586
|
run: (args: string[]) => void;
|
|
49
587
|
help: string;
|
|
50
588
|
};
|
|
51
589
|
search: {
|
|
590
|
+
summary: string;
|
|
591
|
+
effects: {
|
|
592
|
+
domain: "read";
|
|
593
|
+
storage: "normal-open";
|
|
594
|
+
};
|
|
595
|
+
confirmation: {
|
|
596
|
+
kind: "none";
|
|
597
|
+
};
|
|
598
|
+
input: {
|
|
599
|
+
readonly options: {
|
|
600
|
+
readonly archived: {
|
|
601
|
+
readonly type: "boolean";
|
|
602
|
+
};
|
|
603
|
+
readonly all: {
|
|
604
|
+
readonly type: "boolean";
|
|
605
|
+
};
|
|
606
|
+
readonly "all-projects": {
|
|
607
|
+
readonly type: "boolean";
|
|
608
|
+
};
|
|
609
|
+
readonly limit: {
|
|
610
|
+
readonly type: "string";
|
|
611
|
+
readonly value: {
|
|
612
|
+
readonly kind: "positive-integer";
|
|
613
|
+
readonly name: "n";
|
|
614
|
+
readonly pattern: "^[1-9]\\d{0,14}$";
|
|
615
|
+
};
|
|
616
|
+
};
|
|
617
|
+
readonly label: {
|
|
618
|
+
readonly type: "string";
|
|
619
|
+
readonly multiple: true;
|
|
620
|
+
readonly value: {
|
|
621
|
+
readonly kind: "label-name";
|
|
622
|
+
readonly name: "name";
|
|
623
|
+
};
|
|
624
|
+
};
|
|
625
|
+
};
|
|
626
|
+
readonly forms: readonly [{
|
|
627
|
+
readonly id: "default";
|
|
628
|
+
readonly positionals: readonly [{
|
|
629
|
+
readonly name: "query";
|
|
630
|
+
readonly min: 1;
|
|
631
|
+
readonly max: 1;
|
|
632
|
+
readonly value: {
|
|
633
|
+
readonly kind: "text";
|
|
634
|
+
};
|
|
635
|
+
}, {
|
|
636
|
+
readonly name: "project-key";
|
|
637
|
+
readonly min: 0;
|
|
638
|
+
readonly max: 1;
|
|
639
|
+
readonly value: {
|
|
640
|
+
readonly kind: "project-key";
|
|
641
|
+
};
|
|
642
|
+
}];
|
|
643
|
+
}];
|
|
644
|
+
readonly constraints: readonly [{
|
|
645
|
+
readonly kind: "exclusive";
|
|
646
|
+
readonly members: readonly ["option:archived", "option:all"];
|
|
647
|
+
}, {
|
|
648
|
+
readonly kind: "exclusive";
|
|
649
|
+
readonly members: readonly ["positional:project-key", "option:all-projects"];
|
|
650
|
+
}];
|
|
651
|
+
readonly notes: readonly ["An omitted project key uses defaultProject, or all projects if unset. --all-projects overrides the default and cannot be combined with a project key.", "A query that is a task key ignores defaultProject unless a project was typed. --all-projects still excludes a typed project."];
|
|
652
|
+
};
|
|
653
|
+
results: import("../results.js").CommandResult[];
|
|
52
654
|
run: (args: string[]) => void;
|
|
53
655
|
help: string;
|
|
54
656
|
};
|
|
55
657
|
view: {
|
|
658
|
+
summary: string;
|
|
659
|
+
effects: {
|
|
660
|
+
domain: "read";
|
|
661
|
+
storage: "normal-open";
|
|
662
|
+
};
|
|
663
|
+
confirmation: {
|
|
664
|
+
kind: "none";
|
|
665
|
+
};
|
|
666
|
+
input: {
|
|
667
|
+
readonly options: {
|
|
668
|
+
readonly history: {
|
|
669
|
+
readonly type: "boolean";
|
|
670
|
+
};
|
|
671
|
+
};
|
|
672
|
+
readonly forms: readonly [{
|
|
673
|
+
readonly id: "default";
|
|
674
|
+
readonly positionals: readonly [{
|
|
675
|
+
readonly name: "task-key";
|
|
676
|
+
readonly min: 1;
|
|
677
|
+
readonly max: 1;
|
|
678
|
+
readonly value: {
|
|
679
|
+
readonly kind: "task-key";
|
|
680
|
+
};
|
|
681
|
+
}];
|
|
682
|
+
}];
|
|
683
|
+
readonly constraints: readonly [];
|
|
684
|
+
};
|
|
685
|
+
results: import("../results.js").CommandResult[];
|
|
56
686
|
run: (args: string[]) => void;
|
|
57
687
|
help: string;
|
|
58
688
|
};
|
|
59
689
|
edit: {
|
|
60
|
-
|
|
690
|
+
summary: string;
|
|
691
|
+
effects: {
|
|
692
|
+
domain: "update";
|
|
693
|
+
storage: "normal-open";
|
|
694
|
+
};
|
|
695
|
+
confirmation: {
|
|
696
|
+
kind: "none";
|
|
697
|
+
};
|
|
698
|
+
input: {
|
|
699
|
+
readonly options: {
|
|
700
|
+
readonly priority: {
|
|
701
|
+
readonly type: "string";
|
|
702
|
+
readonly value: {
|
|
703
|
+
readonly kind: "enum";
|
|
704
|
+
readonly name: "priority";
|
|
705
|
+
readonly choices: readonly [...("low" | "medium" | "high" | "urgent")[], "none"];
|
|
706
|
+
readonly caseInsensitive: true;
|
|
707
|
+
readonly description: "Omission leaves priority unassigned on creation and unchanged on edit. none clears priority; JSON uses null.";
|
|
708
|
+
};
|
|
709
|
+
};
|
|
710
|
+
readonly "add-label": {
|
|
711
|
+
readonly type: "string";
|
|
712
|
+
readonly multiple: true;
|
|
713
|
+
readonly value: {
|
|
714
|
+
readonly kind: "label-name";
|
|
715
|
+
readonly name: "name";
|
|
716
|
+
};
|
|
717
|
+
};
|
|
718
|
+
readonly "remove-label": {
|
|
719
|
+
readonly type: "string";
|
|
720
|
+
readonly multiple: true;
|
|
721
|
+
readonly value: {
|
|
722
|
+
readonly kind: "label-name";
|
|
723
|
+
readonly name: "name";
|
|
724
|
+
};
|
|
725
|
+
};
|
|
726
|
+
readonly append: {
|
|
727
|
+
readonly type: "boolean";
|
|
728
|
+
};
|
|
729
|
+
readonly replacing: {
|
|
730
|
+
readonly type: "string";
|
|
731
|
+
readonly value: {
|
|
732
|
+
readonly kind: "text";
|
|
733
|
+
readonly name: "old";
|
|
734
|
+
};
|
|
735
|
+
};
|
|
736
|
+
readonly all: {
|
|
737
|
+
readonly type: "boolean";
|
|
738
|
+
};
|
|
739
|
+
readonly title: {
|
|
740
|
+
readonly type: "string";
|
|
741
|
+
readonly value: {
|
|
742
|
+
readonly kind: "text";
|
|
743
|
+
readonly name: "text";
|
|
744
|
+
};
|
|
745
|
+
};
|
|
746
|
+
readonly description: {
|
|
747
|
+
readonly type: "string";
|
|
748
|
+
readonly value: {
|
|
749
|
+
readonly kind: "text";
|
|
750
|
+
readonly name: "text";
|
|
751
|
+
};
|
|
752
|
+
};
|
|
753
|
+
readonly "description-file": {
|
|
754
|
+
readonly type: "string";
|
|
755
|
+
readonly value: {
|
|
756
|
+
readonly kind: "path";
|
|
757
|
+
readonly name: "path";
|
|
758
|
+
readonly description: "A UTF-8 file, or \"-\" for stdin. Trailing line breaks are dropped; empty or blank input is an error.";
|
|
759
|
+
};
|
|
760
|
+
};
|
|
761
|
+
};
|
|
762
|
+
readonly forms: readonly [{
|
|
763
|
+
readonly id: "default";
|
|
764
|
+
readonly positionals: readonly [{
|
|
765
|
+
readonly name: "task-key";
|
|
766
|
+
readonly min: 1;
|
|
767
|
+
readonly max: 1;
|
|
768
|
+
readonly value: {
|
|
769
|
+
readonly kind: "task-key";
|
|
770
|
+
};
|
|
771
|
+
}];
|
|
772
|
+
}];
|
|
773
|
+
readonly constraints: readonly [{
|
|
774
|
+
readonly kind: "exclusive";
|
|
775
|
+
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
776
|
+
}, {
|
|
777
|
+
readonly kind: "exclusive";
|
|
778
|
+
readonly members: readonly ["option:append", "option:replacing"];
|
|
779
|
+
}, {
|
|
780
|
+
readonly kind: "requiresAny";
|
|
781
|
+
readonly input: "option:append";
|
|
782
|
+
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
783
|
+
}, {
|
|
784
|
+
readonly kind: "requiresAny";
|
|
785
|
+
readonly input: "option:replacing";
|
|
786
|
+
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
787
|
+
}, {
|
|
788
|
+
readonly kind: "requires";
|
|
789
|
+
readonly input: "option:all";
|
|
790
|
+
readonly requires: "option:replacing";
|
|
791
|
+
}, {
|
|
792
|
+
readonly kind: "atLeastOne";
|
|
793
|
+
readonly members: readonly ["option:title", "option:description", "option:description-file", "option:priority", "option:add-label", "option:remove-label"];
|
|
794
|
+
}];
|
|
795
|
+
readonly notes: readonly [string];
|
|
796
|
+
};
|
|
797
|
+
results: import("../results.js").CommandResult[];
|
|
798
|
+
run: (args: string[]) => Promise<void>;
|
|
61
799
|
help: string;
|
|
800
|
+
guessedFlags: {
|
|
801
|
+
"--status": (args: string[]) => string[];
|
|
802
|
+
"--column": (args: string[]) => string[];
|
|
803
|
+
"--body": (args: string[]) => string[];
|
|
804
|
+
};
|
|
62
805
|
};
|
|
63
806
|
move: {
|
|
807
|
+
summary: string;
|
|
808
|
+
effects: {
|
|
809
|
+
domain: "update";
|
|
810
|
+
storage: "normal-open";
|
|
811
|
+
};
|
|
812
|
+
confirmation: {
|
|
813
|
+
kind: "none";
|
|
814
|
+
};
|
|
815
|
+
input: {
|
|
816
|
+
readonly options: {};
|
|
817
|
+
readonly forms: readonly [{
|
|
818
|
+
readonly id: "default";
|
|
819
|
+
readonly positionals: readonly [{
|
|
820
|
+
readonly max: null;
|
|
821
|
+
readonly name: "task-key";
|
|
822
|
+
readonly min: 1;
|
|
823
|
+
readonly value: {
|
|
824
|
+
readonly kind: "task-key";
|
|
825
|
+
};
|
|
826
|
+
}, {
|
|
827
|
+
readonly name: "target-column";
|
|
828
|
+
readonly min: 1;
|
|
829
|
+
readonly max: 1;
|
|
830
|
+
readonly value: {
|
|
831
|
+
readonly kind: "column-name";
|
|
832
|
+
};
|
|
833
|
+
}];
|
|
834
|
+
}];
|
|
835
|
+
readonly constraints: readonly [];
|
|
836
|
+
};
|
|
837
|
+
results: import("../results.js").CommandResult[];
|
|
64
838
|
run: (args: string[]) => void;
|
|
65
839
|
help: string;
|
|
840
|
+
guessedFlags: {
|
|
841
|
+
"--status": (args: Array<string>, options?: import("node:util").ParseArgsOptionsConfig) => string[];
|
|
842
|
+
"--column": (args: Array<string>, options?: import("node:util").ParseArgsOptionsConfig) => string[];
|
|
843
|
+
};
|
|
66
844
|
};
|
|
67
845
|
order: {
|
|
846
|
+
summary: string;
|
|
847
|
+
effects: {
|
|
848
|
+
domain: "update";
|
|
849
|
+
storage: "normal-open";
|
|
850
|
+
};
|
|
851
|
+
confirmation: {
|
|
852
|
+
kind: "none";
|
|
853
|
+
};
|
|
854
|
+
input: {
|
|
855
|
+
readonly options: {};
|
|
856
|
+
readonly forms: readonly [{
|
|
857
|
+
readonly id: "absolute";
|
|
858
|
+
readonly positionals: readonly [{
|
|
859
|
+
readonly max: null;
|
|
860
|
+
readonly name: "task-key";
|
|
861
|
+
readonly min: 1;
|
|
862
|
+
readonly value: {
|
|
863
|
+
readonly kind: "task-key";
|
|
864
|
+
};
|
|
865
|
+
}, {
|
|
866
|
+
readonly name: "direction";
|
|
867
|
+
readonly min: 1;
|
|
868
|
+
readonly max: 1;
|
|
869
|
+
readonly value: {
|
|
870
|
+
readonly kind: "enum";
|
|
871
|
+
readonly choices: readonly ["top", "bottom"];
|
|
872
|
+
};
|
|
873
|
+
}];
|
|
874
|
+
}, {
|
|
875
|
+
readonly id: "step";
|
|
876
|
+
readonly positionals: readonly [{
|
|
877
|
+
readonly name: "task-key";
|
|
878
|
+
readonly min: 1;
|
|
879
|
+
readonly max: 1;
|
|
880
|
+
readonly value: {
|
|
881
|
+
readonly kind: "task-key";
|
|
882
|
+
};
|
|
883
|
+
}, {
|
|
884
|
+
readonly name: "direction";
|
|
885
|
+
readonly min: 1;
|
|
886
|
+
readonly max: 1;
|
|
887
|
+
readonly value: {
|
|
888
|
+
readonly kind: "enum";
|
|
889
|
+
readonly choices: readonly ["up", "down"];
|
|
890
|
+
};
|
|
891
|
+
}];
|
|
892
|
+
}, {
|
|
893
|
+
readonly id: "relative";
|
|
894
|
+
readonly positionals: readonly [{
|
|
895
|
+
readonly max: null;
|
|
896
|
+
readonly name: "task-key";
|
|
897
|
+
readonly min: 1;
|
|
898
|
+
readonly value: {
|
|
899
|
+
readonly kind: "task-key";
|
|
900
|
+
};
|
|
901
|
+
}, {
|
|
902
|
+
readonly name: "direction";
|
|
903
|
+
readonly min: 1;
|
|
904
|
+
readonly max: 1;
|
|
905
|
+
readonly value: {
|
|
906
|
+
readonly kind: "enum";
|
|
907
|
+
readonly choices: readonly ["before", "after"];
|
|
908
|
+
};
|
|
909
|
+
}, {
|
|
910
|
+
readonly name: "target-task-key";
|
|
911
|
+
readonly min: 1;
|
|
912
|
+
readonly max: 1;
|
|
913
|
+
readonly value: {
|
|
914
|
+
readonly kind: "task-key";
|
|
915
|
+
};
|
|
916
|
+
}];
|
|
917
|
+
}];
|
|
918
|
+
readonly constraints: readonly [];
|
|
919
|
+
};
|
|
920
|
+
results: import("../results.js").CommandResult[];
|
|
68
921
|
run: (args: string[]) => void;
|
|
69
922
|
help: string;
|
|
70
923
|
};
|
|
71
924
|
archive: {
|
|
925
|
+
summary: string;
|
|
926
|
+
effects: {
|
|
927
|
+
domain: "update";
|
|
928
|
+
storage: "normal-open";
|
|
929
|
+
};
|
|
930
|
+
confirmation: {
|
|
931
|
+
kind: "none";
|
|
932
|
+
};
|
|
933
|
+
input: {
|
|
934
|
+
readonly options: {};
|
|
935
|
+
readonly forms: readonly [{
|
|
936
|
+
readonly id: "default";
|
|
937
|
+
readonly positionals: readonly [{
|
|
938
|
+
readonly max: null;
|
|
939
|
+
readonly name: "task-key";
|
|
940
|
+
readonly min: 1;
|
|
941
|
+
readonly value: {
|
|
942
|
+
readonly kind: "task-key";
|
|
943
|
+
};
|
|
944
|
+
}];
|
|
945
|
+
}];
|
|
946
|
+
readonly constraints: readonly [];
|
|
947
|
+
};
|
|
948
|
+
results: import("../results.js").CommandResult[];
|
|
72
949
|
run: (args: Array<string>) => void;
|
|
73
950
|
help: string;
|
|
74
951
|
};
|
|
75
952
|
unarchive: {
|
|
953
|
+
summary: string;
|
|
954
|
+
effects: {
|
|
955
|
+
domain: "update";
|
|
956
|
+
storage: "normal-open";
|
|
957
|
+
};
|
|
958
|
+
confirmation: {
|
|
959
|
+
kind: "none";
|
|
960
|
+
};
|
|
961
|
+
input: {
|
|
962
|
+
readonly options: {};
|
|
963
|
+
readonly forms: readonly [{
|
|
964
|
+
readonly id: "default";
|
|
965
|
+
readonly positionals: readonly [{
|
|
966
|
+
readonly max: null;
|
|
967
|
+
readonly name: "task-key";
|
|
968
|
+
readonly min: 1;
|
|
969
|
+
readonly value: {
|
|
970
|
+
readonly kind: "task-key";
|
|
971
|
+
};
|
|
972
|
+
}];
|
|
973
|
+
}];
|
|
974
|
+
readonly constraints: readonly [];
|
|
975
|
+
};
|
|
976
|
+
results: import("../results.js").CommandResult[];
|
|
76
977
|
run: (args: Array<string>) => void;
|
|
77
978
|
help: string;
|
|
78
979
|
};
|
|
79
980
|
delete: {
|
|
981
|
+
summary: string;
|
|
982
|
+
effects: {
|
|
983
|
+
domain: "delete";
|
|
984
|
+
storage: "normal-open";
|
|
985
|
+
};
|
|
986
|
+
confirmation: {
|
|
987
|
+
kind: "prompt";
|
|
988
|
+
description: string;
|
|
989
|
+
};
|
|
990
|
+
input: {
|
|
991
|
+
readonly options: {
|
|
992
|
+
readonly yes: {
|
|
993
|
+
readonly type: "boolean";
|
|
994
|
+
};
|
|
995
|
+
};
|
|
996
|
+
readonly forms: readonly [{
|
|
997
|
+
readonly id: "default";
|
|
998
|
+
readonly positionals: readonly [{
|
|
999
|
+
readonly max: null;
|
|
1000
|
+
readonly name: "task-key";
|
|
1001
|
+
readonly min: 1;
|
|
1002
|
+
readonly value: {
|
|
1003
|
+
readonly kind: "task-key";
|
|
1004
|
+
};
|
|
1005
|
+
}];
|
|
1006
|
+
}];
|
|
1007
|
+
readonly constraints: readonly [];
|
|
1008
|
+
};
|
|
1009
|
+
results: import("../results.js").CommandResult[];
|
|
80
1010
|
run: (args: Array<string>) => Promise<void>;
|
|
81
1011
|
help: string;
|
|
82
1012
|
};
|
|
83
1013
|
relation: {
|
|
84
1014
|
create: {
|
|
1015
|
+
summary: string;
|
|
1016
|
+
effects: {
|
|
1017
|
+
domain: "create";
|
|
1018
|
+
storage: "normal-open";
|
|
1019
|
+
};
|
|
1020
|
+
confirmation: {
|
|
1021
|
+
kind: "none";
|
|
1022
|
+
};
|
|
1023
|
+
input: {
|
|
1024
|
+
readonly options: {
|
|
1025
|
+
readonly type: {
|
|
1026
|
+
readonly type: "string";
|
|
1027
|
+
readonly required: true;
|
|
1028
|
+
readonly value: {
|
|
1029
|
+
readonly kind: "enum";
|
|
1030
|
+
readonly choices: ("related" | "dependency" | "duplicate" | "subtask")[];
|
|
1031
|
+
};
|
|
1032
|
+
};
|
|
1033
|
+
};
|
|
1034
|
+
readonly forms: readonly [{
|
|
1035
|
+
readonly id: "default";
|
|
1036
|
+
readonly positionals: readonly [{
|
|
1037
|
+
readonly name: "source-task-key";
|
|
1038
|
+
readonly min: 1;
|
|
1039
|
+
readonly max: 1;
|
|
1040
|
+
readonly value: {
|
|
1041
|
+
readonly kind: "task-key";
|
|
1042
|
+
};
|
|
1043
|
+
}, {
|
|
1044
|
+
readonly name: "target-task-key";
|
|
1045
|
+
readonly min: 1;
|
|
1046
|
+
readonly max: 1;
|
|
1047
|
+
readonly value: {
|
|
1048
|
+
readonly kind: "task-key";
|
|
1049
|
+
};
|
|
1050
|
+
}];
|
|
1051
|
+
}];
|
|
1052
|
+
readonly constraints: readonly [];
|
|
1053
|
+
};
|
|
1054
|
+
results: import("../results.js").CommandResult[];
|
|
1055
|
+
guessedFlags: {
|
|
1056
|
+
[k: string]: (args: Array<string>) => string[] | undefined;
|
|
1057
|
+
};
|
|
85
1058
|
run: (args: string[]) => void;
|
|
86
1059
|
help: string;
|
|
87
1060
|
};
|
|
88
1061
|
list: {
|
|
1062
|
+
summary: string;
|
|
1063
|
+
effects: {
|
|
1064
|
+
domain: "read";
|
|
1065
|
+
storage: "normal-open";
|
|
1066
|
+
};
|
|
1067
|
+
confirmation: {
|
|
1068
|
+
kind: "none";
|
|
1069
|
+
};
|
|
1070
|
+
input: {
|
|
1071
|
+
readonly options: {};
|
|
1072
|
+
readonly forms: readonly [{
|
|
1073
|
+
readonly id: "default";
|
|
1074
|
+
readonly positionals: readonly [{
|
|
1075
|
+
readonly name: "task-key";
|
|
1076
|
+
readonly min: 1;
|
|
1077
|
+
readonly max: 1;
|
|
1078
|
+
readonly value: {
|
|
1079
|
+
readonly kind: "task-key";
|
|
1080
|
+
};
|
|
1081
|
+
}];
|
|
1082
|
+
}];
|
|
1083
|
+
readonly constraints: readonly [];
|
|
1084
|
+
};
|
|
1085
|
+
results: import("../results.js").CommandResult[];
|
|
89
1086
|
run: (args: string[]) => void;
|
|
90
1087
|
help: string;
|
|
91
1088
|
};
|
|
92
1089
|
delete: {
|
|
1090
|
+
summary: string;
|
|
1091
|
+
effects: {
|
|
1092
|
+
domain: "delete";
|
|
1093
|
+
storage: "normal-open";
|
|
1094
|
+
};
|
|
1095
|
+
confirmation: {
|
|
1096
|
+
kind: "none";
|
|
1097
|
+
};
|
|
1098
|
+
input: {
|
|
1099
|
+
readonly options: {
|
|
1100
|
+
readonly type: {
|
|
1101
|
+
readonly type: "string";
|
|
1102
|
+
readonly required: true;
|
|
1103
|
+
readonly value: {
|
|
1104
|
+
readonly kind: "enum";
|
|
1105
|
+
readonly choices: ("related" | "dependency" | "duplicate" | "subtask")[];
|
|
1106
|
+
};
|
|
1107
|
+
};
|
|
1108
|
+
};
|
|
1109
|
+
readonly forms: readonly [{
|
|
1110
|
+
readonly id: "default";
|
|
1111
|
+
readonly positionals: readonly [{
|
|
1112
|
+
readonly name: "source-task-key";
|
|
1113
|
+
readonly min: 1;
|
|
1114
|
+
readonly max: 1;
|
|
1115
|
+
readonly value: {
|
|
1116
|
+
readonly kind: "task-key";
|
|
1117
|
+
};
|
|
1118
|
+
}, {
|
|
1119
|
+
readonly name: "target-task-key";
|
|
1120
|
+
readonly min: 1;
|
|
1121
|
+
readonly max: 1;
|
|
1122
|
+
readonly value: {
|
|
1123
|
+
readonly kind: "task-key";
|
|
1124
|
+
};
|
|
1125
|
+
}];
|
|
1126
|
+
}];
|
|
1127
|
+
readonly constraints: readonly [];
|
|
1128
|
+
};
|
|
1129
|
+
results: import("../results.js").CommandResult[];
|
|
1130
|
+
guessedFlags: {
|
|
1131
|
+
[k: string]: (args: Array<string>) => string[] | undefined;
|
|
1132
|
+
};
|
|
93
1133
|
run: (args: string[]) => void;
|
|
94
1134
|
help: string;
|
|
95
1135
|
};
|
|
96
1136
|
};
|
|
97
1137
|
comment: {
|
|
98
1138
|
create: {
|
|
99
|
-
|
|
1139
|
+
summary: string;
|
|
1140
|
+
effects: {
|
|
1141
|
+
domain: "create";
|
|
1142
|
+
storage: "normal-open";
|
|
1143
|
+
};
|
|
1144
|
+
confirmation: {
|
|
1145
|
+
kind: "none";
|
|
1146
|
+
};
|
|
1147
|
+
input: {
|
|
1148
|
+
readonly options: {
|
|
1149
|
+
readonly text: {
|
|
1150
|
+
readonly type: "string";
|
|
1151
|
+
readonly value: {
|
|
1152
|
+
readonly kind: "text";
|
|
1153
|
+
readonly name: "text";
|
|
1154
|
+
};
|
|
1155
|
+
};
|
|
1156
|
+
readonly "text-file": {
|
|
1157
|
+
readonly type: "string";
|
|
1158
|
+
readonly value: {
|
|
1159
|
+
readonly kind: "path";
|
|
1160
|
+
readonly name: "path";
|
|
1161
|
+
readonly description: "A UTF-8 file, or \"-\" for stdin. Trailing line breaks are dropped; empty or blank input is an error.";
|
|
1162
|
+
};
|
|
1163
|
+
};
|
|
1164
|
+
};
|
|
1165
|
+
readonly forms: readonly [{
|
|
1166
|
+
readonly id: "default";
|
|
1167
|
+
readonly positionals: readonly [{
|
|
1168
|
+
readonly name: "task-key";
|
|
1169
|
+
readonly min: 1;
|
|
1170
|
+
readonly max: 1;
|
|
1171
|
+
readonly value: {
|
|
1172
|
+
readonly kind: "task-key";
|
|
1173
|
+
};
|
|
1174
|
+
}];
|
|
1175
|
+
}];
|
|
1176
|
+
readonly constraints: readonly [{
|
|
1177
|
+
readonly kind: "exclusive";
|
|
1178
|
+
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
1179
|
+
}, {
|
|
1180
|
+
readonly kind: "atLeastOne";
|
|
1181
|
+
readonly members: readonly ["option:text", "option:text-file"];
|
|
1182
|
+
}];
|
|
1183
|
+
};
|
|
1184
|
+
results: import("../results.js").CommandResult[];
|
|
1185
|
+
guessedFlags: {
|
|
1186
|
+
"--body": (args: string[]) => string[];
|
|
1187
|
+
};
|
|
1188
|
+
run: (args: string[]) => Promise<void>;
|
|
100
1189
|
help: string;
|
|
101
1190
|
};
|
|
102
1191
|
list: {
|
|
1192
|
+
summary: string;
|
|
1193
|
+
effects: {
|
|
1194
|
+
domain: "read";
|
|
1195
|
+
storage: "normal-open";
|
|
1196
|
+
};
|
|
1197
|
+
confirmation: {
|
|
1198
|
+
kind: "none";
|
|
1199
|
+
};
|
|
1200
|
+
input: {
|
|
1201
|
+
readonly options: {};
|
|
1202
|
+
readonly forms: readonly [{
|
|
1203
|
+
readonly id: "default";
|
|
1204
|
+
readonly positionals: readonly [{
|
|
1205
|
+
readonly name: "task-key";
|
|
1206
|
+
readonly min: 1;
|
|
1207
|
+
readonly max: 1;
|
|
1208
|
+
readonly value: {
|
|
1209
|
+
readonly kind: "task-key";
|
|
1210
|
+
};
|
|
1211
|
+
}];
|
|
1212
|
+
}];
|
|
1213
|
+
readonly constraints: readonly [];
|
|
1214
|
+
};
|
|
1215
|
+
results: import("../results.js").CommandResult[];
|
|
103
1216
|
run: (args: string[]) => void;
|
|
104
1217
|
help: string;
|
|
105
1218
|
};
|
|
106
|
-
|
|
1219
|
+
view: {
|
|
1220
|
+
summary: string;
|
|
1221
|
+
effects: {
|
|
1222
|
+
domain: "read";
|
|
1223
|
+
storage: "normal-open";
|
|
1224
|
+
};
|
|
1225
|
+
confirmation: {
|
|
1226
|
+
kind: "none";
|
|
1227
|
+
};
|
|
1228
|
+
input: {
|
|
1229
|
+
readonly options: {};
|
|
1230
|
+
readonly forms: readonly [{
|
|
1231
|
+
readonly id: "default";
|
|
1232
|
+
readonly positionals: readonly [{
|
|
1233
|
+
readonly name: "comment-key";
|
|
1234
|
+
readonly min: 1;
|
|
1235
|
+
readonly max: 1;
|
|
1236
|
+
readonly value: {
|
|
1237
|
+
readonly kind: "comment-key";
|
|
1238
|
+
};
|
|
1239
|
+
}];
|
|
1240
|
+
}];
|
|
1241
|
+
readonly constraints: readonly [];
|
|
1242
|
+
};
|
|
1243
|
+
results: import("../results.js").CommandResult[];
|
|
107
1244
|
run: (args: string[]) => void;
|
|
108
1245
|
help: string;
|
|
109
1246
|
};
|
|
1247
|
+
edit: {
|
|
1248
|
+
summary: string;
|
|
1249
|
+
effects: {
|
|
1250
|
+
domain: "update";
|
|
1251
|
+
storage: "normal-open";
|
|
1252
|
+
};
|
|
1253
|
+
confirmation: {
|
|
1254
|
+
kind: "none";
|
|
1255
|
+
};
|
|
1256
|
+
input: {
|
|
1257
|
+
readonly options: {
|
|
1258
|
+
readonly append: {
|
|
1259
|
+
readonly type: "boolean";
|
|
1260
|
+
};
|
|
1261
|
+
readonly replacing: {
|
|
1262
|
+
readonly type: "string";
|
|
1263
|
+
readonly value: {
|
|
1264
|
+
readonly kind: "text";
|
|
1265
|
+
readonly name: "old";
|
|
1266
|
+
};
|
|
1267
|
+
};
|
|
1268
|
+
readonly all: {
|
|
1269
|
+
readonly type: "boolean";
|
|
1270
|
+
};
|
|
1271
|
+
readonly text: {
|
|
1272
|
+
readonly type: "string";
|
|
1273
|
+
readonly value: {
|
|
1274
|
+
readonly kind: "text";
|
|
1275
|
+
readonly name: "text";
|
|
1276
|
+
};
|
|
1277
|
+
};
|
|
1278
|
+
readonly "text-file": {
|
|
1279
|
+
readonly type: "string";
|
|
1280
|
+
readonly value: {
|
|
1281
|
+
readonly kind: "path";
|
|
1282
|
+
readonly name: "path";
|
|
1283
|
+
readonly description: "A UTF-8 file, or \"-\" for stdin. Trailing line breaks are dropped; empty or blank input is an error.";
|
|
1284
|
+
};
|
|
1285
|
+
};
|
|
1286
|
+
};
|
|
1287
|
+
readonly forms: readonly [{
|
|
1288
|
+
readonly id: "default";
|
|
1289
|
+
readonly positionals: readonly [{
|
|
1290
|
+
readonly name: "comment-key";
|
|
1291
|
+
readonly min: 1;
|
|
1292
|
+
readonly max: 1;
|
|
1293
|
+
readonly value: {
|
|
1294
|
+
readonly kind: "comment-key";
|
|
1295
|
+
};
|
|
1296
|
+
}];
|
|
1297
|
+
}];
|
|
1298
|
+
readonly constraints: readonly [{
|
|
1299
|
+
readonly kind: "exclusive";
|
|
1300
|
+
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
1301
|
+
}, {
|
|
1302
|
+
readonly kind: "exclusive";
|
|
1303
|
+
readonly members: readonly ["option:append", "option:replacing"];
|
|
1304
|
+
}, {
|
|
1305
|
+
readonly kind: "requiresAny";
|
|
1306
|
+
readonly input: "option:append";
|
|
1307
|
+
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
1308
|
+
}, {
|
|
1309
|
+
readonly kind: "requiresAny";
|
|
1310
|
+
readonly input: "option:replacing";
|
|
1311
|
+
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
1312
|
+
}, {
|
|
1313
|
+
readonly kind: "requires";
|
|
1314
|
+
readonly input: "option:all";
|
|
1315
|
+
readonly requires: "option:replacing";
|
|
1316
|
+
}, {
|
|
1317
|
+
readonly kind: "atLeastOne";
|
|
1318
|
+
readonly members: readonly ["option:text", "option:text-file"];
|
|
1319
|
+
}];
|
|
1320
|
+
readonly notes: readonly [string];
|
|
1321
|
+
};
|
|
1322
|
+
results: import("../results.js").CommandResult[];
|
|
1323
|
+
guessedFlags: {
|
|
1324
|
+
"--body": (args: string[]) => string[];
|
|
1325
|
+
};
|
|
1326
|
+
run: (args: string[]) => Promise<void>;
|
|
1327
|
+
help: string;
|
|
1328
|
+
};
|
|
110
1329
|
delete: {
|
|
1330
|
+
summary: string;
|
|
1331
|
+
effects: {
|
|
1332
|
+
domain: "delete";
|
|
1333
|
+
storage: "normal-open";
|
|
1334
|
+
};
|
|
1335
|
+
confirmation: {
|
|
1336
|
+
kind: "prompt";
|
|
1337
|
+
description: string;
|
|
1338
|
+
};
|
|
1339
|
+
input: {
|
|
1340
|
+
readonly options: {
|
|
1341
|
+
readonly yes: {
|
|
1342
|
+
readonly type: "boolean";
|
|
1343
|
+
};
|
|
1344
|
+
};
|
|
1345
|
+
readonly forms: readonly [{
|
|
1346
|
+
readonly id: "default";
|
|
1347
|
+
readonly positionals: readonly [{
|
|
1348
|
+
readonly name: "comment-key";
|
|
1349
|
+
readonly min: 1;
|
|
1350
|
+
readonly max: 1;
|
|
1351
|
+
readonly value: {
|
|
1352
|
+
readonly kind: "comment-key";
|
|
1353
|
+
};
|
|
1354
|
+
}];
|
|
1355
|
+
}];
|
|
1356
|
+
readonly constraints: readonly [];
|
|
1357
|
+
};
|
|
1358
|
+
results: import("../results.js").CommandResult[];
|
|
111
1359
|
run: (args: string[]) => Promise<void>;
|
|
112
1360
|
help: string;
|
|
113
1361
|
};
|
|
114
1362
|
};
|
|
115
1363
|
label: {
|
|
116
1364
|
add: {
|
|
1365
|
+
summary: string;
|
|
1366
|
+
effects: {
|
|
1367
|
+
domain: "update";
|
|
1368
|
+
storage: "normal-open";
|
|
1369
|
+
};
|
|
1370
|
+
confirmation: {
|
|
1371
|
+
kind: "none";
|
|
1372
|
+
};
|
|
1373
|
+
input: {
|
|
1374
|
+
readonly options: {};
|
|
1375
|
+
readonly forms: readonly [{
|
|
1376
|
+
readonly id: "default";
|
|
1377
|
+
readonly positionals: readonly [{
|
|
1378
|
+
readonly name: "task-key";
|
|
1379
|
+
readonly min: 1;
|
|
1380
|
+
readonly max: 1;
|
|
1381
|
+
readonly value: {
|
|
1382
|
+
readonly kind: "task-key";
|
|
1383
|
+
};
|
|
1384
|
+
}, {
|
|
1385
|
+
readonly name: "label-name";
|
|
1386
|
+
readonly min: 1;
|
|
1387
|
+
readonly max: null;
|
|
1388
|
+
readonly value: {
|
|
1389
|
+
readonly kind: "label-name";
|
|
1390
|
+
};
|
|
1391
|
+
}];
|
|
1392
|
+
}];
|
|
1393
|
+
readonly constraints: readonly [];
|
|
1394
|
+
};
|
|
1395
|
+
results: import("../results.js").CommandResult[];
|
|
117
1396
|
run: (args: string[]) => void;
|
|
118
1397
|
help: string;
|
|
119
1398
|
};
|
|
120
1399
|
remove: {
|
|
1400
|
+
summary: string;
|
|
1401
|
+
effects: {
|
|
1402
|
+
domain: "update";
|
|
1403
|
+
storage: "normal-open";
|
|
1404
|
+
};
|
|
1405
|
+
confirmation: {
|
|
1406
|
+
kind: "none";
|
|
1407
|
+
};
|
|
1408
|
+
input: {
|
|
1409
|
+
readonly options: {};
|
|
1410
|
+
readonly forms: readonly [{
|
|
1411
|
+
readonly id: "default";
|
|
1412
|
+
readonly positionals: readonly [{
|
|
1413
|
+
readonly name: "task-key";
|
|
1414
|
+
readonly min: 1;
|
|
1415
|
+
readonly max: 1;
|
|
1416
|
+
readonly value: {
|
|
1417
|
+
readonly kind: "task-key";
|
|
1418
|
+
};
|
|
1419
|
+
}, {
|
|
1420
|
+
readonly name: "label-name";
|
|
1421
|
+
readonly min: 1;
|
|
1422
|
+
readonly max: null;
|
|
1423
|
+
readonly value: {
|
|
1424
|
+
readonly kind: "label-name";
|
|
1425
|
+
};
|
|
1426
|
+
}];
|
|
1427
|
+
}];
|
|
1428
|
+
readonly constraints: readonly [];
|
|
1429
|
+
};
|
|
1430
|
+
results: import("../results.js").CommandResult[];
|
|
121
1431
|
run: (args: string[]) => void;
|
|
122
1432
|
help: string;
|
|
123
1433
|
};
|
|
@@ -125,46 +1435,509 @@ export declare const routes: {
|
|
|
125
1435
|
};
|
|
126
1436
|
label: {
|
|
127
1437
|
create: {
|
|
128
|
-
|
|
1438
|
+
summary: string;
|
|
1439
|
+
effects: {
|
|
1440
|
+
domain: "create";
|
|
1441
|
+
storage: "normal-open";
|
|
1442
|
+
};
|
|
1443
|
+
confirmation: {
|
|
1444
|
+
kind: "none";
|
|
1445
|
+
};
|
|
1446
|
+
input: {
|
|
1447
|
+
readonly options: {
|
|
1448
|
+
readonly description: {
|
|
1449
|
+
readonly type: "string";
|
|
1450
|
+
readonly value: {
|
|
1451
|
+
readonly kind: "text";
|
|
1452
|
+
readonly name: "text";
|
|
1453
|
+
};
|
|
1454
|
+
};
|
|
1455
|
+
readonly "description-file": {
|
|
1456
|
+
readonly type: "string";
|
|
1457
|
+
readonly value: {
|
|
1458
|
+
readonly kind: "path";
|
|
1459
|
+
readonly name: "path";
|
|
1460
|
+
readonly description: "A UTF-8 file, or \"-\" for stdin. Trailing line breaks are dropped; empty or blank input is an error.";
|
|
1461
|
+
};
|
|
1462
|
+
};
|
|
1463
|
+
readonly color: {
|
|
1464
|
+
readonly type: "string";
|
|
1465
|
+
readonly value: {
|
|
1466
|
+
readonly kind: "enum";
|
|
1467
|
+
readonly name: "color";
|
|
1468
|
+
readonly choices: ("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray")[];
|
|
1469
|
+
};
|
|
1470
|
+
};
|
|
1471
|
+
};
|
|
1472
|
+
readonly forms: readonly [{
|
|
1473
|
+
readonly id: "default";
|
|
1474
|
+
readonly positionals: readonly [{
|
|
1475
|
+
readonly name: "name";
|
|
1476
|
+
readonly min: 1;
|
|
1477
|
+
readonly max: 1;
|
|
1478
|
+
readonly value: {
|
|
1479
|
+
readonly kind: "name";
|
|
1480
|
+
};
|
|
1481
|
+
}];
|
|
1482
|
+
}];
|
|
1483
|
+
readonly constraints: readonly [{
|
|
1484
|
+
readonly kind: "exclusive";
|
|
1485
|
+
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
1486
|
+
}];
|
|
1487
|
+
};
|
|
1488
|
+
results: import("../results.js").CommandResult[];
|
|
1489
|
+
run: (args: string[]) => Promise<void>;
|
|
129
1490
|
help: string;
|
|
130
1491
|
};
|
|
131
1492
|
list: {
|
|
1493
|
+
summary: string;
|
|
1494
|
+
effects: {
|
|
1495
|
+
domain: "read";
|
|
1496
|
+
storage: "normal-open";
|
|
1497
|
+
};
|
|
1498
|
+
confirmation: {
|
|
1499
|
+
kind: "none";
|
|
1500
|
+
};
|
|
1501
|
+
input: {
|
|
1502
|
+
readonly options: {};
|
|
1503
|
+
readonly forms: readonly [{
|
|
1504
|
+
readonly id: "default";
|
|
1505
|
+
readonly positionals: readonly [];
|
|
1506
|
+
}];
|
|
1507
|
+
readonly constraints: readonly [];
|
|
1508
|
+
};
|
|
1509
|
+
results: import("../results.js").CommandResult[];
|
|
132
1510
|
run: (args: string[]) => void;
|
|
133
1511
|
help: string;
|
|
134
1512
|
};
|
|
135
|
-
|
|
1513
|
+
view: {
|
|
1514
|
+
summary: string;
|
|
1515
|
+
effects: {
|
|
1516
|
+
domain: "read";
|
|
1517
|
+
storage: "normal-open";
|
|
1518
|
+
};
|
|
1519
|
+
confirmation: {
|
|
1520
|
+
kind: "none";
|
|
1521
|
+
};
|
|
1522
|
+
input: {
|
|
1523
|
+
readonly options: {};
|
|
1524
|
+
readonly forms: readonly [{
|
|
1525
|
+
readonly id: "default";
|
|
1526
|
+
readonly positionals: readonly [{
|
|
1527
|
+
readonly name: "name";
|
|
1528
|
+
readonly min: 1;
|
|
1529
|
+
readonly max: 1;
|
|
1530
|
+
readonly value: {
|
|
1531
|
+
readonly kind: "label-name";
|
|
1532
|
+
};
|
|
1533
|
+
}];
|
|
1534
|
+
}];
|
|
1535
|
+
readonly constraints: readonly [];
|
|
1536
|
+
};
|
|
1537
|
+
results: import("../results.js").CommandResult[];
|
|
136
1538
|
run: (args: string[]) => void;
|
|
137
1539
|
help: string;
|
|
138
1540
|
};
|
|
1541
|
+
edit: {
|
|
1542
|
+
summary: string;
|
|
1543
|
+
effects: {
|
|
1544
|
+
domain: "update";
|
|
1545
|
+
storage: "normal-open";
|
|
1546
|
+
};
|
|
1547
|
+
confirmation: {
|
|
1548
|
+
kind: "none";
|
|
1549
|
+
};
|
|
1550
|
+
input: {
|
|
1551
|
+
readonly options: {
|
|
1552
|
+
readonly color: {
|
|
1553
|
+
readonly type: "string";
|
|
1554
|
+
readonly value: {
|
|
1555
|
+
readonly kind: "enum";
|
|
1556
|
+
readonly name: "color";
|
|
1557
|
+
readonly choices: ("red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray")[];
|
|
1558
|
+
};
|
|
1559
|
+
};
|
|
1560
|
+
readonly append: {
|
|
1561
|
+
readonly type: "boolean";
|
|
1562
|
+
};
|
|
1563
|
+
readonly replacing: {
|
|
1564
|
+
readonly type: "string";
|
|
1565
|
+
readonly value: {
|
|
1566
|
+
readonly kind: "text";
|
|
1567
|
+
readonly name: "old";
|
|
1568
|
+
};
|
|
1569
|
+
};
|
|
1570
|
+
readonly all: {
|
|
1571
|
+
readonly type: "boolean";
|
|
1572
|
+
};
|
|
1573
|
+
readonly name: {
|
|
1574
|
+
readonly type: "string";
|
|
1575
|
+
readonly value: {
|
|
1576
|
+
readonly kind: "text";
|
|
1577
|
+
readonly name: "text";
|
|
1578
|
+
};
|
|
1579
|
+
};
|
|
1580
|
+
readonly description: {
|
|
1581
|
+
readonly type: "string";
|
|
1582
|
+
readonly value: {
|
|
1583
|
+
readonly kind: "text";
|
|
1584
|
+
readonly name: "text";
|
|
1585
|
+
};
|
|
1586
|
+
};
|
|
1587
|
+
readonly "description-file": {
|
|
1588
|
+
readonly type: "string";
|
|
1589
|
+
readonly value: {
|
|
1590
|
+
readonly kind: "path";
|
|
1591
|
+
readonly name: "path";
|
|
1592
|
+
readonly description: "A UTF-8 file, or \"-\" for stdin. Trailing line breaks are dropped; empty or blank input is an error.";
|
|
1593
|
+
};
|
|
1594
|
+
};
|
|
1595
|
+
};
|
|
1596
|
+
readonly forms: readonly [{
|
|
1597
|
+
readonly id: "default";
|
|
1598
|
+
readonly positionals: readonly [{
|
|
1599
|
+
readonly name: "name";
|
|
1600
|
+
readonly min: 1;
|
|
1601
|
+
readonly max: 1;
|
|
1602
|
+
readonly value: {
|
|
1603
|
+
readonly kind: "name";
|
|
1604
|
+
};
|
|
1605
|
+
}];
|
|
1606
|
+
}];
|
|
1607
|
+
readonly constraints: readonly [{
|
|
1608
|
+
readonly kind: "exclusive";
|
|
1609
|
+
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
1610
|
+
}, {
|
|
1611
|
+
readonly kind: "exclusive";
|
|
1612
|
+
readonly members: readonly ["option:append", "option:replacing"];
|
|
1613
|
+
}, {
|
|
1614
|
+
readonly kind: "requiresAny";
|
|
1615
|
+
readonly input: "option:append";
|
|
1616
|
+
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
1617
|
+
}, {
|
|
1618
|
+
readonly kind: "requiresAny";
|
|
1619
|
+
readonly input: "option:replacing";
|
|
1620
|
+
readonly members: readonly ["option:description" | "option:text", "option:description-file" | "option:text-file"];
|
|
1621
|
+
}, {
|
|
1622
|
+
readonly kind: "requires";
|
|
1623
|
+
readonly input: "option:all";
|
|
1624
|
+
readonly requires: "option:replacing";
|
|
1625
|
+
}, {
|
|
1626
|
+
readonly kind: "atLeastOne";
|
|
1627
|
+
readonly members: `option:${string}`[];
|
|
1628
|
+
}];
|
|
1629
|
+
readonly notes: readonly [string];
|
|
1630
|
+
};
|
|
1631
|
+
results: import("../results.js").CommandResult[];
|
|
1632
|
+
run: (args: string[]) => Promise<void>;
|
|
1633
|
+
help: string;
|
|
1634
|
+
};
|
|
139
1635
|
delete: {
|
|
1636
|
+
summary: string;
|
|
1637
|
+
effects: {
|
|
1638
|
+
domain: "delete";
|
|
1639
|
+
storage: "normal-open";
|
|
1640
|
+
};
|
|
1641
|
+
confirmation: {
|
|
1642
|
+
kind: "prompt";
|
|
1643
|
+
description: string;
|
|
1644
|
+
};
|
|
1645
|
+
input: {
|
|
1646
|
+
readonly options: {
|
|
1647
|
+
readonly yes: {
|
|
1648
|
+
readonly type: "boolean";
|
|
1649
|
+
};
|
|
1650
|
+
};
|
|
1651
|
+
readonly forms: readonly [{
|
|
1652
|
+
readonly id: "default";
|
|
1653
|
+
readonly positionals: readonly [{
|
|
1654
|
+
readonly name: "name";
|
|
1655
|
+
readonly min: 1;
|
|
1656
|
+
readonly max: 1;
|
|
1657
|
+
readonly value: {
|
|
1658
|
+
readonly kind: "name";
|
|
1659
|
+
};
|
|
1660
|
+
}];
|
|
1661
|
+
}];
|
|
1662
|
+
readonly constraints: readonly [];
|
|
1663
|
+
};
|
|
1664
|
+
results: import("../results.js").CommandResult[];
|
|
140
1665
|
run: (args: string[]) => Promise<void>;
|
|
141
1666
|
help: string;
|
|
142
1667
|
};
|
|
143
1668
|
};
|
|
144
1669
|
activity: {
|
|
145
1670
|
list: {
|
|
1671
|
+
summary: string;
|
|
1672
|
+
effects: {
|
|
1673
|
+
domain: "read";
|
|
1674
|
+
storage: "normal-open";
|
|
1675
|
+
};
|
|
1676
|
+
confirmation: {
|
|
1677
|
+
kind: "none";
|
|
1678
|
+
};
|
|
1679
|
+
input: {
|
|
1680
|
+
readonly options: {
|
|
1681
|
+
readonly project: {
|
|
1682
|
+
readonly type: "string";
|
|
1683
|
+
readonly value: {
|
|
1684
|
+
readonly kind: "project-key";
|
|
1685
|
+
readonly name: "project-key";
|
|
1686
|
+
};
|
|
1687
|
+
};
|
|
1688
|
+
readonly "project-id": {
|
|
1689
|
+
readonly type: "string";
|
|
1690
|
+
readonly value: {
|
|
1691
|
+
readonly kind: "project-id";
|
|
1692
|
+
readonly name: "project-id";
|
|
1693
|
+
readonly description: "Full project UUID; canonical or compact, case-insensitive";
|
|
1694
|
+
};
|
|
1695
|
+
};
|
|
1696
|
+
readonly task: {
|
|
1697
|
+
readonly type: "string";
|
|
1698
|
+
readonly value: {
|
|
1699
|
+
readonly kind: "task-key";
|
|
1700
|
+
readonly name: "task-key";
|
|
1701
|
+
};
|
|
1702
|
+
};
|
|
1703
|
+
readonly "task-id": {
|
|
1704
|
+
readonly type: "string";
|
|
1705
|
+
readonly value: {
|
|
1706
|
+
readonly kind: "task-id";
|
|
1707
|
+
readonly name: "task-id";
|
|
1708
|
+
readonly description: "Full task UUID; canonical or compact, case-insensitive";
|
|
1709
|
+
};
|
|
1710
|
+
};
|
|
1711
|
+
readonly "show-deleted": {
|
|
1712
|
+
readonly type: "boolean";
|
|
1713
|
+
};
|
|
1714
|
+
readonly session: {
|
|
1715
|
+
readonly type: "string";
|
|
1716
|
+
readonly value: {
|
|
1717
|
+
readonly kind: "text";
|
|
1718
|
+
readonly name: "id";
|
|
1719
|
+
};
|
|
1720
|
+
};
|
|
1721
|
+
readonly thread: {
|
|
1722
|
+
readonly type: "string";
|
|
1723
|
+
readonly value: {
|
|
1724
|
+
readonly kind: "text";
|
|
1725
|
+
readonly name: "id";
|
|
1726
|
+
};
|
|
1727
|
+
};
|
|
1728
|
+
readonly limit: {
|
|
1729
|
+
readonly type: "string";
|
|
1730
|
+
readonly value: {
|
|
1731
|
+
readonly kind: "positive-integer";
|
|
1732
|
+
readonly name: "n";
|
|
1733
|
+
readonly pattern: "^[1-9]\\d{0,14}\\d?$";
|
|
1734
|
+
};
|
|
1735
|
+
};
|
|
1736
|
+
};
|
|
1737
|
+
readonly forms: readonly [{
|
|
1738
|
+
readonly id: "default";
|
|
1739
|
+
readonly positionals: readonly [];
|
|
1740
|
+
}];
|
|
1741
|
+
readonly constraints: readonly [{
|
|
1742
|
+
readonly kind: "exclusive";
|
|
1743
|
+
readonly members: readonly ["option:project", "option:project-id", "option:task", "option:task-id"];
|
|
1744
|
+
}, {
|
|
1745
|
+
readonly kind: "requiresAny";
|
|
1746
|
+
readonly input: "option:show-deleted";
|
|
1747
|
+
readonly members: readonly ["option:project", "option:task"];
|
|
1748
|
+
}];
|
|
1749
|
+
};
|
|
1750
|
+
results: import("../results.js").CommandResult[];
|
|
146
1751
|
run: (args: string[]) => void;
|
|
147
1752
|
help: string;
|
|
148
1753
|
};
|
|
149
1754
|
view: {
|
|
1755
|
+
summary: string;
|
|
1756
|
+
effects: {
|
|
1757
|
+
domain: "read";
|
|
1758
|
+
storage: "normal-open";
|
|
1759
|
+
};
|
|
1760
|
+
confirmation: {
|
|
1761
|
+
kind: "none";
|
|
1762
|
+
};
|
|
1763
|
+
input: {
|
|
1764
|
+
readonly options: {};
|
|
1765
|
+
readonly forms: readonly [{
|
|
1766
|
+
readonly id: "default";
|
|
1767
|
+
readonly positionals: readonly [{
|
|
1768
|
+
readonly name: "activity-id";
|
|
1769
|
+
readonly min: 1;
|
|
1770
|
+
readonly max: 1;
|
|
1771
|
+
readonly value: {
|
|
1772
|
+
readonly kind: "activity-id";
|
|
1773
|
+
};
|
|
1774
|
+
}];
|
|
1775
|
+
}];
|
|
1776
|
+
readonly constraints: readonly [];
|
|
1777
|
+
};
|
|
1778
|
+
results: import("../results.js").CommandResult[];
|
|
150
1779
|
run: (args: string[]) => void;
|
|
151
1780
|
help: string;
|
|
152
1781
|
};
|
|
153
1782
|
};
|
|
154
1783
|
backup: {
|
|
1784
|
+
summary: string;
|
|
1785
|
+
effects: {
|
|
1786
|
+
domain: "none";
|
|
1787
|
+
storage: "backup";
|
|
1788
|
+
};
|
|
1789
|
+
confirmation: {
|
|
1790
|
+
kind: "none";
|
|
1791
|
+
};
|
|
1792
|
+
input: {
|
|
1793
|
+
readonly options: {};
|
|
1794
|
+
readonly forms: readonly [{
|
|
1795
|
+
readonly id: "default";
|
|
1796
|
+
readonly positionals: readonly [];
|
|
1797
|
+
}];
|
|
1798
|
+
readonly constraints: readonly [];
|
|
1799
|
+
};
|
|
1800
|
+
results: import("../results.js").CommandResult[];
|
|
155
1801
|
run: (args: string[]) => void;
|
|
156
1802
|
help: string;
|
|
157
1803
|
};
|
|
158
1804
|
restore: {
|
|
1805
|
+
summary: string;
|
|
1806
|
+
effects: {
|
|
1807
|
+
domain: "replace";
|
|
1808
|
+
storage: "restore";
|
|
1809
|
+
};
|
|
1810
|
+
confirmation: {
|
|
1811
|
+
kind: "prompt";
|
|
1812
|
+
description: string;
|
|
1813
|
+
};
|
|
1814
|
+
input: {
|
|
1815
|
+
readonly options: {
|
|
1816
|
+
readonly yes: {
|
|
1817
|
+
readonly type: "boolean";
|
|
1818
|
+
};
|
|
1819
|
+
};
|
|
1820
|
+
readonly forms: readonly [{
|
|
1821
|
+
readonly id: "default";
|
|
1822
|
+
readonly positionals: readonly [{
|
|
1823
|
+
readonly name: "path";
|
|
1824
|
+
readonly min: 1;
|
|
1825
|
+
readonly max: 1;
|
|
1826
|
+
readonly value: {
|
|
1827
|
+
readonly kind: "path";
|
|
1828
|
+
};
|
|
1829
|
+
}];
|
|
1830
|
+
}];
|
|
1831
|
+
readonly constraints: readonly [];
|
|
1832
|
+
};
|
|
1833
|
+
results: import("../results.js").CommandResult[];
|
|
159
1834
|
run: (args: string[]) => Promise<void>;
|
|
160
1835
|
help: string;
|
|
161
1836
|
};
|
|
162
1837
|
migrate: {
|
|
1838
|
+
summary: string;
|
|
1839
|
+
effects: {
|
|
1840
|
+
domain: "none";
|
|
1841
|
+
storage: "migrate";
|
|
1842
|
+
};
|
|
1843
|
+
confirmation: {
|
|
1844
|
+
kind: "none";
|
|
1845
|
+
};
|
|
1846
|
+
input: {
|
|
1847
|
+
readonly options: {};
|
|
1848
|
+
readonly forms: readonly [{
|
|
1849
|
+
readonly id: "default";
|
|
1850
|
+
readonly positionals: readonly [];
|
|
1851
|
+
}];
|
|
1852
|
+
readonly constraints: readonly [];
|
|
1853
|
+
};
|
|
1854
|
+
results: import("../results.js").CommandResult[];
|
|
163
1855
|
run: (args: string[]) => void;
|
|
164
1856
|
help: string;
|
|
165
1857
|
};
|
|
166
1858
|
reindex: {
|
|
1859
|
+
summary: string;
|
|
1860
|
+
effects: {
|
|
1861
|
+
domain: "none";
|
|
1862
|
+
storage: "reindex";
|
|
1863
|
+
};
|
|
1864
|
+
confirmation: {
|
|
1865
|
+
kind: "none";
|
|
1866
|
+
};
|
|
1867
|
+
input: {
|
|
1868
|
+
readonly options: {};
|
|
1869
|
+
readonly forms: readonly [{
|
|
1870
|
+
readonly id: "default";
|
|
1871
|
+
readonly positionals: readonly [];
|
|
1872
|
+
}];
|
|
1873
|
+
readonly constraints: readonly [];
|
|
1874
|
+
};
|
|
1875
|
+
results: import("../results.js").CommandResult[];
|
|
1876
|
+
run: (args: string[]) => void;
|
|
1877
|
+
help: string;
|
|
1878
|
+
};
|
|
1879
|
+
info: {
|
|
1880
|
+
summary: string;
|
|
1881
|
+
effects: {
|
|
1882
|
+
domain: "none";
|
|
1883
|
+
storage: "inspect";
|
|
1884
|
+
};
|
|
1885
|
+
confirmation: {
|
|
1886
|
+
kind: "none";
|
|
1887
|
+
};
|
|
1888
|
+
input: {
|
|
1889
|
+
readonly options: {};
|
|
1890
|
+
readonly forms: readonly [{
|
|
1891
|
+
readonly id: "default";
|
|
1892
|
+
readonly positionals: readonly [];
|
|
1893
|
+
}];
|
|
1894
|
+
readonly constraints: readonly [];
|
|
1895
|
+
};
|
|
1896
|
+
results: import("../results.js").CommandResult[];
|
|
167
1897
|
run: (args: string[]) => void;
|
|
168
1898
|
help: string;
|
|
169
1899
|
};
|
|
1900
|
+
whoami: {
|
|
1901
|
+
summary: string;
|
|
1902
|
+
effects: {
|
|
1903
|
+
domain: "none";
|
|
1904
|
+
storage: "none";
|
|
1905
|
+
};
|
|
1906
|
+
confirmation: {
|
|
1907
|
+
kind: "none";
|
|
1908
|
+
};
|
|
1909
|
+
input: {
|
|
1910
|
+
readonly options: {};
|
|
1911
|
+
readonly forms: readonly [{
|
|
1912
|
+
readonly id: "default";
|
|
1913
|
+
readonly positionals: readonly [];
|
|
1914
|
+
}];
|
|
1915
|
+
readonly constraints: readonly [];
|
|
1916
|
+
};
|
|
1917
|
+
results: import("../results.js").CommandResult[];
|
|
1918
|
+
run: (args: string[]) => void;
|
|
1919
|
+
help: string;
|
|
1920
|
+
};
|
|
1921
|
+
capabilities: {
|
|
1922
|
+
summary: string;
|
|
1923
|
+
effects: {
|
|
1924
|
+
domain: "none";
|
|
1925
|
+
storage: "none";
|
|
1926
|
+
};
|
|
1927
|
+
confirmation: {
|
|
1928
|
+
kind: "none";
|
|
1929
|
+
};
|
|
1930
|
+
input: {
|
|
1931
|
+
readonly options: {};
|
|
1932
|
+
readonly forms: readonly [{
|
|
1933
|
+
readonly id: "default";
|
|
1934
|
+
readonly positionals: readonly [];
|
|
1935
|
+
}];
|
|
1936
|
+
readonly constraints: readonly [];
|
|
1937
|
+
};
|
|
1938
|
+
results: import("../results.js").CommandResult[];
|
|
1939
|
+
run: (args: string[]) => Promise<void>;
|
|
1940
|
+
help: string;
|
|
1941
|
+
};
|
|
170
1942
|
};
|
|
1943
|
+
export declare const parsedRoutes: import("../types.js").ParsedRoute[];
|