linear-cli-agents 0.2.1 → 0.4.1

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.
Files changed (79) hide show
  1. package/README.md +166 -3
  2. package/bin/dev.js +0 -0
  3. package/dist/commands/comments/add.d.ts +13 -0
  4. package/dist/commands/comments/add.js +89 -0
  5. package/dist/commands/comments/delete.d.ts +12 -0
  6. package/dist/commands/comments/delete.js +50 -0
  7. package/dist/commands/comments/list.d.ts +14 -0
  8. package/dist/commands/comments/list.js +103 -0
  9. package/dist/commands/comments/update.d.ts +13 -0
  10. package/dist/commands/comments/update.js +81 -0
  11. package/dist/commands/issues/add-labels.d.ts +13 -0
  12. package/dist/commands/issues/add-labels.js +90 -0
  13. package/dist/commands/issues/archive.d.ts +13 -0
  14. package/dist/commands/issues/archive.js +83 -0
  15. package/dist/commands/issues/remove-labels.d.ts +13 -0
  16. package/dist/commands/issues/remove-labels.js +90 -0
  17. package/dist/commands/labels/create.d.ts +14 -0
  18. package/dist/commands/labels/create.js +102 -0
  19. package/dist/commands/labels/delete.d.ts +12 -0
  20. package/dist/commands/labels/delete.js +50 -0
  21. package/dist/commands/labels/list.d.ts +12 -0
  22. package/dist/commands/labels/list.js +117 -0
  23. package/dist/commands/labels/update.d.ts +16 -0
  24. package/dist/commands/labels/update.js +109 -0
  25. package/dist/commands/me.js +1 -5
  26. package/dist/commands/milestones/create.d.ts +15 -0
  27. package/dist/commands/milestones/create.js +90 -0
  28. package/dist/commands/milestones/get.d.ts +12 -0
  29. package/dist/commands/milestones/get.js +74 -0
  30. package/dist/commands/milestones/list.d.ts +14 -0
  31. package/dist/commands/milestones/list.js +97 -0
  32. package/dist/commands/milestones/update.d.ts +15 -0
  33. package/dist/commands/milestones/update.js +94 -0
  34. package/dist/commands/project-updates/create.d.ts +14 -0
  35. package/dist/commands/project-updates/create.js +96 -0
  36. package/dist/commands/project-updates/get.d.ts +12 -0
  37. package/dist/commands/project-updates/get.js +80 -0
  38. package/dist/commands/project-updates/list.d.ts +14 -0
  39. package/dist/commands/project-updates/list.js +120 -0
  40. package/dist/commands/project-updates/update.d.ts +14 -0
  41. package/dist/commands/project-updates/update.js +96 -0
  42. package/dist/commands/projects/archive.d.ts +13 -0
  43. package/dist/commands/projects/archive.js +79 -0
  44. package/dist/commands/projects/create.d.ts +16 -0
  45. package/dist/commands/projects/create.js +115 -0
  46. package/dist/commands/projects/delete.d.ts +12 -0
  47. package/dist/commands/projects/delete.js +50 -0
  48. package/dist/commands/projects/get.d.ts +12 -0
  49. package/dist/commands/projects/get.js +102 -0
  50. package/dist/commands/projects/list.d.ts +13 -0
  51. package/dist/commands/projects/list.js +141 -0
  52. package/dist/commands/projects/update.d.ts +18 -0
  53. package/dist/commands/projects/update.js +125 -0
  54. package/dist/commands/relations/create.d.ts +14 -0
  55. package/dist/commands/relations/create.js +98 -0
  56. package/dist/commands/relations/delete.d.ts +12 -0
  57. package/dist/commands/relations/delete.js +47 -0
  58. package/dist/commands/relations/list.d.ts +12 -0
  59. package/dist/commands/relations/list.js +128 -0
  60. package/dist/commands/search.d.ts +15 -0
  61. package/dist/commands/search.js +102 -0
  62. package/dist/commands/states/list.d.ts +12 -0
  63. package/dist/commands/states/list.js +151 -0
  64. package/dist/commands/teams/list.js +1 -1
  65. package/dist/commands/templates/create.d.ts +14 -0
  66. package/dist/commands/templates/create.js +102 -0
  67. package/dist/commands/templates/get.d.ts +12 -0
  68. package/dist/commands/templates/get.js +84 -0
  69. package/dist/commands/templates/list.d.ts +12 -0
  70. package/dist/commands/templates/list.js +110 -0
  71. package/dist/commands/templates/update.d.ts +15 -0
  72. package/dist/commands/templates/update.js +101 -0
  73. package/dist/commands/users/get.d.ts +12 -0
  74. package/dist/commands/users/get.js +91 -0
  75. package/dist/commands/users/list.d.ts +12 -0
  76. package/dist/commands/users/list.js +99 -0
  77. package/dist/lib/config.js +1 -1
  78. package/oclif.manifest.json +2402 -189
  79. package/package.json +47 -17
@@ -219,6 +219,75 @@
219
219
  "schema.js"
220
220
  ]
221
221
  },
222
+ "search": {
223
+ "aliases": [],
224
+ "args": {
225
+ "query": {
226
+ "description": "Search query",
227
+ "name": "query",
228
+ "required": true
229
+ }
230
+ },
231
+ "description": "Search issues by text query",
232
+ "examples": [
233
+ "<%= config.bin %> search \"bug login\"",
234
+ "<%= config.bin %> search \"SSO\" --team ENG",
235
+ "<%= config.bin %> search \"authentication\" --format table"
236
+ ],
237
+ "flags": {
238
+ "format": {
239
+ "char": "F",
240
+ "description": "Output format",
241
+ "name": "format",
242
+ "default": "json",
243
+ "hasDynamicHelp": false,
244
+ "multiple": false,
245
+ "options": [
246
+ "json",
247
+ "table",
248
+ "plain"
249
+ ],
250
+ "type": "option"
251
+ },
252
+ "team": {
253
+ "char": "t",
254
+ "description": "Filter by team key (e.g., ENG)",
255
+ "name": "team",
256
+ "hasDynamicHelp": false,
257
+ "multiple": false,
258
+ "type": "option"
259
+ },
260
+ "first": {
261
+ "description": "Number of results to fetch (default: 20)",
262
+ "name": "first",
263
+ "default": 20,
264
+ "hasDynamicHelp": false,
265
+ "multiple": false,
266
+ "type": "option"
267
+ },
268
+ "after": {
269
+ "description": "Cursor for pagination",
270
+ "name": "after",
271
+ "hasDynamicHelp": false,
272
+ "multiple": false,
273
+ "type": "option"
274
+ }
275
+ },
276
+ "hasDynamicHelp": false,
277
+ "hiddenAliases": [],
278
+ "id": "search",
279
+ "pluginAlias": "linear-cli-agents",
280
+ "pluginName": "linear-cli-agents",
281
+ "pluginType": "core",
282
+ "strict": true,
283
+ "enableJsonFlag": false,
284
+ "isESM": true,
285
+ "relativePath": [
286
+ "dist",
287
+ "commands",
288
+ "search.js"
289
+ ]
290
+ },
222
291
  "auth:login": {
223
292
  "aliases": [],
224
293
  "args": {
@@ -316,91 +385,2230 @@
316
385
  "status.js"
317
386
  ]
318
387
  },
