tuturuuu 0.3.5 → 0.3.8

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.
@@ -0,0 +1,385 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getGlobalHelp = getGlobalHelp;
4
+ exports.getHelpOutput = getHelpOutput;
5
+ const helpTopics = {
6
+ boards: {
7
+ commands: [
8
+ 'list list boards in the current workspace',
9
+ 'use [id] select a board',
10
+ 'create [name] create a board',
11
+ 'update [id] --json-payload update board fields',
12
+ 'delete [id] delete a board',
13
+ ],
14
+ description: 'Boards are resolved in the selected workspace. Omit an id in a TTY to pick with the keyboard.',
15
+ examples: ['ttr boards', 'ttr boards use', 'ttr boards create "Roadmap"'],
16
+ options: [
17
+ '--workspace, --ws <id> override the selected workspace',
18
+ '--json print machine-readable JSON',
19
+ ],
20
+ usage: 'ttr boards [list|use|create|update|delete] [id] [options]',
21
+ },
22
+ config: {
23
+ commands: [
24
+ 'set-base-url <url> target a local or staging web origin',
25
+ ],
26
+ examples: ['ttr config set-base-url http://localhost:7803'],
27
+ usage: 'ttr config set-base-url <url>',
28
+ },
29
+ labels: {
30
+ commands: [
31
+ 'list list labels',
32
+ 'use [id] select a label',
33
+ 'create create a label',
34
+ ],
35
+ examples: [
36
+ 'ttr labels',
37
+ 'ttr labels use',
38
+ 'ttr labels create --name Bug --color red',
39
+ ],
40
+ options: [
41
+ '--name <name> label name for create',
42
+ '--color <color> label color for create',
43
+ '--workspace, --ws <id> override the selected workspace',
44
+ '--json print machine-readable JSON',
45
+ ],
46
+ usage: 'ttr labels [list|use|create] [options]',
47
+ },
48
+ lists: {
49
+ commands: [
50
+ 'list list task lists for a board',
51
+ 'use [id] select a task list',
52
+ 'create [name] create a task list',
53
+ 'update [id] --json-payload update task list fields',
54
+ ],
55
+ description: 'Task lists require a board. Use --board, a selected board, or the interactive board picker.',
56
+ examples: [
57
+ 'ttr lists',
58
+ 'ttr lists use --board <board-id>',
59
+ 'ttr lists create "Done" --status done',
60
+ ],
61
+ options: [
62
+ '--board <id> board id',
63
+ '--name <name> list name for create',
64
+ '--status <status> list status for create',
65
+ '--color <color> list color for create',
66
+ '--workspace, --ws <id> override the selected workspace',
67
+ '--json print machine-readable JSON',
68
+ ],
69
+ usage: 'ttr lists [list|use|create|update] [id] [options]',
70
+ },
71
+ login: {
72
+ description: 'Creates a dedicated Tuturuuu CLI session. Use --copy when a browser callback is not available.',
73
+ examples: [
74
+ 'ttr login',
75
+ 'ttr login --copy',
76
+ 'ttr login --token <cli-token> --base-url http://localhost:7803',
77
+ ],
78
+ options: [
79
+ '--copy print a login URL and read the copied token from stdin',
80
+ '--token <token> exchange an existing short-lived CLI token',
81
+ '--base-url <url> login against another Tuturuuu origin',
82
+ ],
83
+ usage: 'ttr login [--copy] [--token <token>] [--base-url <url>]',
84
+ },
85
+ logout: {
86
+ description: 'Clears the saved Tuturuuu CLI session and selected context.',
87
+ examples: ['ttr logout'],
88
+ usage: 'ttr logout',
89
+ },
90
+ upgrade: {
91
+ description: 'Upgrades the globally installed Tuturuuu CLI package with Bun.',
92
+ examples: ['ttr upgrade'],
93
+ usage: 'ttr upgrade',
94
+ },
95
+ projects: {
96
+ commands: [
97
+ 'list list projects',
98
+ 'use [id] select a project',
99
+ 'create create a project',
100
+ 'get [id] show project details',
101
+ 'tasks [id] list project tasks',
102
+ ],
103
+ examples: [
104
+ 'ttr projects',
105
+ 'ttr projects create --name Launch',
106
+ 'ttr projects tasks',
107
+ ],
108
+ options: [
109
+ '--name <name> project name for create',
110
+ '--description <text> project description for create',
111
+ '--workspace, --ws <id> override the selected workspace',
112
+ '--json print machine-readable JSON',
113
+ ],
114
+ usage: 'ttr projects [list|use|create|get|tasks] [id] [options]',
115
+ },
116
+ relationships: {
117
+ commands: [
118
+ 'list [task-id] list task relationships',
119
+ 'create [task-id] create a relationship from JSON payload',
120
+ 'delete [task-id] delete a relationship from JSON payload',
121
+ ],
122
+ examples: [
123
+ 'ttr relationships <task-id>',
124
+ 'ttr relationships create <task-id> --json-payload \'{"target_task_id":"...","type":"blocks"}\'',
125
+ ],
126
+ options: [
127
+ '--task <id> task id when omitted positionally',
128
+ '--json-payload <json> relationship mutation payload',
129
+ '--workspace, --ws <id> override the selected workspace',
130
+ '--json print machine-readable JSON',
131
+ ],
132
+ usage: 'ttr relationships [list|create|delete] [task-id] [options]',
133
+ },
134
+ tasks: {
135
+ commands: [
136
+ 'list list open tasks by default',
137
+ 'use [id] select a task',
138
+ 'get [id] show task details',
139
+ 'create [name] create a task',
140
+ 'update [id] --json-payload update task fields',
141
+ 'done [id] mark a task as done',
142
+ 'close [id] mark a task as closed',
143
+ 'delete [id] delete a task',
144
+ 'move [id] move a task to another list or board',
145
+ 'bulk --ids <ids> run a bulk task operation',
146
+ ],
147
+ description: 'Task lists are sorted by priority and due date. Use task UUIDs or board identifiers like VHP-12 for task CRUD. Omit ids in a TTY to choose with the keyboard.',
148
+ examples: [
149
+ 'ttr tasks',
150
+ 'ttr tasks --compact',
151
+ 'ttr tasks create "Add Tuturuuu CLI"',
152
+ 'ttr tasks done VHP-12',
153
+ 'ttr tasks close <task-id>',
154
+ 'ttr tasks update VHP-12 --json-payload \'{"completed":true}\'',
155
+ 'ttr tasks move <task-id> --list <done-list-id>',
156
+ ],
157
+ options: [
158
+ '--all include done and closed tasks',
159
+ '--done, --completed show completed tasks',
160
+ '--closed show closed tasks',
161
+ '--include-done include completed tasks in default lists',
162
+ '--include-closed include closed tasks in default lists',
163
+ '--compact show title, task list, and workspace only',
164
+ '--board <id> filter by board or choose source board',
165
+ '--list <id> filter by list or choose target list',
166
+ '--limit <n>, --offset <n> paginate list output',
167
+ '--q <query> search task text',
168
+ '--json print machine-readable JSON',
169
+ ],
170
+ usage: 'ttr tasks [list|use|get|create|update|delete|move|bulk] [id] [options]',
171
+ },
172
+ whoami: {
173
+ description: 'Shows login state, account email, current workspace, selected ids, base URL, and config path.',
174
+ examples: ['ttr whoami', 'ttr whoami --json'],
175
+ options: ['--json print machine-readable JSON'],
176
+ usage: 'ttr whoami [--json]',
177
+ },
178
+ workspaces: {
179
+ commands: [
180
+ 'list list available workspaces',
181
+ 'use [id] select a workspace',
182
+ ],
183
+ description: 'The personal workspace is selected by default. Omit an id to pick with the keyboard.',
184
+ examples: [
185
+ 'ttr workspaces',
186
+ 'ttr workspaces use',
187
+ 'ttr workspaces use personal',
188
+ ],
189
+ options: ['--json print machine-readable JSON'],
190
+ usage: 'ttr workspaces [list|use] [id] [options]',
191
+ },
192
+ };
193
+ const actionHelpTopics = {
194
+ tasks: {
195
+ bulk: {
196
+ examples: [
197
+ 'ttr tasks bulk --ids id-1,id-2 --json-payload \'{"type":"archive"}\'',
198
+ ],
199
+ options: [
200
+ '--ids <ids> comma-separated task ids',
201
+ '--json-payload <json> bulk operation payload',
202
+ '--json print machine-readable JSON',
203
+ ],
204
+ usage: 'ttr tasks bulk --ids <ids> --json-payload <json>',
205
+ },
206
+ create: {
207
+ examples: [
208
+ 'ttr tasks create "Add Tuturuuu CLI"',
209
+ 'ttr tasks create --list <list-id> --name "Write release notes"',
210
+ 'ttr tasks create "Fix login" --priority critical --labels bug,cli',
211
+ ],
212
+ options: [
213
+ '--name <name> task title; positional text is also accepted',
214
+ '--list <id> destination list; omitted means selected list or picker',
215
+ '--board <id> board used when choosing a list',
216
+ '--priority <priority> task priority',
217
+ '--start-date <iso> start date',
218
+ '--end-date <iso> due date',
219
+ '--labels <ids> comma-separated label ids',
220
+ '--projects <ids> comma-separated project ids',
221
+ '--assignees <ids> comma-separated assignee ids',
222
+ ],
223
+ usage: 'ttr tasks create [name] [options]',
224
+ },
225
+ close: {
226
+ description: 'Marks a task closed with closed_at. When no --list is provided, the CLI uses the first closed list on the task board when available.',
227
+ examples: [
228
+ 'ttr tasks close',
229
+ 'ttr tasks close VHP-12',
230
+ 'ttr tasks close <task-id> --list <closed-list-id>',
231
+ ],
232
+ options: [
233
+ '--list <id>, --list-id <id> closed destination list override',
234
+ '--board <id> board used when finding the default closed list',
235
+ '--json-payload <json> optional extra task update fields',
236
+ '--json print machine-readable JSON',
237
+ ],
238
+ usage: 'ttr tasks close [task-id] [options]',
239
+ },
240
+ done: {
241
+ description: 'Marks a task done with completed_at. When no --list is provided, the CLI uses the first done list on the task board when available.',
242
+ examples: [
243
+ 'ttr tasks done',
244
+ 'ttr tasks done VHP-12',
245
+ 'ttr tasks done <task-id> --list <done-list-id>',
246
+ ],
247
+ options: [
248
+ '--list <id>, --list-id <id> done destination list override',
249
+ '--board <id> board used when finding the default done list',
250
+ '--json-payload <json> optional extra task update fields',
251
+ '--json print machine-readable JSON',
252
+ ],
253
+ usage: 'ttr tasks done [task-id] [options]',
254
+ },
255
+ list: {
256
+ examples: [
257
+ 'ttr tasks',
258
+ 'ttr tasks --compact',
259
+ 'ttr tasks --board <board-id> --limit 20',
260
+ 'ttr tasks --json --no-update-check',
261
+ ],
262
+ options: helpTopics.tasks?.options ?? [],
263
+ usage: 'ttr tasks [list] [options]',
264
+ },
265
+ move: {
266
+ examples: [
267
+ 'ttr tasks move',
268
+ 'ttr tasks move VHP-12 --list <list-id>',
269
+ 'ttr tasks move <task-id> --target-board <board-id> --list <list-id>',
270
+ ],
271
+ options: [
272
+ '--list <id> target list; omitted means picker',
273
+ '--target-board <id> target board when moving across boards',
274
+ '--board <id> source board or fallback target board',
275
+ '--json print machine-readable JSON',
276
+ ],
277
+ usage: 'ttr tasks move [task-id] [options]',
278
+ },
279
+ update: {
280
+ examples: [
281
+ 'ttr tasks update',
282
+ 'ttr tasks update VHP-12 --json-payload \'{"name":"New title"}\'',
283
+ 'ttr tasks update <task-id> --json-payload \'{"completed":true}\'',
284
+ 'ttr tasks update <task-id> --list <done-list-id> --json-payload \'{"completed":true}\'',
285
+ ],
286
+ options: [
287
+ '--json-payload <json> task update payload',
288
+ '--list <id>, --list-id <id> also set list_id in the update payload',
289
+ '--json print machine-readable JSON',
290
+ ],
291
+ usage: 'ttr tasks update [task-id] --json-payload <json> [options]',
292
+ },
293
+ },
294
+ };
295
+ function formatHelp(topic, heading) {
296
+ return [
297
+ heading,
298
+ '',
299
+ topic.description,
300
+ '',
301
+ `Usage: ${topic.usage}`,
302
+ topic.commands?.length
303
+ ? ['', 'Commands:', ...topic.commands.map((line) => ` ${line}`)]
304
+ : [],
305
+ topic.options?.length
306
+ ? ['', 'Options:', ...topic.options.map((line) => ` ${line}`)]
307
+ : [],
308
+ topic.examples?.length
309
+ ? ['', 'Examples:', ...topic.examples.map((line) => ` ${line}`)]
310
+ : [],
311
+ ]
312
+ .flat()
313
+ .filter((line) => line !== undefined)
314
+ .join('\n')
315
+ .replace(/\n{3,}/gu, '\n\n');
316
+ }
317
+ function getGlobalHelp() {
318
+ return `${[
319
+ 'Tuturuuu CLI',
320
+ '',
321
+ 'Usage: ttr <command> [options]',
322
+ '',
323
+ 'Commands:',
324
+ ' login [--copy] [--token <token>] [--base-url <url>]',
325
+ ' logout',
326
+ ' upgrade',
327
+ ' whoami',
328
+ ' config set-base-url <url>',
329
+ ' workspaces [list]|use [id]',
330
+ ' boards [list]|use|create|update|delete',
331
+ ' lists [list]|use|create|update --board <id>',
332
+ ' tasks [list]|use|get|create|update|done|close|delete|move|bulk',
333
+ ' labels [list]|use|create',
334
+ ' projects [list]|use|create|get|tasks',
335
+ ' relationships [list]|create|delete <task-id>',
336
+ '',
337
+ 'Selection:',
338
+ ' Omit an id on use/get/update/delete/move to pick with up/down/space/enter.',
339
+ ' The personal workspace is selected by default.',
340
+ '',
341
+ 'Task list filters:',
342
+ ' tasks open tasks only',
343
+ ' tasks --all include done and closed tasks',
344
+ ' tasks --done completed tasks',
345
+ ' tasks --closed closed tasks',
346
+ ' tasks --compact title, list, and workspace only',
347
+ '',
348
+ 'Scoped help:',
349
+ ' ttr tasks --help',
350
+ ' ttr tasks create --help',
351
+ ' ttr help workspaces',
352
+ '',
353
+ 'Global options:',
354
+ ' -h, --help print help',
355
+ ' -v, --version print the CLI version',
356
+ ].join('\n')}\n`;
357
+ }
358
+ function normalizeHelpAction(group, action) {
359
+ if (group !== 'tasks') {
360
+ return action;
361
+ }
362
+ if (['complete', 'completed', 'mark-done'].includes(action || '')) {
363
+ return 'done';
364
+ }
365
+ if (['archive', 'closed', 'mark-closed'].includes(action || '')) {
366
+ return 'close';
367
+ }
368
+ return action;
369
+ }
370
+ function getHelpOutput(group, action) {
371
+ if (!group) {
372
+ return getGlobalHelp();
373
+ }
374
+ const normalizedAction = normalizeHelpAction(group, action);
375
+ const actionTopic = actionHelpTopics[group]?.[normalizedAction || ''];
376
+ if (actionTopic) {
377
+ return `${formatHelp(actionTopic, `ttr ${group} ${normalizedAction}`)}\n`;
378
+ }
379
+ const topic = helpTopics[group];
380
+ if (topic) {
381
+ return `${formatHelp(topic, `ttr ${group}`)}\n`;
382
+ }
383
+ return `${getGlobalHelp()}Unknown help topic: ${group}\n`;
384
+ }
385
+ //# sourceMappingURL=help.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"help.js","sourceRoot":"","sources":["../../src/cli/help.ts"],"names":[],"mappings":";;AA6UA,sCAwCC;AAkBD,sCAiBC;AAhZD,MAAM,UAAU,GAA8B;IAC5C,MAAM,EAAE;QACN,QAAQ,EAAE;YACR,mEAAmE;YACnE,6CAA6C;YAC7C,6CAA6C;YAC7C,kDAAkD;YAClD,6CAA6C;SAC9C;QACD,WAAW,EACT,+FAA+F;QACjG,QAAQ,EAAE,CAAC,YAAY,EAAE,gBAAgB,EAAE,6BAA6B,CAAC;QACzE,OAAO,EAAE;YACP,+DAA+D;YAC/D,0DAA0D;SAC3D;QACD,KAAK,EAAE,2DAA2D;KACnE;IACD,MAAM,EAAE;QACN,QAAQ,EAAE;YACR,mEAAmE;SACpE;QACD,QAAQ,EAAE,CAAC,+CAA+C,CAAC;QAC3D,KAAK,EAAE,+BAA+B;KACvC;IACD,MAAM,EAAE;QACN,QAAQ,EAAE;YACR,0CAA0C;YAC1C,6CAA6C;YAC7C,6CAA6C;SAC9C;Q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G,mBAAmB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IAC5D,MAAM,WAAW,GAAG,gBAAgB,CAAC,KAAK,CAAC,EAAE,CAAC,gBAAgB,IAAI,EAAE,CAAC,CAAC;IACtE,IAAI,WAAW,EAAE,CAAC;QAChB,OAAO,GAAG,UAAU,CAAC,WAAW,EAAE,OAAO,KAAK,IAAI,gBAAgB,EAAE,CAAC,IAAI,CAAC;IAC5E,CAAC;IAED,MAAM,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;IAChC,IAAI,KAAK,EAAE,CAAC;QACV,OAAO,GAAG,UAAU,CAAC,KAAK,EAAE,OAAO,KAAK,EAAE,CAAC,IAAI,CAAC;IAClD,CAAC;IAED,OAAO,GAAG,aAAa,EAAE,uBAAuB,KAAK,IAAI,CAAC;AAC5D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../../src/cli/render.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,aAAa;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAwFD,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,EAAE,aAE/C;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,OAAO,WAInD;AAqKD,wBAAgB,YAAY,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,UAAQ,QA8BvD;AAED,wBAAgB,MAAM,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,GAAE,aAAkB,QAmChE"}
1
+ {"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../../src/cli/render.ts"],"names":[],"mappings":"AAWA,MAAM,WAAW,aAAa;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AA8UD,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,EAAE,aAE/C;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,OAAO,WAInD;AAqYD,wBAAgB,YAAY,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,UAAQ,QAkCvD;AAED,wBAAgB,MAAM,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,GAAE,aAAkB,QAmChE"}