319
- "issues:create": {
388
+ "comments:add": {
320
389
  "aliases": [],
321
- "args": {},
322
- "description": "Create a new issue",
390
+ "args": {
391
+ "issue": {
392
+ "description": "Issue ID or identifier (e.g., ENG-123)",
393
+ "name": "issue",
394
+ "required": true
395
+ }
396
+ },
397
+ "description": "Add a comment to an issue",
323
398
  "examples": [
324
- "<%= config.bin %> issues create --input '{\"title\":\"Bug fix\",\"teamId\":\"xxx\"}'",
325
- "<%= config.bin %> issues create --title \"New feature\" --team-id xxx",
326
- "<%= config.bin %> issues create --title \"Task\" --team-id xxx --description \"Details here\" --priority 2"
399
+ "<%= config.bin %> comments add ENG-123 --body \"This is a comment\"",
400
+ "<%= config.bin %> comments add ENG-123 --body \"Looks good!\" --format table"
327
401
  ],
328
402
  "flags": {
329
- "input": {
330
- "char": "i",
331
- "description": "JSON input object (IssueCreateInput)",
332
- "exclusive": [
333
- "title"
334
- ],
335
- "name": "input",
403
+ "format": {
404
+ "char": "F",
405
+ "description": "Output format",
406
+ "name": "format",
407
+ "default": "json",
336
408
  "hasDynamicHelp": false,
337
409
  "multiple": false,
410
+ "options": [
411
+ "json",
412
+ "table",
413
+ "plain"
414
+ ],
338
415
  "type": "option"
339
416
  },
340
- "title": {
341
- "description": "Issue title",
342
- "exclusive": [
343
- "input"
417
+ "body": {
418
+ "char": "b",
419
+ "description": "Comment body (supports markdown)",
420
+ "name": "body",
421
+ "required": true,
422
+ "hasDynamicHelp": false,
423
+ "multiple": false,
424
+ "type": "option"
425
+ }
426
+ },
427
+ "hasDynamicHelp": false,
428
+ "hiddenAliases": [],
429
+ "id": "comments:add",
430
+ "pluginAlias": "linear-cli-agents",
431
+ "pluginName": "linear-cli-agents",
432
+ "pluginType": "core",
433
+ "strict": true,
434
+ "enableJsonFlag": false,
435
+ "isESM": true,
436
+ "relativePath": [
437
+ "dist",
438
+ "commands",
439
+ "comments",
440
+ "add.js"
441
+ ]
442
+ },
443
+ "comments:delete": {
444
+ "aliases": [],
445
+ "args": {
446
+ "id": {
447
+ "description": "Comment ID",
448
+ "name": "id",
449
+ "required": true
450
+ }
451
+ },
452
+ "description": "Delete a comment",
453
+ "examples": [
454
+ "<%= config.bin %> comments delete COMMENT_ID"
455
+ ],
456
+ "flags": {
457
+ "format": {
458
+ "char": "F",
459
+ "description": "Output format",
460
+ "name": "format",
461
+ "default": "json",
462
+ "hasDynamicHelp": false,
463
+ "multiple": false,
464
+ "options": [
465
+ "json",
466
+ "table",
467
+ "plain"
344
468
  ],
345
- "name": "title",
469
+ "type": "option"
470
+ }
471
+ },
472
+ "hasDynamicHelp": false,
473
+ "hiddenAliases": [],
474
+ "id": "comments:delete",
475
+ "pluginAlias": "linear-cli-agents",
476
+ "pluginName": "linear-cli-agents",
477
+ "pluginType": "core",
478
+ "strict": true,
479
+ "enableJsonFlag": false,
480
+ "isESM": true,
481
+ "relativePath": [
482
+ "dist",
483
+ "commands",
484
+ "comments",
485
+ "delete.js"
486
+ ]
487
+ },
488
+ "comments:list": {
489
+ "aliases": [],
490
+ "args": {
491
+ "issue": {
492
+ "description": "Issue ID or identifier (e.g., ENG-123)",
493
+ "name": "issue",
494
+ "required": true
495
+ }
496
+ },
497
+ "description": "List comments on an issue",
498
+ "examples": [
499
+ "<%= config.bin %> comments list ENG-123",
500
+ "<%= config.bin %> comments list ENG-123 --format table"
501
+ ],
502
+ "flags": {
503
+ "format": {
504
+ "char": "F",
505
+ "description": "Output format",
506
+ "name": "format",
507
+ "default": "json",
346
508
  "hasDynamicHelp": false,
347
509
  "multiple": false,
510
+ "options": [
511
+ "json",
512
+ "table",
513
+ "plain"
514
+ ],
348
515
  "type": "option"
349
516
  },
350
- "team-id": {
351
- "description": "Team ID",
352
- "name": "team-id",
517
+ "first": {
518
+ "description": "Number of comments to fetch (default: 50)",
519
+ "name": "first",
520
+ "default": 50,
353
521
  "hasDynamicHelp": false,
354
522
  "multiple": false,
355
523
  "type": "option"
356
524
  },
357
- "description": {
358
- "char": "d",
359
- "description": "Issue description (markdown supported)",
360
- "name": "description",
525
+ "after": {
526
+ "description": "Cursor for pagination",
527
+ "name": "after",
361
528
  "hasDynamicHelp": false,
362
529
  "multiple": false,
363
530
  "type": "option"
364
- },
365
- "priority": {
366
- "char": "p",
367
- "description": "Priority (0=none, 1=urgent, 2=high, 3=medium, 4=low)",
368
- "name": "priority",
531
+ }
532
+ },
533
+ "hasDynamicHelp": false,
534
+ "hiddenAliases": [],
535
+ "id": "comments:list",
536
+ "pluginAlias": "linear-cli-agents",
537
+ "pluginName": "linear-cli-agents",
538
+ "pluginType": "core",
539
+ "strict": true,
540
+ "enableJsonFlag": false,
541
+ "isESM": true,
542
+ "relativePath": [
543
+ "dist",
544
+ "commands",
545
+ "comments",
546
+ "list.js"
547
+ ]
548
+ },
549
+ "comments:update": {
550
+ "aliases": [],
551
+ "args": {
552
+ "id": {
553
+ "description": "Comment ID",
554
+ "name": "id",
555
+ "required": true
556
+ }
557
+ },
558
+ "description": "Update a comment",
559
+ "examples": [
560
+ "<%= config.bin %> comments update COMMENT_ID --body \"Updated comment text\""
561
+ ],
562
+ "flags": {
563
+ "format": {
564
+ "char": "F",
565
+ "description": "Output format",
566
+ "name": "format",
567
+ "default": "json",
369
568
  "hasDynamicHelp": false,
370
569
  "multiple": false,
570
+ "options": [
571
+ "json",
572
+ "table",
573
+ "plain"
574
+ ],
371
575
  "type": "option"
372
576
  },
373
- "assignee-id": {
374
- "description": "Assignee user ID",
375
- "name": "assignee-id",
577
+ "body": {
578
+ "char": "b",
579
+ "description": "Comment body (supports markdown)",
580
+ "name": "body",
581
+ "required": true,
376
582
  "hasDynamicHelp": false,
377
583
  "multiple": false,
378
584
  "type": "option"
379
- },
380
- "state-id": {
381
- "description": "State ID",
382
- "name": "state-id",
585
+ }
586
+ },
587
+ "hasDynamicHelp": false,
588
+ "hiddenAliases": [],
589
+ "id": "comments:update",
590
+ "pluginAlias": "linear-cli-agents",
591
+ "pluginName": "linear-cli-agents",
592
+ "pluginType": "core",
593
+ "strict": true,
594
+ "enableJsonFlag": false,
595
+ "isESM": true,
596
+ "relativePath": [
597
+ "dist",
598
+ "commands",
599
+ "comments",
600
+ "update.js"
601
+ ]
602
+ },
603
+ "labels:create": {
604
+ "aliases": [],
605
+ "args": {},
606
+ "description": "Create a label",
607
+ "examples": [
608
+ "<%= config.bin %> labels create --name \"Bug\" --color \"#FF0000\"",
609
+ "<%= config.bin %> labels create --name \"Feature\" --color \"#00FF00\" --description \"New feature requests\"",
610
+ "<%= config.bin %> labels create --name \"Backend\" --color \"#0000FF\" --team-id TEAM_ID",
611
+ "<%= config.bin %> labels create --name \"API\" --color \"#FF00FF\" --parent-id PARENT_LABEL_ID"
612
+ ],
613
+ "flags": {
614
+ "format": {
615
+ "char": "F",
616
+ "description": "Output format",
617
+ "name": "format",
618
+ "default": "json",
619
+ "hasDynamicHelp": false,
620
+ "multiple": false,
621
+ "options": [
622
+ "json",
623
+ "table",
624
+ "plain"
625
+ ],
626
+ "type": "option"
627
+ },
628
+ "name": {
629
+ "char": "n",
630
+ "description": "Label name",
631
+ "name": "name",
632
+ "required": true,
633
+ "hasDynamicHelp": false,
634
+ "multiple": false,
635
+ "type": "option"
636
+ },
637
+ "color": {
638
+ "char": "c",
639
+ "description": "Label color (hex, e.g., #FF0000)",
640
+ "name": "color",
641
+ "required": true,
642
+ "hasDynamicHelp": false,
643
+ "multiple": false,
644
+ "type": "option"
645
+ },
646
+ "description": {
647
+ "char": "d",
648
+ "description": "Label description",
649
+ "name": "description",
650
+ "hasDynamicHelp": false,
651
+ "multiple": false,
652
+ "type": "option"
653
+ },
654
+ "team-id": {
655
+ "description": "Team ID (for team-specific labels)",
656
+ "name": "team-id",
657
+ "hasDynamicHelp": false,
658
+ "multiple": false,
659
+ "type": "option"
660
+ },
661
+ "parent-id": {
662
+ "description": "Parent label ID (for nested labels)",
663
+ "name": "parent-id",
664
+ "hasDynamicHelp": false,
665
+ "multiple": false,
666
+ "type": "option"
667
+ }
668
+ },
669
+ "hasDynamicHelp": false,
670
+ "hiddenAliases": [],
671
+ "id": "labels:create",
672
+ "pluginAlias": "linear-cli-agents",
673
+ "pluginName": "linear-cli-agents",
674
+ "pluginType": "core",
675
+ "strict": true,
676
+ "enableJsonFlag": false,
677
+ "isESM": true,
678
+ "relativePath": [
679
+ "dist",
680
+ "commands",
681
+ "labels",
682
+ "create.js"
683
+ ]
684
+ },
685
+ "labels:delete": {
686
+ "aliases": [],
687
+ "args": {
688
+ "id": {
689
+ "description": "Label ID",
690
+ "name": "id",
691
+ "required": true
692
+ }
693
+ },
694
+ "description": "Delete a label",
695
+ "examples": [
696
+ "<%= config.bin %> labels delete LABEL_ID"
697
+ ],
698
+ "flags": {
699
+ "format": {
700
+ "char": "F",
701
+ "description": "Output format",
702
+ "name": "format",
703
+ "default": "json",
704
+ "hasDynamicHelp": false,
705
+ "multiple": false,
706
+ "options": [
707
+ "json",
708
+ "table",
709
+ "plain"
710
+ ],
711
+ "type": "option"
712
+ }
713
+ },
714
+ "hasDynamicHelp": false,
715
+ "hiddenAliases": [],
716
+ "id": "labels:delete",
717
+ "pluginAlias": "linear-cli-agents",
718
+ "pluginName": "linear-cli-agents",
719
+ "pluginType": "core",
720
+ "strict": true,
721
+ "enableJsonFlag": false,
722
+ "isESM": true,
723
+ "relativePath": [
724
+ "dist",
725
+ "commands",
726
+ "labels",
727
+ "delete.js"
728
+ ]
729
+ },
730
+ "labels:list": {
731
+ "aliases": [],
732
+ "args": {},
733
+ "description": "List labels in the workspace",
734
+ "examples": [
735
+ "<%= config.bin %> labels list",
736
+ "<%= config.bin %> labels list --format table",
737
+ "<%= config.bin %> labels list --team ENG"
738
+ ],
739
+ "flags": {
740
+ "format": {
741
+ "char": "F",
742
+ "description": "Output format",
743
+ "name": "format",
744
+ "default": "json",
745
+ "hasDynamicHelp": false,
746
+ "multiple": false,
747
+ "options": [
748
+ "json",
749
+ "table",
750
+ "plain"
751
+ ],
752
+ "type": "option"
753
+ },
754
+ "team": {
755
+ "char": "t",
756
+ "description": "Filter by team key (e.g., ENG)",
757
+ "name": "team",
758
+ "hasDynamicHelp": false,
759
+ "multiple": false,
760
+ "type": "option"
761
+ },
762
+ "first": {
763
+ "description": "Number of labels to fetch (default: 100)",
764
+ "name": "first",
765
+ "default": 100,
766
+ "hasDynamicHelp": false,
767
+ "multiple": false,
768
+ "type": "option"
769
+ },
770
+ "after": {
771
+ "description": "Cursor for pagination",
772
+ "name": "after",
773
+ "hasDynamicHelp": false,
774
+ "multiple": false,
775
+ "type": "option"
776
+ }
777
+ },
778
+ "hasDynamicHelp": false,
779
+ "hiddenAliases": [],
780
+ "id": "labels:list",
781
+ "pluginAlias": "linear-cli-agents",
782
+ "pluginName": "linear-cli-agents",
783
+ "pluginType": "core",
784
+ "strict": true,
785
+ "enableJsonFlag": false,
786
+ "isESM": true,
787
+ "relativePath": [
788
+ "dist",
789
+ "commands",
790
+ "labels",
791
+ "list.js"
792
+ ]
793
+ },
794
+ "labels:update": {
795
+ "aliases": [],
796
+ "args": {
797
+ "id": {
798
+ "description": "Label ID",
799
+ "name": "id",
800
+ "required": true
801
+ }
802
+ },
803
+ "description": "Update a label",
804
+ "examples": [
805
+ "<%= config.bin %> labels update LABEL_ID --name \"Updated Name\"",
806
+ "<%= config.bin %> labels update LABEL_ID --color \"#00FF00\"",
807
+ "<%= config.bin %> labels update LABEL_ID --description \"New description\""
808
+ ],
809
+ "flags": {
810
+ "format": {
811
+ "char": "F",
812
+ "description": "Output format",
813
+ "name": "format",
814
+ "default": "json",
815
+ "hasDynamicHelp": false,
816
+ "multiple": false,
817
+ "options": [
818
+ "json",
819
+ "table",
820
+ "plain"
821
+ ],
822
+ "type": "option"
823
+ },
824
+ "name": {
825
+ "char": "n",
826
+ "description": "Label name",
827
+ "name": "name",
828
+ "hasDynamicHelp": false,
829
+ "multiple": false,
830
+ "type": "option"
831
+ },
832
+ "color": {
833
+ "char": "c",
834
+ "description": "Label color (hex, e.g., #FF0000)",
835
+ "name": "color",
836
+ "hasDynamicHelp": false,
837
+ "multiple": false,
838
+ "type": "option"
839
+ },
840
+ "description": {
841
+ "char": "d",
842
+ "description": "Label description",
843
+ "name": "description",
844
+ "hasDynamicHelp": false,
845
+ "multiple": false,
846
+ "type": "option"
847
+ },
848
+ "parent-id": {
849
+ "description": "Parent label ID",
850
+ "name": "parent-id",
851
+ "hasDynamicHelp": false,
852
+ "multiple": false,
853
+ "type": "option"
854
+ }
855
+ },
856
+ "hasDynamicHelp": false,
857
+ "hiddenAliases": [],
858
+ "id": "labels:update",
859
+ "pluginAlias": "linear-cli-agents",
860
+ "pluginName": "linear-cli-agents",
861
+ "pluginType": "core",
862
+ "strict": true,
863
+ "enableJsonFlag": false,
864
+ "isESM": true,
865
+ "relativePath": [
866
+ "dist",
867
+ "commands",
868
+ "labels",
869
+ "update.js"
870
+ ]
871
+ },
872
+ "issues:add-labels": {
873
+ "aliases": [],
874
+ "args": {
875
+ "id": {
876
+ "description": "Issue ID or identifier (e.g., ENG-123)",
877
+ "name": "id",
878
+ "required": true
879
+ }
880
+ },
881
+ "description": "Add labels to an issue",
882
+ "examples": [
883
+ "<%= config.bin %> issues add-labels ENG-123 --label-ids LABEL_ID1,LABEL_ID2"
884
+ ],
885
+ "flags": {
886
+ "format": {
887
+ "char": "F",
888
+ "description": "Output format",
889
+ "name": "format",
890
+ "default": "json",
891
+ "hasDynamicHelp": false,
892
+ "multiple": false,
893
+ "options": [
894
+ "json",
895
+ "table",
896
+ "plain"
897
+ ],
898
+ "type": "option"
899
+ },
900
+ "label-ids": {
901
+ "description": "Comma-separated label IDs to add",
902
+ "name": "label-ids",
903
+ "required": true,
904
+ "hasDynamicHelp": false,
905
+ "multiple": false,
906
+ "type": "option"
907
+ }
908
+ },
909
+ "hasDynamicHelp": false,
910
+ "hiddenAliases": [],
911
+ "id": "issues:add-labels",
912
+ "pluginAlias": "linear-cli-agents",
913
+ "pluginName": "linear-cli-agents",
914
+ "pluginType": "core",
915
+ "strict": true,
916
+ "enableJsonFlag": false,
917
+ "isESM": true,
918
+ "relativePath": [
919
+ "dist",
920
+ "commands",
921
+ "issues",
922
+ "add-labels.js"
923
+ ]
924
+ },
925
+ "issues:archive": {
926
+ "aliases": [],
927
+ "args": {
928
+ "id": {
929
+ "description": "Issue ID or identifier (e.g., ENG-123)",
930
+ "name": "id",
931
+ "required": true
932
+ }
933
+ },
934
+ "description": "Archive an issue",
935
+ "examples": [
936
+ "<%= config.bin %> issues archive ENG-123",
937
+ "<%= config.bin %> issues archive ENG-123 --unarchive"
938
+ ],
939
+ "flags": {
940
+ "format": {
941
+ "char": "F",
942
+ "description": "Output format",
943
+ "name": "format",
944
+ "default": "json",
945
+ "hasDynamicHelp": false,
946
+ "multiple": false,
947
+ "options": [
948
+ "json",
949
+ "table",
950
+ "plain"
951
+ ],
952
+ "type": "option"
953
+ },
954
+ "unarchive": {
955
+ "char": "u",
956
+ "description": "Unarchive instead of archive",
957
+ "name": "unarchive",
958
+ "allowNo": false,
959
+ "type": "boolean"
960
+ }
961
+ },
962
+ "hasDynamicHelp": false,
963
+ "hiddenAliases": [],
964
+ "id": "issues:archive",
965
+ "pluginAlias": "linear-cli-agents",
966
+ "pluginName": "linear-cli-agents",
967
+ "pluginType": "core",
968
+ "strict": true,
969
+ "enableJsonFlag": false,
970
+ "isESM": true,
971
+ "relativePath": [
972
+ "dist",
973
+ "commands",
974
+ "issues",
975
+ "archive.js"
976
+ ]
977
+ },
978
+ "issues:create": {
979
+ "aliases": [],
980
+ "args": {},
981
+ "description": "Create a new issue",
982
+ "examples": [
983
+ "<%= config.bin %> issues create --input '{\"title\":\"Bug fix\",\"teamId\":\"xxx\"}'",
984
+ "<%= config.bin %> issues create --title \"New feature\" --team-id xxx",
985
+ "<%= config.bin %> issues create --title \"Task\" --team-id xxx --description \"Details here\" --priority 2"
986
+ ],
987
+ "flags": {
988
+ "input": {
989
+ "char": "i",
990
+ "description": "JSON input object (IssueCreateInput)",
991
+ "exclusive": [
992
+ "title"
993
+ ],
994
+ "name": "input",
995
+ "hasDynamicHelp": false,
996
+ "multiple": false,
997
+ "type": "option"
998
+ },
999
+ "title": {
1000
+ "description": "Issue title",
1001
+ "exclusive": [
1002
+ "input"
1003
+ ],
1004
+ "name": "title",
1005
+ "hasDynamicHelp": false,
1006
+ "multiple": false,
1007
+ "type": "option"
1008
+ },
1009
+ "team-id": {
1010
+ "description": "Team ID",
1011
+ "name": "team-id",
1012
+ "hasDynamicHelp": false,
1013
+ "multiple": false,
1014
+ "type": "option"
1015
+ },
1016
+ "description": {
1017
+ "char": "d",
1018
+ "description": "Issue description (markdown supported)",
1019
+ "name": "description",
1020
+ "hasDynamicHelp": false,
1021
+ "multiple": false,
1022
+ "type": "option"
1023
+ },
1024
+ "priority": {
1025
+ "char": "p",
1026
+ "description": "Priority (0=none, 1=urgent, 2=high, 3=medium, 4=low)",
1027
+ "name": "priority",
1028
+ "hasDynamicHelp": false,
1029
+ "multiple": false,
1030
+ "type": "option"
1031
+ },
1032
+ "assignee-id": {
1033
+ "description": "Assignee user ID",
1034
+ "name": "assignee-id",
1035
+ "hasDynamicHelp": false,
1036
+ "multiple": false,
1037
+ "type": "option"
1038
+ },
1039
+ "state-id": {
1040
+ "description": "State ID",
1041
+ "name": "state-id",
1042
+ "hasDynamicHelp": false,
1043
+ "multiple": false,
1044
+ "type": "option"
1045
+ },
1046
+ "project-id": {
1047
+ "description": "Project ID",
1048
+ "name": "project-id",
1049
+ "hasDynamicHelp": false,
1050
+ "multiple": false,
1051
+ "type": "option"
1052
+ },
1053
+ "estimate": {
1054
+ "description": "Estimate points",
1055
+ "name": "estimate",
1056
+ "hasDynamicHelp": false,
1057
+ "multiple": false,
1058
+ "type": "option"
1059
+ },
1060
+ "label-ids": {
1061
+ "description": "Comma-separated label IDs",
1062
+ "name": "label-ids",
1063
+ "hasDynamicHelp": false,
1064
+ "multiple": false,
1065
+ "type": "option"
1066
+ }
1067
+ },
1068
+ "hasDynamicHelp": false,
1069
+ "hiddenAliases": [],
1070
+ "id": "issues:create",
1071
+ "pluginAlias": "linear-cli-agents",
1072
+ "pluginName": "linear-cli-agents",
1073
+ "pluginType": "core",
1074
+ "strict": true,
1075
+ "enableJsonFlag": false,
1076
+ "isESM": true,
1077
+ "relativePath": [
1078
+ "dist",
1079
+ "commands",
1080
+ "issues",
1081
+ "create.js"
1082
+ ]
1083
+ },
1084
+ "issues:delete": {
1085
+ "aliases": [],
1086
+ "args": {
1087
+ "id": {
1088
+ "description": "Issue ID or identifier (e.g., ENG-123)",
1089
+ "name": "id",
1090
+ "required": true
1091
+ }
1092
+ },
1093
+ "description": "Delete an issue (moves to trash)",
1094
+ "examples": [
1095
+ "<%= config.bin %> issues delete abc123",
1096
+ "<%= config.bin %> issues delete ENG-123",
1097
+ "<%= config.bin %> issues delete ENG-123 --permanent"
1098
+ ],
1099
+ "flags": {
1100
+ "permanent": {
1101
+ "description": "Permanently delete (cannot be undone)",
1102
+ "name": "permanent",
1103
+ "allowNo": false,
1104
+ "type": "boolean"
1105
+ }
1106
+ },
1107
+ "hasDynamicHelp": false,
1108
+ "hiddenAliases": [],
1109
+ "id": "issues:delete",
1110
+ "pluginAlias": "linear-cli-agents",
1111
+ "pluginName": "linear-cli-agents",
1112
+ "pluginType": "core",
1113
+ "strict": true,
1114
+ "enableJsonFlag": false,
1115
+ "isESM": true,
1116
+ "relativePath": [
1117
+ "dist",
1118
+ "commands",
1119
+ "issues",
1120
+ "delete.js"
1121
+ ]
1122
+ },
1123
+ "issues:get": {
1124
+ "aliases": [],
1125
+ "args": {
1126
+ "id": {
1127
+ "description": "Issue ID or identifier (e.g., ENG-123)",
1128
+ "name": "id",
1129
+ "required": true
1130
+ }
1131
+ },
1132
+ "description": "Get a single issue by ID or identifier",
1133
+ "examples": [
1134
+ "<%= config.bin %> issues get ENG-123",
1135
+ "<%= config.bin %> issues get ENG-123 --format table",
1136
+ "<%= config.bin %> issues get abc123"
1137
+ ],
1138
+ "flags": {
1139
+ "format": {
1140
+ "char": "F",
1141
+ "description": "Output format",
1142
+ "name": "format",
1143
+ "default": "json",
1144
+ "hasDynamicHelp": false,
1145
+ "multiple": false,
1146
+ "options": [
1147
+ "json",
1148
+ "table",
1149
+ "plain"
1150
+ ],
1151
+ "type": "option"
1152
+ }
1153
+ },
1154
+ "hasDynamicHelp": false,
1155
+ "hiddenAliases": [],
1156
+ "id": "issues:get",
1157
+ "pluginAlias": "linear-cli-agents",
1158
+ "pluginName": "linear-cli-agents",
1159
+ "pluginType": "core",
1160
+ "strict": true,
1161
+ "enableJsonFlag": false,
1162
+ "isESM": true,
1163
+ "relativePath": [
1164
+ "dist",
1165
+ "commands",
1166
+ "issues",
1167
+ "get.js"
1168
+ ]
1169
+ },
1170
+ "issues:list": {
1171
+ "aliases": [],
1172
+ "args": {},
1173
+ "description": "List issues with optional filtering",
1174
+ "examples": [
1175
+ "<%= config.bin %> issues list",
1176
+ "<%= config.bin %> issues list --format table",
1177
+ "<%= config.bin %> issues list --team ENG",
1178
+ "<%= config.bin %> issues list --assignee me",
1179
+ "<%= config.bin %> issues list --filter '{\"state\":{\"name\":{\"eq\":\"In Progress\"}}}'",
1180
+ "<%= config.bin %> issues list --first 50 --after cursor123"
1181
+ ],
1182
+ "flags": {
1183
+ "format": {
1184
+ "char": "F",
1185
+ "description": "Output format",
1186
+ "name": "format",
1187
+ "default": "json",
1188
+ "hasDynamicHelp": false,
1189
+ "multiple": false,
1190
+ "options": [
1191
+ "json",
1192
+ "table",
1193
+ "plain"
1194
+ ],
1195
+ "type": "option"
1196
+ },
1197
+ "team": {
1198
+ "char": "t",
1199
+ "description": "Filter by team key (e.g., ENG)",
1200
+ "name": "team",
1201
+ "hasDynamicHelp": false,
1202
+ "multiple": false,
1203
+ "type": "option"
1204
+ },
1205
+ "assignee": {
1206
+ "char": "a",
1207
+ "description": "Filter by assignee (use \"me\" for current user)",
1208
+ "name": "assignee",
1209
+ "hasDynamicHelp": false,
1210
+ "multiple": false,
1211
+ "type": "option"
1212
+ },
1213
+ "state": {
1214
+ "char": "s",
1215
+ "description": "Filter by state name (e.g., \"In Progress\")",
1216
+ "name": "state",
1217
+ "hasDynamicHelp": false,
1218
+ "multiple": false,
1219
+ "type": "option"
1220
+ },
1221
+ "filter": {
1222
+ "char": "f",
1223
+ "description": "JSON filter object (IssueFilter from Linear SDK)",
1224
+ "name": "filter",
1225
+ "hasDynamicHelp": false,
1226
+ "multiple": false,
1227
+ "type": "option"
1228
+ },
1229
+ "first": {
1230
+ "description": "Number of issues to fetch (default: 50)",
1231
+ "name": "first",
1232
+ "default": 50,
1233
+ "hasDynamicHelp": false,
1234
+ "multiple": false,
1235
+ "type": "option"
1236
+ },
1237
+ "after": {
1238
+ "description": "Cursor for pagination",
1239
+ "name": "after",
1240
+ "hasDynamicHelp": false,
1241
+ "multiple": false,
1242
+ "type": "option"
1243
+ }
1244
+ },
1245
+ "hasDynamicHelp": false,
1246
+ "hiddenAliases": [],
1247
+ "id": "issues:list",
1248
+ "pluginAlias": "linear-cli-agents",
1249
+ "pluginName": "linear-cli-agents",
1250
+ "pluginType": "core",
1251
+ "strict": true,
1252
+ "enableJsonFlag": false,
1253
+ "isESM": true,
1254
+ "relativePath": [
1255
+ "dist",
1256
+ "commands",
1257
+ "issues",
1258
+ "list.js"
1259
+ ]
1260
+ },
1261
+ "issues:remove-labels": {
1262
+ "aliases": [],
1263
+ "args": {
1264
+ "id": {
1265
+ "description": "Issue ID or identifier (e.g., ENG-123)",
1266
+ "name": "id",
1267
+ "required": true
1268
+ }
1269
+ },
1270
+ "description": "Remove labels from an issue",
1271
+ "examples": [
1272
+ "<%= config.bin %> issues remove-labels ENG-123 --label-ids LABEL_ID1,LABEL_ID2"
1273
+ ],
1274
+ "flags": {
1275
+ "format": {
1276
+ "char": "F",
1277
+ "description": "Output format",
1278
+ "name": "format",
1279
+ "default": "json",
1280
+ "hasDynamicHelp": false,
1281
+ "multiple": false,
1282
+ "options": [
1283
+ "json",
1284
+ "table",
1285
+ "plain"
1286
+ ],
1287
+ "type": "option"
1288
+ },
1289
+ "label-ids": {
1290
+ "description": "Comma-separated label IDs to remove",
1291
+ "name": "label-ids",
1292
+ "required": true,
1293
+ "hasDynamicHelp": false,
1294
+ "multiple": false,
1295
+ "type": "option"
1296
+ }
1297
+ },
1298
+ "hasDynamicHelp": false,
1299
+ "hiddenAliases": [],
1300
+ "id": "issues:remove-labels",
1301
+ "pluginAlias": "linear-cli-agents",
1302
+ "pluginName": "linear-cli-agents",
1303
+ "pluginType": "core",
1304
+ "strict": true,
1305
+ "enableJsonFlag": false,
1306
+ "isESM": true,
1307
+ "relativePath": [
1308
+ "dist",
1309
+ "commands",
1310
+ "issues",
1311
+ "remove-labels.js"
1312
+ ]
1313
+ },
1314
+ "issues:update": {
1315
+ "aliases": [],
1316
+ "args": {
1317
+ "id": {
1318
+ "description": "Issue ID or identifier (e.g., ENG-123)",
1319
+ "name": "id",
1320
+ "required": true
1321
+ }
1322
+ },
1323
+ "description": "Update an existing issue",
1324
+ "examples": [
1325
+ "<%= config.bin %> issues update abc123 --input '{\"title\":\"Updated title\"}'",
1326
+ "<%= config.bin %> issues update ENG-123 --title \"New title\"",
1327
+ "<%= config.bin %> issues update ENG-123 --state-id xxx --assignee-id yyy"
1328
+ ],
1329
+ "flags": {
1330
+ "input": {
1331
+ "char": "i",
1332
+ "description": "JSON input object (IssueUpdateInput)",
1333
+ "exclusive": [
1334
+ "title",
1335
+ "description",
1336
+ "priority",
1337
+ "assignee-id",
1338
+ "state-id"
1339
+ ],
1340
+ "name": "input",
1341
+ "hasDynamicHelp": false,
1342
+ "multiple": false,
1343
+ "type": "option"
1344
+ },
1345
+ "title": {
1346
+ "description": "Issue title",
1347
+ "name": "title",
1348
+ "hasDynamicHelp": false,
1349
+ "multiple": false,
1350
+ "type": "option"
1351
+ },
1352
+ "description": {
1353
+ "char": "d",
1354
+ "description": "Issue description (markdown supported)",
1355
+ "name": "description",
1356
+ "hasDynamicHelp": false,
1357
+ "multiple": false,
1358
+ "type": "option"
1359
+ },
1360
+ "priority": {
1361
+ "char": "p",
1362
+ "description": "Priority (0=none, 1=urgent, 2=high, 3=medium, 4=low)",
1363
+ "name": "priority",
1364
+ "hasDynamicHelp": false,
1365
+ "multiple": false,
1366
+ "type": "option"
1367
+ },
1368
+ "assignee-id": {
1369
+ "description": "Assignee user ID (use empty string to unassign)",
1370
+ "name": "assignee-id",
1371
+ "hasDynamicHelp": false,
1372
+ "multiple": false,
1373
+ "type": "option"
1374
+ },
1375
+ "state-id": {
1376
+ "description": "State ID",
1377
+ "name": "state-id",
1378
+ "hasDynamicHelp": false,
1379
+ "multiple": false,
1380
+ "type": "option"
1381
+ },
1382
+ "project-id": {
1383
+ "description": "Project ID",
1384
+ "name": "project-id",
1385
+ "hasDynamicHelp": false,
1386
+ "multiple": false,
1387
+ "type": "option"
1388
+ },
1389
+ "estimate": {
1390
+ "description": "Estimate points",
1391
+ "name": "estimate",
1392
+ "hasDynamicHelp": false,
1393
+ "multiple": false,
1394
+ "type": "option"
1395
+ },
1396
+ "label-ids": {
1397
+ "description": "Comma-separated label IDs (replaces existing labels)",
1398
+ "name": "label-ids",
1399
+ "hasDynamicHelp": false,
1400
+ "multiple": false,
1401
+ "type": "option"
1402
+ }
1403
+ },
1404
+ "hasDynamicHelp": false,
1405
+ "hiddenAliases": [],
1406
+ "id": "issues:update",
1407
+ "pluginAlias": "linear-cli-agents",
1408
+ "pluginName": "linear-cli-agents",
1409
+ "pluginType": "core",
1410
+ "strict": true,
1411
+ "enableJsonFlag": false,
1412
+ "isESM": true,
1413
+ "relativePath": [
1414
+ "dist",
1415
+ "commands",
1416
+ "issues",
1417
+ "update.js"
1418
+ ]
1419
+ },
1420
+ "milestones:create": {
1421
+ "aliases": [],
1422
+ "args": {
1423
+ "projectId": {
1424
+ "description": "Project ID",
1425
+ "name": "projectId",
1426
+ "required": true
1427
+ }
1428
+ },
1429
+ "description": "Create a project milestone",
1430
+ "examples": [
1431
+ "<%= config.bin %> milestones create PROJECT_ID --name \"Beta Release\"",
1432
+ "<%= config.bin %> milestones create PROJECT_ID --name \"Launch\" --target-date 2024-03-01"
1433
+ ],
1434
+ "flags": {
1435
+ "format": {
1436
+ "char": "F",
1437
+ "description": "Output format",
1438
+ "name": "format",
1439
+ "default": "json",
1440
+ "hasDynamicHelp": false,
1441
+ "multiple": false,
1442
+ "options": [
1443
+ "json",
1444
+ "table",
1445
+ "plain"
1446
+ ],
1447
+ "type": "option"
1448
+ },
1449
+ "name": {
1450
+ "char": "n",
1451
+ "description": "Milestone name",
1452
+ "name": "name",
1453
+ "required": true,
1454
+ "hasDynamicHelp": false,
1455
+ "multiple": false,
1456
+ "type": "option"
1457
+ },
1458
+ "description": {
1459
+ "char": "d",
1460
+ "description": "Milestone description",
1461
+ "name": "description",
1462
+ "hasDynamicHelp": false,
1463
+ "multiple": false,
1464
+ "type": "option"
1465
+ },
1466
+ "target-date": {
1467
+ "description": "Target date (YYYY-MM-DD)",
1468
+ "name": "target-date",
1469
+ "hasDynamicHelp": false,
1470
+ "multiple": false,
1471
+ "type": "option"
1472
+ }
1473
+ },
1474
+ "hasDynamicHelp": false,
1475
+ "hiddenAliases": [],
1476
+ "id": "milestones:create",
1477
+ "pluginAlias": "linear-cli-agents",
1478
+ "pluginName": "linear-cli-agents",
1479
+ "pluginType": "core",
1480
+ "strict": true,
1481
+ "enableJsonFlag": false,
1482
+ "isESM": true,
1483
+ "relativePath": [
1484
+ "dist",
1485
+ "commands",
1486
+ "milestones",
1487
+ "create.js"
1488
+ ]
1489
+ },
1490
+ "milestones:get": {
1491
+ "aliases": [],
1492
+ "args": {
1493
+ "id": {
1494
+ "description": "Milestone ID",
1495
+ "name": "id",
1496
+ "required": true
1497
+ }
1498
+ },
1499
+ "description": "Get a project milestone by ID",
1500
+ "examples": [
1501
+ "<%= config.bin %> milestones get MILESTONE_ID",
1502
+ "<%= config.bin %> milestones get MILESTONE_ID --format table"
1503
+ ],
1504
+ "flags": {
1505
+ "format": {
1506
+ "char": "F",
1507
+ "description": "Output format",
1508
+ "name": "format",
1509
+ "default": "json",
1510
+ "hasDynamicHelp": false,
1511
+ "multiple": false,
1512
+ "options": [
1513
+ "json",
1514
+ "table",
1515
+ "plain"
1516
+ ],
1517
+ "type": "option"
1518
+ }
1519
+ },
1520
+ "hasDynamicHelp": false,
1521
+ "hiddenAliases": [],
1522
+ "id": "milestones:get",
1523
+ "pluginAlias": "linear-cli-agents",
1524
+ "pluginName": "linear-cli-agents",
1525
+ "pluginType": "core",
1526
+ "strict": true,
1527
+ "enableJsonFlag": false,
1528
+ "isESM": true,
1529
+ "relativePath": [
1530
+ "dist",
1531
+ "commands",
1532
+ "milestones",
1533
+ "get.js"
1534
+ ]
1535
+ },
1536
+ "milestones:list": {
1537
+ "aliases": [],
1538
+ "args": {
1539
+ "projectId": {
1540
+ "description": "Project ID",
1541
+ "name": "projectId",
1542
+ "required": true
1543
+ }
1544
+ },
1545
+ "description": "List project milestones",
1546
+ "examples": [
1547
+ "<%= config.bin %> milestones list PROJECT_ID",
1548
+ "<%= config.bin %> milestones list PROJECT_ID --format table"
1549
+ ],
1550
+ "flags": {
1551
+ "format": {
1552
+ "char": "F",
1553
+ "description": "Output format",
1554
+ "name": "format",
1555
+ "default": "json",
1556
+ "hasDynamicHelp": false,
1557
+ "multiple": false,
1558
+ "options": [
1559
+ "json",
1560
+ "table",
1561
+ "plain"
1562
+ ],
1563
+ "type": "option"
1564
+ },
1565
+ "first": {
1566
+ "description": "Number of milestones to fetch (default: 50)",
1567
+ "name": "first",
1568
+ "default": 50,
1569
+ "hasDynamicHelp": false,
1570
+ "multiple": false,
1571
+ "type": "option"
1572
+ },
1573
+ "after": {
1574
+ "description": "Cursor for pagination",
1575
+ "name": "after",
1576
+ "hasDynamicHelp": false,
1577
+ "multiple": false,
1578
+ "type": "option"
1579
+ }
1580
+ },
1581
+ "hasDynamicHelp": false,
1582
+ "hiddenAliases": [],
1583
+ "id": "milestones:list",
1584
+ "pluginAlias": "linear-cli-agents",
1585
+ "pluginName": "linear-cli-agents",
1586
+ "pluginType": "core",
1587
+ "strict": true,
1588
+ "enableJsonFlag": false,
1589
+ "isESM": true,
1590
+ "relativePath": [
1591
+ "dist",
1592
+ "commands",
1593
+ "milestones",
1594
+ "list.js"
1595
+ ]
1596
+ },
1597
+ "milestones:update": {
1598
+ "aliases": [],
1599
+ "args": {
1600
+ "id": {
1601
+ "description": "Milestone ID",
1602
+ "name": "id",
1603
+ "required": true
1604
+ }
1605
+ },
1606
+ "description": "Update a project milestone",
1607
+ "examples": [
1608
+ "<%= config.bin %> milestones update MILESTONE_ID --name \"Updated Name\"",
1609
+ "<%= config.bin %> milestones update MILESTONE_ID --target-date 2024-06-01"
1610
+ ],
1611
+ "flags": {
1612
+ "format": {
1613
+ "char": "F",
1614
+ "description": "Output format",
1615
+ "name": "format",
1616
+ "default": "json",
1617
+ "hasDynamicHelp": false,
1618
+ "multiple": false,
1619
+ "options": [
1620
+ "json",
1621
+ "table",
1622
+ "plain"
1623
+ ],
1624
+ "type": "option"
1625
+ },
1626
+ "name": {
1627
+ "char": "n",
1628
+ "description": "Milestone name",
1629
+ "name": "name",
1630
+ "hasDynamicHelp": false,
1631
+ "multiple": false,
1632
+ "type": "option"
1633
+ },
1634
+ "description": {
1635
+ "char": "d",
1636
+ "description": "Milestone description",
1637
+ "name": "description",
1638
+ "hasDynamicHelp": false,
1639
+ "multiple": false,
1640
+ "type": "option"
1641
+ },
1642
+ "target-date": {
1643
+ "description": "Target date (YYYY-MM-DD)",
1644
+ "name": "target-date",
1645
+ "hasDynamicHelp": false,
1646
+ "multiple": false,
1647
+ "type": "option"
1648
+ }
1649
+ },
1650
+ "hasDynamicHelp": false,
1651
+ "hiddenAliases": [],
1652
+ "id": "milestones:update",
1653
+ "pluginAlias": "linear-cli-agents",
1654
+ "pluginName": "linear-cli-agents",
1655
+ "pluginType": "core",
1656
+ "strict": true,
1657
+ "enableJsonFlag": false,
1658
+ "isESM": true,
1659
+ "relativePath": [
1660
+ "dist",
1661
+ "commands",
1662
+ "milestones",
1663
+ "update.js"
1664
+ ]
1665
+ },
1666
+ "project-updates:create": {
1667
+ "aliases": [],
1668
+ "args": {
1669
+ "projectId": {
1670
+ "description": "Project ID",
1671
+ "name": "projectId",
1672
+ "required": true
1673
+ }
1674
+ },
1675
+ "description": "Create a project update",
1676
+ "examples": [
1677
+ "<%= config.bin %> project-updates create PROJECT_ID --body \"Sprint completed successfully\"",
1678
+ "<%= config.bin %> project-updates create PROJECT_ID --body \"Delayed due to dependencies\" --health atRisk"
1679
+ ],
1680
+ "flags": {
1681
+ "format": {
1682
+ "char": "F",
1683
+ "description": "Output format",
1684
+ "name": "format",
1685
+ "default": "json",
1686
+ "hasDynamicHelp": false,
1687
+ "multiple": false,
1688
+ "options": [
1689
+ "json",
1690
+ "table",
1691
+ "plain"
1692
+ ],
1693
+ "type": "option"
1694
+ },
1695
+ "body": {
1696
+ "char": "b",
1697
+ "description": "Update body (supports markdown)",
1698
+ "name": "body",
1699
+ "required": true,
1700
+ "hasDynamicHelp": false,
1701
+ "multiple": false,
1702
+ "type": "option"
1703
+ },
1704
+ "health": {
1705
+ "char": "h",
1706
+ "description": "Project health status",
1707
+ "name": "health",
1708
+ "default": "onTrack",
1709
+ "hasDynamicHelp": false,
1710
+ "multiple": false,
1711
+ "options": [
1712
+ "onTrack",
1713
+ "atRisk",
1714
+ "offTrack"
1715
+ ],
1716
+ "type": "option"
1717
+ }
1718
+ },
1719
+ "hasDynamicHelp": false,
1720
+ "hiddenAliases": [],
1721
+ "id": "project-updates:create",
1722
+ "pluginAlias": "linear-cli-agents",
1723
+ "pluginName": "linear-cli-agents",
1724
+ "pluginType": "core",
1725
+ "strict": true,
1726
+ "enableJsonFlag": false,
1727
+ "isESM": true,
1728
+ "relativePath": [
1729
+ "dist",
1730
+ "commands",
1731
+ "project-updates",
1732
+ "create.js"
1733
+ ]
1734
+ },
1735
+ "project-updates:get": {
1736
+ "aliases": [],
1737
+ "args": {
1738
+ "id": {
1739
+ "description": "Project update ID",
1740
+ "name": "id",
1741
+ "required": true
1742
+ }
1743
+ },
1744
+ "description": "Get a project update by ID",
1745
+ "examples": [
1746
+ "<%= config.bin %> project-updates get UPDATE_ID",
1747
+ "<%= config.bin %> project-updates get UPDATE_ID --format table"
1748
+ ],
1749
+ "flags": {
1750
+ "format": {
1751
+ "char": "F",
1752
+ "description": "Output format",
1753
+ "name": "format",
1754
+ "default": "json",
1755
+ "hasDynamicHelp": false,
1756
+ "multiple": false,
1757
+ "options": [
1758
+ "json",
1759
+ "table",
1760
+ "plain"
1761
+ ],
1762
+ "type": "option"
1763
+ }
1764
+ },
1765
+ "hasDynamicHelp": false,
1766
+ "hiddenAliases": [],
1767
+ "id": "project-updates:get",
1768
+ "pluginAlias": "linear-cli-agents",
1769
+ "pluginName": "linear-cli-agents",
1770
+ "pluginType": "core",
1771
+ "strict": true,
1772
+ "enableJsonFlag": false,
1773
+ "isESM": true,
1774
+ "relativePath": [
1775
+ "dist",
1776
+ "commands",
1777
+ "project-updates",
1778
+ "get.js"
1779
+ ]
1780
+ },
1781
+ "project-updates:list": {
1782
+ "aliases": [],
1783
+ "args": {
1784
+ "projectId": {
1785
+ "description": "Project ID",
1786
+ "name": "projectId",
1787
+ "required": true
1788
+ }
1789
+ },
1790
+ "description": "List project updates",
1791
+ "examples": [
1792
+ "<%= config.bin %> project-updates list PROJECT_ID",
1793
+ "<%= config.bin %> project-updates list PROJECT_ID --format table"
1794
+ ],
1795
+ "flags": {
1796
+ "format": {
1797
+ "char": "F",
1798
+ "description": "Output format",
1799
+ "name": "format",
1800
+ "default": "json",
1801
+ "hasDynamicHelp": false,
1802
+ "multiple": false,
1803
+ "options": [
1804
+ "json",
1805
+ "table",
1806
+ "plain"
1807
+ ],
1808
+ "type": "option"
1809
+ },
1810
+ "first": {
1811
+ "description": "Number of updates to fetch (default: 20)",
1812
+ "name": "first",
1813
+ "default": 20,
1814
+ "hasDynamicHelp": false,
1815
+ "multiple": false,
1816
+ "type": "option"
1817
+ },
1818
+ "after": {
1819
+ "description": "Cursor for pagination",
1820
+ "name": "after",
1821
+ "hasDynamicHelp": false,
1822
+ "multiple": false,
1823
+ "type": "option"
1824
+ }
1825
+ },
1826
+ "hasDynamicHelp": false,
1827
+ "hiddenAliases": [],
1828
+ "id": "project-updates:list",
1829
+ "pluginAlias": "linear-cli-agents",
1830
+ "pluginName": "linear-cli-agents",
1831
+ "pluginType": "core",
1832
+ "strict": true,
1833
+ "enableJsonFlag": false,
1834
+ "isESM": true,
1835
+ "relativePath": [
1836
+ "dist",
1837
+ "commands",
1838
+ "project-updates",
1839
+ "list.js"
1840
+ ]
1841
+ },
1842
+ "project-updates:update": {
1843
+ "aliases": [],
1844
+ "args": {
1845
+ "id": {
1846
+ "description": "Project update ID",
1847
+ "name": "id",
1848
+ "required": true
1849
+ }
1850
+ },
1851
+ "description": "Update a project update",
1852
+ "examples": [
1853
+ "<%= config.bin %> project-updates update UPDATE_ID --body \"Updated status\"",
1854
+ "<%= config.bin %> project-updates update UPDATE_ID --health offTrack"
1855
+ ],
1856
+ "flags": {
1857
+ "format": {
1858
+ "char": "F",
1859
+ "description": "Output format",
1860
+ "name": "format",
1861
+ "default": "json",
1862
+ "hasDynamicHelp": false,
1863
+ "multiple": false,
1864
+ "options": [
1865
+ "json",
1866
+ "table",
1867
+ "plain"
1868
+ ],
1869
+ "type": "option"
1870
+ },
1871
+ "body": {
1872
+ "char": "b",
1873
+ "description": "Update body (supports markdown)",
1874
+ "name": "body",
1875
+ "hasDynamicHelp": false,
1876
+ "multiple": false,
1877
+ "type": "option"
1878
+ },
1879
+ "health": {
1880
+ "char": "h",
1881
+ "description": "Project health status",
1882
+ "name": "health",
1883
+ "hasDynamicHelp": false,
1884
+ "multiple": false,
1885
+ "options": [
1886
+ "onTrack",
1887
+ "atRisk",
1888
+ "offTrack"
1889
+ ],
1890
+ "type": "option"
1891
+ }
1892
+ },
1893
+ "hasDynamicHelp": false,
1894
+ "hiddenAliases": [],
1895
+ "id": "project-updates:update",
1896
+ "pluginAlias": "linear-cli-agents",
1897
+ "pluginName": "linear-cli-agents",
1898
+ "pluginType": "core",
1899
+ "strict": true,
1900
+ "enableJsonFlag": false,
1901
+ "isESM": true,
1902
+ "relativePath": [
1903
+ "dist",
1904
+ "commands",
1905
+ "project-updates",
1906
+ "update.js"
1907
+ ]
1908
+ },
1909
+ "projects:archive": {
1910
+ "aliases": [],
1911
+ "args": {
1912
+ "id": {
1913
+ "description": "Project ID",
1914
+ "name": "id",
1915
+ "required": true
1916
+ }
1917
+ },
1918
+ "description": "Archive a project",
1919
+ "examples": [
1920
+ "<%= config.bin %> projects archive PROJECT_ID",
1921
+ "<%= config.bin %> projects archive PROJECT_ID --unarchive"
1922
+ ],
1923
+ "flags": {
1924
+ "format": {
1925
+ "char": "F",
1926
+ "description": "Output format",
1927
+ "name": "format",
1928
+ "default": "json",
1929
+ "hasDynamicHelp": false,
1930
+ "multiple": false,
1931
+ "options": [
1932
+ "json",
1933
+ "table",
1934
+ "plain"
1935
+ ],
1936
+ "type": "option"
1937
+ },
1938
+ "unarchive": {
1939
+ "char": "u",
1940
+ "description": "Unarchive instead of archive",
1941
+ "name": "unarchive",
1942
+ "allowNo": false,
1943
+ "type": "boolean"
1944
+ }
1945
+ },
1946
+ "hasDynamicHelp": false,
1947
+ "hiddenAliases": [],
1948
+ "id": "projects:archive",
1949
+ "pluginAlias": "linear-cli-agents",
1950
+ "pluginName": "linear-cli-agents",
1951
+ "pluginType": "core",
1952
+ "strict": true,
1953
+ "enableJsonFlag": false,
1954
+ "isESM": true,
1955
+ "relativePath": [
1956
+ "dist",
1957
+ "commands",
1958
+ "projects",
1959
+ "archive.js"
1960
+ ]
1961
+ },
1962
+ "projects:create": {
1963
+ "aliases": [],
1964
+ "args": {},
1965
+ "description": "Create a project",
1966
+ "examples": [
1967
+ "<%= config.bin %> projects create --name \"My Project\" --team-ids TEAM_ID",
1968
+ "<%= config.bin %> projects create --name \"Q1 Goals\" --description \"First quarter objectives\" --target-date 2024-03-31",
1969
+ "<%= config.bin %> projects create --name \"Feature X\" --state started --lead-id USER_ID"
1970
+ ],
1971
+ "flags": {
1972
+ "format": {
1973
+ "char": "F",
1974
+ "description": "Output format",
1975
+ "name": "format",
1976
+ "default": "json",
1977
+ "hasDynamicHelp": false,
1978
+ "multiple": false,
1979
+ "options": [
1980
+ "json",
1981
+ "table",
1982
+ "plain"
1983
+ ],
1984
+ "type": "option"
1985
+ },
1986
+ "name": {
1987
+ "char": "n",
1988
+ "description": "Project name",
1989
+ "name": "name",
1990
+ "required": true,
1991
+ "hasDynamicHelp": false,
1992
+ "multiple": false,
1993
+ "type": "option"
1994
+ },
1995
+ "description": {
1996
+ "char": "d",
1997
+ "description": "Project description",
1998
+ "name": "description",
1999
+ "hasDynamicHelp": false,
2000
+ "multiple": false,
2001
+ "type": "option"
2002
+ },
2003
+ "state": {
2004
+ "char": "s",
2005
+ "description": "Project state",
2006
+ "name": "state",
2007
+ "hasDynamicHelp": false,
2008
+ "multiple": false,
2009
+ "options": [
2010
+ "planned",
2011
+ "started",
2012
+ "paused",
2013
+ "completed",
2014
+ "canceled"
2015
+ ],
2016
+ "type": "option"
2017
+ },
2018
+ "team-ids": {
2019
+ "description": "Team IDs (comma-separated)",
2020
+ "name": "team-ids",
2021
+ "required": true,
2022
+ "hasDynamicHelp": false,
2023
+ "multiple": false,
2024
+ "type": "option"
2025
+ },
2026
+ "lead-id": {
2027
+ "description": "Lead user ID",
2028
+ "name": "lead-id",
2029
+ "hasDynamicHelp": false,
2030
+ "multiple": false,
2031
+ "type": "option"
2032
+ },
2033
+ "start-date": {
2034
+ "description": "Start date (YYYY-MM-DD)",
2035
+ "name": "start-date",
2036
+ "hasDynamicHelp": false,
2037
+ "multiple": false,
2038
+ "type": "option"
2039
+ },
2040
+ "target-date": {
2041
+ "description": "Target date (YYYY-MM-DD)",
2042
+ "name": "target-date",
2043
+ "hasDynamicHelp": false,
2044
+ "multiple": false,
2045
+ "type": "option"
2046
+ }
2047
+ },
2048
+ "hasDynamicHelp": false,
2049
+ "hiddenAliases": [],
2050
+ "id": "projects:create",
2051
+ "pluginAlias": "linear-cli-agents",
2052
+ "pluginName": "linear-cli-agents",
2053
+ "pluginType": "core",
2054
+ "strict": true,
2055
+ "enableJsonFlag": false,
2056
+ "isESM": true,
2057
+ "relativePath": [
2058
+ "dist",
2059
+ "commands",
2060
+ "projects",
2061
+ "create.js"
2062
+ ]
2063
+ },
2064
+ "projects:delete": {
2065
+ "aliases": [],
2066
+ "args": {
2067
+ "id": {
2068
+ "description": "Project ID",
2069
+ "name": "id",
2070
+ "required": true
2071
+ }
2072
+ },
2073
+ "description": "Delete a project",
2074
+ "examples": [
2075
+ "<%= config.bin %> projects delete PROJECT_ID"
2076
+ ],
2077
+ "flags": {
2078
+ "format": {
2079
+ "char": "F",
2080
+ "description": "Output format",
2081
+ "name": "format",
2082
+ "default": "json",
2083
+ "hasDynamicHelp": false,
2084
+ "multiple": false,
2085
+ "options": [
2086
+ "json",
2087
+ "table",
2088
+ "plain"
2089
+ ],
2090
+ "type": "option"
2091
+ }
2092
+ },
2093
+ "hasDynamicHelp": false,
2094
+ "hiddenAliases": [],
2095
+ "id": "projects:delete",
2096
+ "pluginAlias": "linear-cli-agents",
2097
+ "pluginName": "linear-cli-agents",
2098
+ "pluginType": "core",
2099
+ "strict": true,
2100
+ "enableJsonFlag": false,
2101
+ "isESM": true,
2102
+ "relativePath": [
2103
+ "dist",
2104
+ "commands",
2105
+ "projects",
2106
+ "delete.js"
2107
+ ]
2108
+ },
2109
+ "projects:get": {
2110
+ "aliases": [],
2111
+ "args": {
2112
+ "id": {
2113
+ "description": "Project ID",
2114
+ "name": "id",
2115
+ "required": true
2116
+ }
2117
+ },
2118
+ "description": "Get a single project by ID",
2119
+ "examples": [
2120
+ "<%= config.bin %> projects get PROJECT_ID",
2121
+ "<%= config.bin %> projects get PROJECT_ID --format table"
2122
+ ],
2123
+ "flags": {
2124
+ "format": {
2125
+ "char": "F",
2126
+ "description": "Output format",
2127
+ "name": "format",
2128
+ "default": "json",
2129
+ "hasDynamicHelp": false,
2130
+ "multiple": false,
2131
+ "options": [
2132
+ "json",
2133
+ "table",
2134
+ "plain"
2135
+ ],
2136
+ "type": "option"
2137
+ }
2138
+ },
2139
+ "hasDynamicHelp": false,
2140
+ "hiddenAliases": [],
2141
+ "id": "projects:get",
2142
+ "pluginAlias": "linear-cli-agents",
2143
+ "pluginName": "linear-cli-agents",
2144
+ "pluginType": "core",
2145
+ "strict": true,
2146
+ "enableJsonFlag": false,
2147
+ "isESM": true,
2148
+ "relativePath": [
2149
+ "dist",
2150
+ "commands",
2151
+ "projects",
2152
+ "get.js"
2153
+ ]
2154
+ },
2155
+ "projects:list": {
2156
+ "aliases": [],
2157
+ "args": {},
2158
+ "description": "List projects in the workspace",
2159
+ "examples": [
2160
+ "<%= config.bin %> projects list",
2161
+ "<%= config.bin %> projects list --format table",
2162
+ "<%= config.bin %> projects list --team ENG",
2163
+ "<%= config.bin %> projects list --state started"
2164
+ ],
2165
+ "flags": {
2166
+ "format": {
2167
+ "char": "F",
2168
+ "description": "Output format",
2169
+ "name": "format",
2170
+ "default": "json",
2171
+ "hasDynamicHelp": false,
2172
+ "multiple": false,
2173
+ "options": [
2174
+ "json",
2175
+ "table",
2176
+ "plain"
2177
+ ],
2178
+ "type": "option"
2179
+ },
2180
+ "team": {
2181
+ "char": "t",
2182
+ "description": "Filter by team key (e.g., ENG)",
2183
+ "name": "team",
2184
+ "hasDynamicHelp": false,
2185
+ "multiple": false,
2186
+ "type": "option"
2187
+ },
2188
+ "state": {
2189
+ "char": "s",
2190
+ "description": "Filter by state (planned, started, paused, completed, canceled)",
2191
+ "name": "state",
2192
+ "hasDynamicHelp": false,
2193
+ "multiple": false,
2194
+ "type": "option"
2195
+ },
2196
+ "first": {
2197
+ "description": "Number of projects to fetch (default: 50)",
2198
+ "name": "first",
2199
+ "default": 50,
2200
+ "hasDynamicHelp": false,
2201
+ "multiple": false,
2202
+ "type": "option"
2203
+ },
2204
+ "after": {
2205
+ "description": "Cursor for pagination",
2206
+ "name": "after",
2207
+ "hasDynamicHelp": false,
2208
+ "multiple": false,
2209
+ "type": "option"
2210
+ }
2211
+ },
2212
+ "hasDynamicHelp": false,
2213
+ "hiddenAliases": [],
2214
+ "id": "projects:list",
2215
+ "pluginAlias": "linear-cli-agents",
2216
+ "pluginName": "linear-cli-agents",
2217
+ "pluginType": "core",
2218
+ "strict": true,
2219
+ "enableJsonFlag": false,
2220
+ "isESM": true,
2221
+ "relativePath": [
2222
+ "dist",
2223
+ "commands",
2224
+ "projects",
2225
+ "list.js"
2226
+ ]
2227
+ },
2228
+ "projects:update": {
2229
+ "aliases": [],
2230
+ "args": {
2231
+ "id": {
2232
+ "description": "Project ID",
2233
+ "name": "id",
2234
+ "required": true
2235
+ }
2236
+ },
2237
+ "description": "Update a project",
2238
+ "examples": [
2239
+ "<%= config.bin %> projects update PROJECT_ID --name \"Updated Name\"",
2240
+ "<%= config.bin %> projects update PROJECT_ID --state completed",
2241
+ "<%= config.bin %> projects update PROJECT_ID --target-date 2024-06-30"
2242
+ ],
2243
+ "flags": {
2244
+ "format": {
2245
+ "char": "F",
2246
+ "description": "Output format",
2247
+ "name": "format",
2248
+ "default": "json",
2249
+ "hasDynamicHelp": false,
2250
+ "multiple": false,
2251
+ "options": [
2252
+ "json",
2253
+ "table",
2254
+ "plain"
2255
+ ],
2256
+ "type": "option"
2257
+ },
2258
+ "name": {
2259
+ "char": "n",
2260
+ "description": "Project name",
2261
+ "name": "name",
2262
+ "hasDynamicHelp": false,
2263
+ "multiple": false,
2264
+ "type": "option"
2265
+ },
2266
+ "description": {
2267
+ "char": "d",
2268
+ "description": "Project description",
2269
+ "name": "description",
2270
+ "hasDynamicHelp": false,
2271
+ "multiple": false,
2272
+ "type": "option"
2273
+ },
2274
+ "state": {
2275
+ "char": "s",
2276
+ "description": "Project state",
2277
+ "name": "state",
2278
+ "hasDynamicHelp": false,
2279
+ "multiple": false,
2280
+ "options": [
2281
+ "planned",
2282
+ "started",
2283
+ "paused",
2284
+ "completed",
2285
+ "canceled"
2286
+ ],
2287
+ "type": "option"
2288
+ },
2289
+ "lead-id": {
2290
+ "description": "Lead user ID",
2291
+ "name": "lead-id",
2292
+ "hasDynamicHelp": false,
2293
+ "multiple": false,
2294
+ "type": "option"
2295
+ },
2296
+ "start-date": {
2297
+ "description": "Start date (YYYY-MM-DD)",
2298
+ "name": "start-date",
2299
+ "hasDynamicHelp": false,
2300
+ "multiple": false,
2301
+ "type": "option"
2302
+ },
2303
+ "target-date": {
2304
+ "description": "Target date (YYYY-MM-DD)",
2305
+ "name": "target-date",
2306
+ "hasDynamicHelp": false,
2307
+ "multiple": false,
2308
+ "type": "option"
2309
+ }
2310
+ },
2311
+ "hasDynamicHelp": false,
2312
+ "hiddenAliases": [],
2313
+ "id": "projects:update",
2314
+ "pluginAlias": "linear-cli-agents",
2315
+ "pluginName": "linear-cli-agents",
2316
+ "pluginType": "core",
2317
+ "strict": true,
2318
+ "enableJsonFlag": false,
2319
+ "isESM": true,
2320
+ "relativePath": [
2321
+ "dist",
2322
+ "commands",
2323
+ "projects",
2324
+ "update.js"
2325
+ ]
2326
+ },
2327
+ "relations:create": {
2328
+ "aliases": [],
2329
+ "args": {
2330
+ "issue": {
2331
+ "description": "Source issue ID or identifier (e.g., ENG-123)",
2332
+ "name": "issue",
2333
+ "required": true
2334
+ },
2335
+ "relatedIssue": {
2336
+ "description": "Related issue ID or identifier (e.g., ENG-456)",
2337
+ "name": "relatedIssue",
2338
+ "required": true
2339
+ }
2340
+ },
2341
+ "description": "Create a relation between two issues",
2342
+ "examples": [
2343
+ "<%= config.bin %> relations create ENG-123 ENG-456 --type blocks",
2344
+ "<%= config.bin %> relations create ENG-123 ENG-456 --type duplicate",
2345
+ "<%= config.bin %> relations create ENG-123 ENG-456 --type related"
2346
+ ],
2347
+ "flags": {
2348
+ "format": {
2349
+ "char": "F",
2350
+ "description": "Output format",
2351
+ "name": "format",
2352
+ "default": "json",
2353
+ "hasDynamicHelp": false,
2354
+ "multiple": false,
2355
+ "options": [
2356
+ "json",
2357
+ "table",
2358
+ "plain"
2359
+ ],
2360
+ "type": "option"
2361
+ },
2362
+ "type": {
2363
+ "char": "t",
2364
+ "description": "Relation type (blocks, duplicate, related)",
2365
+ "name": "type",
2366
+ "required": true,
2367
+ "hasDynamicHelp": false,
2368
+ "multiple": false,
2369
+ "options": [
2370
+ "blocks",
2371
+ "duplicate",
2372
+ "related"
2373
+ ],
2374
+ "type": "option"
2375
+ }
2376
+ },
2377
+ "hasDynamicHelp": false,
2378
+ "hiddenAliases": [],
2379
+ "id": "relations:create",
2380
+ "pluginAlias": "linear-cli-agents",
2381
+ "pluginName": "linear-cli-agents",
2382
+ "pluginType": "core",
2383
+ "strict": true,
2384
+ "enableJsonFlag": false,
2385
+ "isESM": true,
2386
+ "relativePath": [
2387
+ "dist",
2388
+ "commands",
2389
+ "relations",
2390
+ "create.js"
2391
+ ]
2392
+ },
2393
+ "relations:delete": {
2394
+ "aliases": [],
2395
+ "args": {
2396
+ "id": {
2397
+ "description": "Relation ID",
2398
+ "name": "id",
2399
+ "required": true
2400
+ }
2401
+ },
2402
+ "description": "Delete an issue relation",
2403
+ "examples": [
2404
+ "<%= config.bin %> relations delete RELATION_ID"
2405
+ ],
2406
+ "flags": {
2407
+ "format": {
2408
+ "char": "F",
2409
+ "description": "Output format",
2410
+ "name": "format",
2411
+ "default": "json",
2412
+ "hasDynamicHelp": false,
2413
+ "multiple": false,
2414
+ "options": [
2415
+ "json",
2416
+ "table",
2417
+ "plain"
2418
+ ],
2419
+ "type": "option"
2420
+ }
2421
+ },
2422
+ "hasDynamicHelp": false,
2423
+ "hiddenAliases": [],
2424
+ "id": "relations:delete",
2425
+ "pluginAlias": "linear-cli-agents",
2426
+ "pluginName": "linear-cli-agents",
2427
+ "pluginType": "core",
2428
+ "strict": true,
2429
+ "enableJsonFlag": false,
2430
+ "isESM": true,
2431
+ "relativePath": [
2432
+ "dist",
2433
+ "commands",
2434
+ "relations",
2435
+ "delete.js"
2436
+ ]
2437
+ },
2438
+ "relations:list": {
2439
+ "aliases": [],
2440
+ "args": {
2441
+ "issue": {
2442
+ "description": "Issue ID or identifier (e.g., ENG-123)",
2443
+ "name": "issue",
2444
+ "required": true
2445
+ }
2446
+ },
2447
+ "description": "List relations for an issue",
2448
+ "examples": [
2449
+ "<%= config.bin %> relations list ENG-123",
2450
+ "<%= config.bin %> relations list ENG-123 --format table"
2451
+ ],
2452
+ "flags": {
2453
+ "format": {
2454
+ "char": "F",
2455
+ "description": "Output format",
2456
+ "name": "format",
2457
+ "default": "json",
2458
+ "hasDynamicHelp": false,
2459
+ "multiple": false,
2460
+ "options": [
2461
+ "json",
2462
+ "table",
2463
+ "plain"
2464
+ ],
2465
+ "type": "option"
2466
+ }
2467
+ },
2468
+ "hasDynamicHelp": false,
2469
+ "hiddenAliases": [],
2470
+ "id": "relations:list",
2471
+ "pluginAlias": "linear-cli-agents",
2472
+ "pluginName": "linear-cli-agents",
2473
+ "pluginType": "core",
2474
+ "strict": true,
2475
+ "enableJsonFlag": false,
2476
+ "isESM": true,
2477
+ "relativePath": [
2478
+ "dist",
2479
+ "commands",
2480
+ "relations",
2481
+ "list.js"
2482
+ ]
2483
+ },
2484
+ "states:list": {
2485
+ "aliases": [],
2486
+ "args": {},
2487
+ "description": "List workflow states in the workspace",
2488
+ "examples": [
2489
+ "<%= config.bin %> states list",
2490
+ "<%= config.bin %> states list --format table",
2491
+ "<%= config.bin %> states list --team ENG"
2492
+ ],
2493
+ "flags": {
2494
+ "format": {
2495
+ "char": "F",
2496
+ "description": "Output format",
2497
+ "name": "format",
2498
+ "default": "json",
2499
+ "hasDynamicHelp": false,
2500
+ "multiple": false,
2501
+ "options": [
2502
+ "json",
2503
+ "table",
2504
+ "plain"
2505
+ ],
2506
+ "type": "option"
2507
+ },
2508
+ "team": {
2509
+ "char": "t",
2510
+ "description": "Filter by team key (e.g., ENG)",
2511
+ "name": "team",
2512
+ "hasDynamicHelp": false,
2513
+ "multiple": false,
2514
+ "type": "option"
2515
+ },
2516
+ "first": {
2517
+ "description": "Number of states to fetch (default: 100)",
2518
+ "name": "first",
2519
+ "default": 100,
2520
+ "hasDynamicHelp": false,
2521
+ "multiple": false,
2522
+ "type": "option"
2523
+ },
2524
+ "after": {
2525
+ "description": "Cursor for pagination",
2526
+ "name": "after",
2527
+ "hasDynamicHelp": false,
2528
+ "multiple": false,
2529
+ "type": "option"
2530
+ }
2531
+ },
2532
+ "hasDynamicHelp": false,
2533
+ "hiddenAliases": [],
2534
+ "id": "states:list",
2535
+ "pluginAlias": "linear-cli-agents",
2536
+ "pluginName": "linear-cli-agents",
2537
+ "pluginType": "core",
2538
+ "strict": true,
2539
+ "enableJsonFlag": false,
2540
+ "isESM": true,
2541
+ "relativePath": [
2542
+ "dist",
2543
+ "commands",
2544
+ "states",
2545
+ "list.js"
2546
+ ]
2547
+ },
2548
+ "templates:create": {
2549
+ "aliases": [],
2550
+ "args": {},
2551
+ "description": "Create a template",
2552
+ "examples": [
2553
+ "<%= config.bin %> templates create --name \"Bug Report\" --type issue --team-id TEAM_ID --template-data '{\"title\":\"Bug: \",\"priority\":2}'",
2554
+ "<%= config.bin %> templates create --name \"Feature Request\" --type issue --template-data '{\"title\":\"Feature: \"}'"
2555
+ ],
2556
+ "flags": {
2557
+ "format": {
2558
+ "char": "F",
2559
+ "description": "Output format",
2560
+ "name": "format",
2561
+ "default": "json",
2562
+ "hasDynamicHelp": false,
2563
+ "multiple": false,
2564
+ "options": [
2565
+ "json",
2566
+ "table",
2567
+ "plain"
2568
+ ],
2569
+ "type": "option"
2570
+ },
2571
+ "name": {
2572
+ "char": "n",
2573
+ "description": "Template name",
2574
+ "name": "name",
2575
+ "required": true,
2576
+ "hasDynamicHelp": false,
2577
+ "multiple": false,
2578
+ "type": "option"
2579
+ },
2580
+ "type": {
2581
+ "char": "t",
2582
+ "description": "Template type",
2583
+ "name": "type",
2584
+ "required": true,
383
2585
  "hasDynamicHelp": false,
384
2586
  "multiple": false,
2587
+ "options": [
2588
+ "issue",
2589
+ "project"
2590
+ ],
385
2591
  "type": "option"
386
2592
  },
387
- "project-id": {
388
- "description": "Project ID",
389
- "name": "project-id",
2593
+ "description": {
2594
+ "char": "d",
2595
+ "description": "Template description",
2596
+ "name": "description",
390
2597
  "hasDynamicHelp": false,
391
2598
  "multiple": false,
392
2599
  "type": "option"
393
2600
  },
394
- "estimate": {
395
- "description": "Estimate points",
396
- "name": "estimate",
2601
+ "team-id": {
2602
+ "description": "Team ID (optional, for team-specific templates)",
2603
+ "name": "team-id",
397
2604
  "hasDynamicHelp": false,
398
2605
  "multiple": false,
399
2606
  "type": "option"
400
2607
  },
401
- "label-ids": {
402
- "description": "Comma-separated label IDs",
403
- "name": "label-ids",
2608
+ "template-data": {
2609
+ "description": "Template data as JSON (e.g., {\"title\":\"Bug: \",\"priority\":2})",
2610
+ "name": "template-data",
2611
+ "required": true,
404
2612
  "hasDynamicHelp": false,
405
2613
  "multiple": false,
406
2614
  "type": "option"
@@ -408,7 +2616,7 @@
408
2616
  },
409
2617
  "hasDynamicHelp": false,
410
2618
  "hiddenAliases": [],
411
- "id": "issues:create",
2619
+ "id": "templates:create",
412
2620
  "pluginAlias": "linear-cli-agents",
413
2621
  "pluginName": "linear-cli-agents",
414
2622
  "pluginType": "core",
@@ -418,63 +2626,23 @@
418
2626
  "relativePath": [
419
2627
  "dist",
420
2628
  "commands",
421
- "issues",
2629
+ "templates",
422
2630
  "create.js"
423
2631
  ]
424
2632
  },
425
- "issues:delete": {
426
- "aliases": [],
427
- "args": {
428
- "id": {
429
- "description": "Issue ID or identifier (e.g., ENG-123)",
430
- "name": "id",
431
- "required": true
432
- }
433
- },
434
- "description": "Delete an issue (moves to trash)",
435
- "examples": [
436
- "<%= config.bin %> issues delete abc123",
437
- "<%= config.bin %> issues delete ENG-123",
438
- "<%= config.bin %> issues delete ENG-123 --permanent"
439
- ],
440
- "flags": {
441
- "permanent": {
442
- "description": "Permanently delete (cannot be undone)",
443
- "name": "permanent",
444
- "allowNo": false,
445
- "type": "boolean"
446
- }
447
- },
448
- "hasDynamicHelp": false,
449
- "hiddenAliases": [],
450
- "id": "issues:delete",
451
- "pluginAlias": "linear-cli-agents",
452
- "pluginName": "linear-cli-agents",
453
- "pluginType": "core",
454
- "strict": true,
455
- "enableJsonFlag": false,
456
- "isESM": true,
457
- "relativePath": [
458
- "dist",
459
- "commands",
460
- "issues",
461
- "delete.js"
462
- ]
463
- },
464
- "issues:get": {
2633
+ "templates:get": {
465
2634
  "aliases": [],
466
2635
  "args": {
467
2636
  "id": {
468
- "description": "Issue ID or identifier (e.g., ENG-123)",
2637
+ "description": "Template ID",
469
2638
  "name": "id",
470
2639
  "required": true
471
2640
  }
472
2641
  },
473
- "description": "Get a single issue by ID or identifier",
2642
+ "description": "Get a template by ID",
474
2643
  "examples": [
475
- "<%= config.bin %> issues get ENG-123",
476
- "<%= config.bin %> issues get ENG-123 --format table",
477
- "<%= config.bin %> issues get abc123"
2644
+ "<%= config.bin %> templates get TEMPLATE_ID",
2645
+ "<%= config.bin %> templates get TEMPLATE_ID --format table"
478
2646
  ],
479
2647
  "flags": {
480
2648
  "format": {
@@ -494,7 +2662,7 @@
494
2662
  },
495
2663
  "hasDynamicHelp": false,
496
2664
  "hiddenAliases": [],
497
- "id": "issues:get",
2665
+ "id": "templates:get",
498
2666
  "pluginAlias": "linear-cli-agents",
499
2667
  "pluginName": "linear-cli-agents",
500
2668
  "pluginType": "core",
@@ -504,21 +2672,18 @@
504
2672
  "relativePath": [
505
2673
  "dist",
506
2674
  "commands",
507
- "issues",
2675
+ "templates",
508
2676
  "get.js"
509
2677
  ]
510
2678
  },
511
- "issues:list": {
2679
+ "templates:list": {
512
2680
  "aliases": [],
513
2681
  "args": {},
514
- "description": "List issues with optional filtering",
2682
+ "description": "List templates in the workspace",
515
2683
  "examples": [
516
- "<%= config.bin %> issues list",
517
- "<%= config.bin %> issues list --format table",
518
- "<%= config.bin %> issues list --team ENG",
519
- "<%= config.bin %> issues list --assignee me",
520
- "<%= config.bin %> issues list --filter '{\"state\":{\"name\":{\"eq\":\"In Progress\"}}}'",
521
- "<%= config.bin %> issues list --first 50 --after cursor123"
2684
+ "<%= config.bin %> templates list",
2685
+ "<%= config.bin %> templates list --format table",
2686
+ "<%= config.bin %> templates list --team ENG"
522
2687
  ],
523
2688
  "flags": {
524
2689
  "format": {
@@ -543,32 +2708,8 @@
543
2708
  "multiple": false,
544
2709
  "type": "option"
545
2710
  },
546
- "assignee": {
547
- "char": "a",
548
- "description": "Filter by assignee (use \"me\" for current user)",
549
- "name": "assignee",
550
- "hasDynamicHelp": false,
551
- "multiple": false,
552
- "type": "option"
553
- },
554
- "state": {
555
- "char": "s",
556
- "description": "Filter by state name (e.g., \"In Progress\")",
557
- "name": "state",
558
- "hasDynamicHelp": false,
559
- "multiple": false,
560
- "type": "option"
561
- },
562
- "filter": {
563
- "char": "f",
564
- "description": "JSON filter object (IssueFilter from Linear SDK)",
565
- "name": "filter",
566
- "hasDynamicHelp": false,
567
- "multiple": false,
568
- "type": "option"
569
- },
570
2711
  "first": {
571
- "description": "Number of issues to fetch (default: 50)",
2712
+ "description": "Number of templates to fetch (default: 50)",
572
2713
  "name": "first",
573
2714
  "default": 50,
574
2715
  "hasDynamicHelp": false,
@@ -585,7 +2726,7 @@
585
2726
  },
586
2727
  "hasDynamicHelp": false,
587
2728
  "hiddenAliases": [],
588
- "id": "issues:list",
2729
+ "id": "templates:list",
589
2730
  "pluginAlias": "linear-cli-agents",
590
2731
  "pluginName": "linear-cli-agents",
591
2732
  "pluginType": "core",
@@ -595,103 +2736,169 @@
595
2736
  "relativePath": [
596
2737
  "dist",
597
2738
  "commands",
598
- "issues",
2739
+ "templates",
599
2740
  "list.js"
600
2741
  ]
601
2742
  },
602
- "issues:update": {
2743
+ "templates:update": {
603
2744
  "aliases": [],
604
2745
  "args": {
605
2746
  "id": {
606
- "description": "Issue ID or identifier (e.g., ENG-123)",
2747
+ "description": "Template ID",
607
2748
  "name": "id",
608
2749
  "required": true
609
2750
  }
610
2751
  },
611
- "description": "Update an existing issue",
2752
+ "description": "Update a template",
612
2753
  "examples": [
613
- "<%= config.bin %> issues update abc123 --input '{\"title\":\"Updated title\"}'",
614
- "<%= config.bin %> issues update ENG-123 --title \"New title\"",
615
- "<%= config.bin %> issues update ENG-123 --state-id xxx --assignee-id yyy"
2754
+ "<%= config.bin %> templates update TEMPLATE_ID --name \"Updated Name\"",
2755
+ "<%= config.bin %> templates update TEMPLATE_ID --template-data '{\"title\":\"New Bug: \",\"priority\":1}'"
616
2756
  ],
617
2757
  "flags": {
618
- "input": {
619
- "char": "i",
620
- "description": "JSON input object (IssueUpdateInput)",
621
- "exclusive": [
622
- "title",
623
- "description",
624
- "priority",
625
- "assignee-id",
626
- "state-id"
627
- ],
628
- "name": "input",
2758
+ "format": {
2759
+ "char": "F",
2760
+ "description": "Output format",
2761
+ "name": "format",
2762
+ "default": "json",
629
2763
  "hasDynamicHelp": false,
630
2764
  "multiple": false,
2765
+ "options": [
2766
+ "json",
2767
+ "table",
2768
+ "plain"
2769
+ ],
631
2770
  "type": "option"
632
2771
  },
633
- "title": {
634
- "description": "Issue title",
635
- "name": "title",
2772
+ "name": {
2773
+ "char": "n",
2774
+ "description": "Template name",
2775
+ "name": "name",
636
2776
  "hasDynamicHelp": false,
637
2777
  "multiple": false,
638
2778
  "type": "option"
639
2779
  },
640
2780
  "description": {
641
2781
  "char": "d",
642
- "description": "Issue description (markdown supported)",
2782
+ "description": "Template description",
643
2783
  "name": "description",
644
2784
  "hasDynamicHelp": false,
645
2785
  "multiple": false,
646
2786
  "type": "option"
647
2787
  },
648
- "priority": {
649
- "char": "p",
650
- "description": "Priority (0=none, 1=urgent, 2=high, 3=medium, 4=low)",
651
- "name": "priority",
652
- "hasDynamicHelp": false,
653
- "multiple": false,
654
- "type": "option"
655
- },
656
- "assignee-id": {
657
- "description": "Assignee user ID (use empty string to unassign)",
658
- "name": "assignee-id",
2788
+ "template-data": {
2789
+ "description": "Template data as JSON",
2790
+ "name": "template-data",
659
2791
  "hasDynamicHelp": false,
660
2792
  "multiple": false,
661
2793
  "type": "option"
662
- },
663
- "state-id": {
664
- "description": "State ID",
665
- "name": "state-id",
2794
+ }
2795
+ },
2796
+ "hasDynamicHelp": false,
2797
+ "hiddenAliases": [],
2798
+ "id": "templates:update",
2799
+ "pluginAlias": "linear-cli-agents",
2800
+ "pluginName": "linear-cli-agents",
2801
+ "pluginType": "core",
2802
+ "strict": true,
2803
+ "enableJsonFlag": false,
2804
+ "isESM": true,
2805
+ "relativePath": [
2806
+ "dist",
2807
+ "commands",
2808
+ "templates",
2809
+ "update.js"
2810
+ ]
2811
+ },
2812
+ "teams:list": {
2813
+ "aliases": [],
2814
+ "args": {},
2815
+ "description": "List teams in the workspace",
2816
+ "examples": [
2817
+ "<%= config.bin %> teams list",
2818
+ "<%= config.bin %> teams list --format table",
2819
+ "<%= config.bin %> teams list --first 10"
2820
+ ],
2821
+ "flags": {
2822
+ "format": {
2823
+ "char": "F",
2824
+ "description": "Output format",
2825
+ "name": "format",
2826
+ "default": "json",
666
2827
  "hasDynamicHelp": false,
667
2828
  "multiple": false,
2829
+ "options": [
2830
+ "json",
2831
+ "table",
2832
+ "plain"
2833
+ ],
668
2834
  "type": "option"
669
2835
  },
670
- "project-id": {
671
- "description": "Project ID",
672
- "name": "project-id",
2836
+ "first": {
2837
+ "description": "Number of teams to fetch (default: 50)",
2838
+ "name": "first",
2839
+ "default": 50,
673
2840
  "hasDynamicHelp": false,
674
2841
  "multiple": false,
675
2842
  "type": "option"
676
2843
  },
677
- "estimate": {
678
- "description": "Estimate points",
679
- "name": "estimate",
2844
+ "after": {
2845
+ "description": "Cursor for pagination",
2846
+ "name": "after",
680
2847
  "hasDynamicHelp": false,
681
2848
  "multiple": false,
682
2849
  "type": "option"
683
- },
684
- "label-ids": {
685
- "description": "Comma-separated label IDs (replaces existing labels)",
686
- "name": "label-ids",
2850
+ }
2851
+ },
2852
+ "hasDynamicHelp": false,
2853
+ "hiddenAliases": [],
2854
+ "id": "teams:list",
2855
+ "pluginAlias": "linear-cli-agents",
2856
+ "pluginName": "linear-cli-agents",
2857
+ "pluginType": "core",
2858
+ "strict": true,
2859
+ "enableJsonFlag": false,
2860
+ "isESM": true,
2861
+ "relativePath": [
2862
+ "dist",
2863
+ "commands",
2864
+ "teams",
2865
+ "list.js"
2866
+ ]
2867
+ },
2868
+ "users:get": {
2869
+ "aliases": [],
2870
+ "args": {
2871
+ "id": {
2872
+ "description": "User ID (use \"me\" for current user)",
2873
+ "name": "id",
2874
+ "required": true
2875
+ }
2876
+ },
2877
+ "description": "Get a single user by ID",
2878
+ "examples": [
2879
+ "<%= config.bin %> users get USER_ID",
2880
+ "<%= config.bin %> users get USER_ID --format table",
2881
+ "<%= config.bin %> users get me"
2882
+ ],
2883
+ "flags": {
2884
+ "format": {
2885
+ "char": "F",
2886
+ "description": "Output format",
2887
+ "name": "format",
2888
+ "default": "json",
687
2889
  "hasDynamicHelp": false,
688
2890
  "multiple": false,
2891
+ "options": [
2892
+ "json",
2893
+ "table",
2894
+ "plain"
2895
+ ],
689
2896
  "type": "option"
690
2897
  }
691
2898
  },
692
2899
  "hasDynamicHelp": false,
693
2900
  "hiddenAliases": [],
694
- "id": "issues:update",
2901
+ "id": "users:get",
695
2902
  "pluginAlias": "linear-cli-agents",
696
2903
  "pluginName": "linear-cli-agents",
697
2904
  "pluginType": "core",
@@ -701,18 +2908,18 @@
701
2908
  "relativePath": [
702
2909
  "dist",
703
2910
  "commands",
704
- "issues",
705
- "update.js"
2911
+ "users",
2912
+ "get.js"
706
2913
  ]
707
2914
  },
708
- "teams:list": {
2915
+ "users:list": {
709
2916
  "aliases": [],
710
2917
  "args": {},
711
- "description": "List teams in the workspace",
2918
+ "description": "List users in the workspace",
712
2919
  "examples": [
713
- "<%= config.bin %> teams list",
714
- "<%= config.bin %> teams list --format table",
715
- "<%= config.bin %> teams list --first 10"
2920
+ "<%= config.bin %> users list",
2921
+ "<%= config.bin %> users list --format table",
2922
+ "<%= config.bin %> users list --active"
716
2923
  ],
717
2924
  "flags": {
718
2925
  "format": {
@@ -729,10 +2936,16 @@
729
2936
  ],
730
2937
  "type": "option"
731
2938
  },
2939
+ "active": {
2940
+ "description": "Show only active users",
2941
+ "name": "active",
2942
+ "allowNo": false,
2943
+ "type": "boolean"
2944
+ },
732
2945
  "first": {
733
- "description": "Number of teams to fetch (default: 50)",
2946
+ "description": "Number of users to fetch (default: 100)",
734
2947
  "name": "first",
735
- "default": 50,
2948
+ "default": 100,
736
2949
  "hasDynamicHelp": false,
737
2950
  "multiple": false,
738
2951
  "type": "option"
@@ -747,7 +2960,7 @@
747
2960
  },
748
2961
  "hasDynamicHelp": false,
749
2962
  "hiddenAliases": [],
750
- "id": "teams:list",
2963
+ "id": "users:list",
751
2964
  "pluginAlias": "linear-cli-agents",
752
2965
  "pluginName": "linear-cli-agents",
753
2966
  "pluginType": "core",
@@ -757,10 +2970,10 @@
757
2970
  "relativePath": [
758
2971
  "dist",
759
2972
  "commands",
760
- "teams",
2973
+ "users",
761
2974
  "list.js"
762
2975
  ]
763
2976
  }
764
2977
  },
765
- "version": "0.2.1"
2978
+ "version": "0.4.1"
766
2979
  }