linear-cli-agents 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/README.md +253 -5
  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/templates/create.d.ts +14 -0
  65. package/dist/commands/templates/create.js +102 -0
  66. package/dist/commands/templates/get.d.ts +12 -0
  67. package/dist/commands/templates/get.js +84 -0
  68. package/dist/commands/templates/list.d.ts +12 -0
  69. package/dist/commands/templates/list.js +110 -0
  70. package/dist/commands/templates/update.d.ts +15 -0
  71. package/dist/commands/templates/update.js +101 -0
  72. package/dist/commands/users/get.d.ts +12 -0
  73. package/dist/commands/users/get.js +91 -0
  74. package/dist/commands/users/list.d.ts +12 -0
  75. package/dist/commands/users/list.js +99 -0
  76. package/dist/lib/config.js +1 -1
  77. package/oclif.manifest.json +2397 -184
  78. 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,2201 @@
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"
344
- ],
345
- "name": "title",
417
+ "body": {
418
+ "char": "b",
419
+ "description": "Comment body (supports markdown)",
420
+ "name": "body",
421
+ "required": true,
346
422
  "hasDynamicHelp": false,
347
423
  "multiple": false,
348
424
  "type": "option"
349
- },
350
- "team-id": {
351
- "description": "Team ID",
352
- "name": "team-id",
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",
353
462
  "hasDynamicHelp": false,
354
463
  "multiple": false,
464
+ "options": [
465
+ "json",
466
+ "table",
467
+ "plain"
468
+ ],
355
469
  "type": "option"
356
- },
357
- "description": {
358
- "char": "d",
359
- "description": "Issue description (markdown supported)",
360
- "name": "description",
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",
361
508
  "hasDynamicHelp": false,
362
509
  "multiple": false,
510
+ "options": [
511
+ "json",
512
+ "table",
513
+ "plain"
514
+ ],
363
515
  "type": "option"
364
516
  },
365
- "priority": {
366
- "char": "p",
367
- "description": "Priority (0=none, 1=urgent, 2=high, 3=medium, 4=low)",
368
- "name": "priority",
517
+ "first": {
518
+ "description": "Number of comments to fetch (default: 50)",
519
+ "name": "first",
520
+ "default": 50,
369
521
  "hasDynamicHelp": false,
370
522
  "multiple": false,
371
523
  "type": "option"
372
524
  },
373
- "assignee-id": {
374
- "description": "Assignee user ID",
375
- "name": "assignee-id",
525
+ "after": {
526
+ "description": "Cursor for pagination",
527
+ "name": "after",
376
528
  "hasDynamicHelp": false,
377
529
  "multiple": false,
378
530
  "type": "option"
379
- },
380
- "state-id": {
381
- "description": "State ID",
382
- "name": "state-id",
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",
383
568
  "hasDynamicHelp": false,
384
569
  "multiple": false,
570
+ "options": [
571
+ "json",
572
+ "table",
573
+ "plain"
574
+ ],
385
575
  "type": "option"
386
576
  },
387
- "project-id": {
388
- "description": "Project ID",
389
- "name": "project-id",
577
+ "body": {
578
+ "char": "b",
579
+ "description": "Comment body (supports markdown)",
580
+ "name": "body",
581
+ "required": true,
582
+ "hasDynamicHelp": false,
583
+ "multiple": false,
584
+ "type": "option"
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
+ "projects:archive": {
1667
+ "aliases": [],
1668
+ "args": {
1669
+ "id": {
1670
+ "description": "Project ID",
1671
+ "name": "id",
1672
+ "required": true
1673
+ }
1674
+ },
1675
+ "description": "Archive a project",
1676
+ "examples": [
1677
+ "<%= config.bin %> projects archive PROJECT_ID",
1678
+ "<%= config.bin %> projects archive PROJECT_ID --unarchive"
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
+ "unarchive": {
1696
+ "char": "u",
1697
+ "description": "Unarchive instead of archive",
1698
+ "name": "unarchive",
1699
+ "allowNo": false,
1700
+ "type": "boolean"
1701
+ }
1702
+ },
1703
+ "hasDynamicHelp": false,
1704
+ "hiddenAliases": [],
1705
+ "id": "projects:archive",
1706
+ "pluginAlias": "linear-cli-agents",
1707
+ "pluginName": "linear-cli-agents",
1708
+ "pluginType": "core",
1709
+ "strict": true,
1710
+ "enableJsonFlag": false,
1711
+ "isESM": true,
1712
+ "relativePath": [
1713
+ "dist",
1714
+ "commands",
1715
+ "projects",
1716
+ "archive.js"
1717
+ ]
1718
+ },
1719
+ "projects:create": {
1720
+ "aliases": [],
1721
+ "args": {},
1722
+ "description": "Create a project",
1723
+ "examples": [
1724
+ "<%= config.bin %> projects create --name \"My Project\" --team-ids TEAM_ID",
1725
+ "<%= config.bin %> projects create --name \"Q1 Goals\" --description \"First quarter objectives\" --target-date 2024-03-31",
1726
+ "<%= config.bin %> projects create --name \"Feature X\" --state started --lead-id USER_ID"
1727
+ ],
1728
+ "flags": {
1729
+ "format": {
1730
+ "char": "F",
1731
+ "description": "Output format",
1732
+ "name": "format",
1733
+ "default": "json",
1734
+ "hasDynamicHelp": false,
1735
+ "multiple": false,
1736
+ "options": [
1737
+ "json",
1738
+ "table",
1739
+ "plain"
1740
+ ],
1741
+ "type": "option"
1742
+ },
1743
+ "name": {
1744
+ "char": "n",
1745
+ "description": "Project name",
1746
+ "name": "name",
1747
+ "required": true,
1748
+ "hasDynamicHelp": false,
1749
+ "multiple": false,
1750
+ "type": "option"
1751
+ },
1752
+ "description": {
1753
+ "char": "d",
1754
+ "description": "Project description",
1755
+ "name": "description",
1756
+ "hasDynamicHelp": false,
1757
+ "multiple": false,
1758
+ "type": "option"
1759
+ },
1760
+ "state": {
1761
+ "char": "s",
1762
+ "description": "Project state",
1763
+ "name": "state",
1764
+ "hasDynamicHelp": false,
1765
+ "multiple": false,
1766
+ "options": [
1767
+ "planned",
1768
+ "started",
1769
+ "paused",
1770
+ "completed",
1771
+ "canceled"
1772
+ ],
1773
+ "type": "option"
1774
+ },
1775
+ "team-ids": {
1776
+ "description": "Team IDs (comma-separated)",
1777
+ "name": "team-ids",
1778
+ "required": true,
1779
+ "hasDynamicHelp": false,
1780
+ "multiple": false,
1781
+ "type": "option"
1782
+ },
1783
+ "lead-id": {
1784
+ "description": "Lead user ID",
1785
+ "name": "lead-id",
1786
+ "hasDynamicHelp": false,
1787
+ "multiple": false,
1788
+ "type": "option"
1789
+ },
1790
+ "start-date": {
1791
+ "description": "Start date (YYYY-MM-DD)",
1792
+ "name": "start-date",
1793
+ "hasDynamicHelp": false,
1794
+ "multiple": false,
1795
+ "type": "option"
1796
+ },
1797
+ "target-date": {
1798
+ "description": "Target date (YYYY-MM-DD)",
1799
+ "name": "target-date",
1800
+ "hasDynamicHelp": false,
1801
+ "multiple": false,
1802
+ "type": "option"
1803
+ }
1804
+ },
1805
+ "hasDynamicHelp": false,
1806
+ "hiddenAliases": [],
1807
+ "id": "projects:create",
1808
+ "pluginAlias": "linear-cli-agents",
1809
+ "pluginName": "linear-cli-agents",
1810
+ "pluginType": "core",
1811
+ "strict": true,
1812
+ "enableJsonFlag": false,
1813
+ "isESM": true,
1814
+ "relativePath": [
1815
+ "dist",
1816
+ "commands",
1817
+ "projects",
1818
+ "create.js"
1819
+ ]
1820
+ },
1821
+ "projects:delete": {
1822
+ "aliases": [],
1823
+ "args": {
1824
+ "id": {
1825
+ "description": "Project ID",
1826
+ "name": "id",
1827
+ "required": true
1828
+ }
1829
+ },
1830
+ "description": "Delete a project",
1831
+ "examples": [
1832
+ "<%= config.bin %> projects delete PROJECT_ID"
1833
+ ],
1834
+ "flags": {
1835
+ "format": {
1836
+ "char": "F",
1837
+ "description": "Output format",
1838
+ "name": "format",
1839
+ "default": "json",
1840
+ "hasDynamicHelp": false,
1841
+ "multiple": false,
1842
+ "options": [
1843
+ "json",
1844
+ "table",
1845
+ "plain"
1846
+ ],
1847
+ "type": "option"
1848
+ }
1849
+ },
1850
+ "hasDynamicHelp": false,
1851
+ "hiddenAliases": [],
1852
+ "id": "projects:delete",
1853
+ "pluginAlias": "linear-cli-agents",
1854
+ "pluginName": "linear-cli-agents",
1855
+ "pluginType": "core",
1856
+ "strict": true,
1857
+ "enableJsonFlag": false,
1858
+ "isESM": true,
1859
+ "relativePath": [
1860
+ "dist",
1861
+ "commands",
1862
+ "projects",
1863
+ "delete.js"
1864
+ ]
1865
+ },
1866
+ "projects:get": {
1867
+ "aliases": [],
1868
+ "args": {
1869
+ "id": {
1870
+ "description": "Project ID",
1871
+ "name": "id",
1872
+ "required": true
1873
+ }
1874
+ },
1875
+ "description": "Get a single project by ID",
1876
+ "examples": [
1877
+ "<%= config.bin %> projects get PROJECT_ID",
1878
+ "<%= config.bin %> projects get PROJECT_ID --format table"
1879
+ ],
1880
+ "flags": {
1881
+ "format": {
1882
+ "char": "F",
1883
+ "description": "Output format",
1884
+ "name": "format",
1885
+ "default": "json",
1886
+ "hasDynamicHelp": false,
1887
+ "multiple": false,
1888
+ "options": [
1889
+ "json",
1890
+ "table",
1891
+ "plain"
1892
+ ],
1893
+ "type": "option"
1894
+ }
1895
+ },
1896
+ "hasDynamicHelp": false,
1897
+ "hiddenAliases": [],
1898
+ "id": "projects:get",
1899
+ "pluginAlias": "linear-cli-agents",
1900
+ "pluginName": "linear-cli-agents",
1901
+ "pluginType": "core",
1902
+ "strict": true,
1903
+ "enableJsonFlag": false,
1904
+ "isESM": true,
1905
+ "relativePath": [
1906
+ "dist",
1907
+ "commands",
1908
+ "projects",
1909
+ "get.js"
1910
+ ]
1911
+ },
1912
+ "projects:list": {
1913
+ "aliases": [],
1914
+ "args": {},
1915
+ "description": "List projects in the workspace",
1916
+ "examples": [
1917
+ "<%= config.bin %> projects list",
1918
+ "<%= config.bin %> projects list --format table",
1919
+ "<%= config.bin %> projects list --team ENG",
1920
+ "<%= config.bin %> projects list --state started"
1921
+ ],
1922
+ "flags": {
1923
+ "format": {
1924
+ "char": "F",
1925
+ "description": "Output format",
1926
+ "name": "format",
1927
+ "default": "json",
1928
+ "hasDynamicHelp": false,
1929
+ "multiple": false,
1930
+ "options": [
1931
+ "json",
1932
+ "table",
1933
+ "plain"
1934
+ ],
1935
+ "type": "option"
1936
+ },
1937
+ "team": {
1938
+ "char": "t",
1939
+ "description": "Filter by team key (e.g., ENG)",
1940
+ "name": "team",
1941
+ "hasDynamicHelp": false,
1942
+ "multiple": false,
1943
+ "type": "option"
1944
+ },
1945
+ "state": {
1946
+ "char": "s",
1947
+ "description": "Filter by state (planned, started, paused, completed, canceled)",
1948
+ "name": "state",
1949
+ "hasDynamicHelp": false,
1950
+ "multiple": false,
1951
+ "type": "option"
1952
+ },
1953
+ "first": {
1954
+ "description": "Number of projects to fetch (default: 50)",
1955
+ "name": "first",
1956
+ "default": 50,
1957
+ "hasDynamicHelp": false,
1958
+ "multiple": false,
1959
+ "type": "option"
1960
+ },
1961
+ "after": {
1962
+ "description": "Cursor for pagination",
1963
+ "name": "after",
1964
+ "hasDynamicHelp": false,
1965
+ "multiple": false,
1966
+ "type": "option"
1967
+ }
1968
+ },
1969
+ "hasDynamicHelp": false,
1970
+ "hiddenAliases": [],
1971
+ "id": "projects:list",
1972
+ "pluginAlias": "linear-cli-agents",
1973
+ "pluginName": "linear-cli-agents",
1974
+ "pluginType": "core",
1975
+ "strict": true,
1976
+ "enableJsonFlag": false,
1977
+ "isESM": true,
1978
+ "relativePath": [
1979
+ "dist",
1980
+ "commands",
1981
+ "projects",
1982
+ "list.js"
1983
+ ]
1984
+ },
1985
+ "projects:update": {
1986
+ "aliases": [],
1987
+ "args": {
1988
+ "id": {
1989
+ "description": "Project ID",
1990
+ "name": "id",
1991
+ "required": true
1992
+ }
1993
+ },
1994
+ "description": "Update a project",
1995
+ "examples": [
1996
+ "<%= config.bin %> projects update PROJECT_ID --name \"Updated Name\"",
1997
+ "<%= config.bin %> projects update PROJECT_ID --state completed",
1998
+ "<%= config.bin %> projects update PROJECT_ID --target-date 2024-06-30"
1999
+ ],
2000
+ "flags": {
2001
+ "format": {
2002
+ "char": "F",
2003
+ "description": "Output format",
2004
+ "name": "format",
2005
+ "default": "json",
2006
+ "hasDynamicHelp": false,
2007
+ "multiple": false,
2008
+ "options": [
2009
+ "json",
2010
+ "table",
2011
+ "plain"
2012
+ ],
2013
+ "type": "option"
2014
+ },
2015
+ "name": {
2016
+ "char": "n",
2017
+ "description": "Project name",
2018
+ "name": "name",
2019
+ "hasDynamicHelp": false,
2020
+ "multiple": false,
2021
+ "type": "option"
2022
+ },
2023
+ "description": {
2024
+ "char": "d",
2025
+ "description": "Project description",
2026
+ "name": "description",
2027
+ "hasDynamicHelp": false,
2028
+ "multiple": false,
2029
+ "type": "option"
2030
+ },
2031
+ "state": {
2032
+ "char": "s",
2033
+ "description": "Project state",
2034
+ "name": "state",
2035
+ "hasDynamicHelp": false,
2036
+ "multiple": false,
2037
+ "options": [
2038
+ "planned",
2039
+ "started",
2040
+ "paused",
2041
+ "completed",
2042
+ "canceled"
2043
+ ],
2044
+ "type": "option"
2045
+ },
2046
+ "lead-id": {
2047
+ "description": "Lead user ID",
2048
+ "name": "lead-id",
2049
+ "hasDynamicHelp": false,
2050
+ "multiple": false,
2051
+ "type": "option"
2052
+ },
2053
+ "start-date": {
2054
+ "description": "Start date (YYYY-MM-DD)",
2055
+ "name": "start-date",
2056
+ "hasDynamicHelp": false,
2057
+ "multiple": false,
2058
+ "type": "option"
2059
+ },
2060
+ "target-date": {
2061
+ "description": "Target date (YYYY-MM-DD)",
2062
+ "name": "target-date",
2063
+ "hasDynamicHelp": false,
2064
+ "multiple": false,
2065
+ "type": "option"
2066
+ }
2067
+ },
2068
+ "hasDynamicHelp": false,
2069
+ "hiddenAliases": [],
2070
+ "id": "projects:update",
2071
+ "pluginAlias": "linear-cli-agents",
2072
+ "pluginName": "linear-cli-agents",
2073
+ "pluginType": "core",
2074
+ "strict": true,
2075
+ "enableJsonFlag": false,
2076
+ "isESM": true,
2077
+ "relativePath": [
2078
+ "dist",
2079
+ "commands",
2080
+ "projects",
2081
+ "update.js"
2082
+ ]
2083
+ },
2084
+ "project-updates:create": {
2085
+ "aliases": [],
2086
+ "args": {
2087
+ "projectId": {
2088
+ "description": "Project ID",
2089
+ "name": "projectId",
2090
+ "required": true
2091
+ }
2092
+ },
2093
+ "description": "Create a project update",
2094
+ "examples": [
2095
+ "<%= config.bin %> project-updates create PROJECT_ID --body \"Sprint completed successfully\"",
2096
+ "<%= config.bin %> project-updates create PROJECT_ID --body \"Delayed due to dependencies\" --health atRisk"
2097
+ ],
2098
+ "flags": {
2099
+ "format": {
2100
+ "char": "F",
2101
+ "description": "Output format",
2102
+ "name": "format",
2103
+ "default": "json",
2104
+ "hasDynamicHelp": false,
2105
+ "multiple": false,
2106
+ "options": [
2107
+ "json",
2108
+ "table",
2109
+ "plain"
2110
+ ],
2111
+ "type": "option"
2112
+ },
2113
+ "body": {
2114
+ "char": "b",
2115
+ "description": "Update body (supports markdown)",
2116
+ "name": "body",
2117
+ "required": true,
2118
+ "hasDynamicHelp": false,
2119
+ "multiple": false,
2120
+ "type": "option"
2121
+ },
2122
+ "health": {
2123
+ "char": "h",
2124
+ "description": "Project health status",
2125
+ "name": "health",
2126
+ "default": "onTrack",
2127
+ "hasDynamicHelp": false,
2128
+ "multiple": false,
2129
+ "options": [
2130
+ "onTrack",
2131
+ "atRisk",
2132
+ "offTrack"
2133
+ ],
2134
+ "type": "option"
2135
+ }
2136
+ },
2137
+ "hasDynamicHelp": false,
2138
+ "hiddenAliases": [],
2139
+ "id": "project-updates:create",
2140
+ "pluginAlias": "linear-cli-agents",
2141
+ "pluginName": "linear-cli-agents",
2142
+ "pluginType": "core",
2143
+ "strict": true,
2144
+ "enableJsonFlag": false,
2145
+ "isESM": true,
2146
+ "relativePath": [
2147
+ "dist",
2148
+ "commands",
2149
+ "project-updates",
2150
+ "create.js"
2151
+ ]
2152
+ },
2153
+ "project-updates:get": {
2154
+ "aliases": [],
2155
+ "args": {
2156
+ "id": {
2157
+ "description": "Project update ID",
2158
+ "name": "id",
2159
+ "required": true
2160
+ }
2161
+ },
2162
+ "description": "Get a project update by ID",
2163
+ "examples": [
2164
+ "<%= config.bin %> project-updates get UPDATE_ID",
2165
+ "<%= config.bin %> project-updates get UPDATE_ID --format table"
2166
+ ],
2167
+ "flags": {
2168
+ "format": {
2169
+ "char": "F",
2170
+ "description": "Output format",
2171
+ "name": "format",
2172
+ "default": "json",
2173
+ "hasDynamicHelp": false,
2174
+ "multiple": false,
2175
+ "options": [
2176
+ "json",
2177
+ "table",
2178
+ "plain"
2179
+ ],
2180
+ "type": "option"
2181
+ }
2182
+ },
2183
+ "hasDynamicHelp": false,
2184
+ "hiddenAliases": [],
2185
+ "id": "project-updates:get",
2186
+ "pluginAlias": "linear-cli-agents",
2187
+ "pluginName": "linear-cli-agents",
2188
+ "pluginType": "core",
2189
+ "strict": true,
2190
+ "enableJsonFlag": false,
2191
+ "isESM": true,
2192
+ "relativePath": [
2193
+ "dist",
2194
+ "commands",
2195
+ "project-updates",
2196
+ "get.js"
2197
+ ]
2198
+ },
2199
+ "project-updates:list": {
2200
+ "aliases": [],
2201
+ "args": {
2202
+ "projectId": {
2203
+ "description": "Project ID",
2204
+ "name": "projectId",
2205
+ "required": true
2206
+ }
2207
+ },
2208
+ "description": "List project updates",
2209
+ "examples": [
2210
+ "<%= config.bin %> project-updates list PROJECT_ID",
2211
+ "<%= config.bin %> project-updates list PROJECT_ID --format table"
2212
+ ],
2213
+ "flags": {
2214
+ "format": {
2215
+ "char": "F",
2216
+ "description": "Output format",
2217
+ "name": "format",
2218
+ "default": "json",
2219
+ "hasDynamicHelp": false,
2220
+ "multiple": false,
2221
+ "options": [
2222
+ "json",
2223
+ "table",
2224
+ "plain"
2225
+ ],
2226
+ "type": "option"
2227
+ },
2228
+ "first": {
2229
+ "description": "Number of updates to fetch (default: 20)",
2230
+ "name": "first",
2231
+ "default": 20,
2232
+ "hasDynamicHelp": false,
2233
+ "multiple": false,
2234
+ "type": "option"
2235
+ },
2236
+ "after": {
2237
+ "description": "Cursor for pagination",
2238
+ "name": "after",
2239
+ "hasDynamicHelp": false,
2240
+ "multiple": false,
2241
+ "type": "option"
2242
+ }
2243
+ },
2244
+ "hasDynamicHelp": false,
2245
+ "hiddenAliases": [],
2246
+ "id": "project-updates:list",
2247
+ "pluginAlias": "linear-cli-agents",
2248
+ "pluginName": "linear-cli-agents",
2249
+ "pluginType": "core",
2250
+ "strict": true,
2251
+ "enableJsonFlag": false,
2252
+ "isESM": true,
2253
+ "relativePath": [
2254
+ "dist",
2255
+ "commands",
2256
+ "project-updates",
2257
+ "list.js"
2258
+ ]
2259
+ },
2260
+ "project-updates:update": {
2261
+ "aliases": [],
2262
+ "args": {
2263
+ "id": {
2264
+ "description": "Project update ID",
2265
+ "name": "id",
2266
+ "required": true
2267
+ }
2268
+ },
2269
+ "description": "Update a project update",
2270
+ "examples": [
2271
+ "<%= config.bin %> project-updates update UPDATE_ID --body \"Updated status\"",
2272
+ "<%= config.bin %> project-updates update UPDATE_ID --health offTrack"
2273
+ ],
2274
+ "flags": {
2275
+ "format": {
2276
+ "char": "F",
2277
+ "description": "Output format",
2278
+ "name": "format",
2279
+ "default": "json",
2280
+ "hasDynamicHelp": false,
2281
+ "multiple": false,
2282
+ "options": [
2283
+ "json",
2284
+ "table",
2285
+ "plain"
2286
+ ],
2287
+ "type": "option"
2288
+ },
2289
+ "body": {
2290
+ "char": "b",
2291
+ "description": "Update body (supports markdown)",
2292
+ "name": "body",
2293
+ "hasDynamicHelp": false,
2294
+ "multiple": false,
2295
+ "type": "option"
2296
+ },
2297
+ "health": {
2298
+ "char": "h",
2299
+ "description": "Project health status",
2300
+ "name": "health",
2301
+ "hasDynamicHelp": false,
2302
+ "multiple": false,
2303
+ "options": [
2304
+ "onTrack",
2305
+ "atRisk",
2306
+ "offTrack"
2307
+ ],
2308
+ "type": "option"
2309
+ }
2310
+ },
2311
+ "hasDynamicHelp": false,
2312
+ "hiddenAliases": [],
2313
+ "id": "project-updates: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
+ "project-updates",
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
+ "teams:list": {
2549
+ "aliases": [],
2550
+ "args": {},
2551
+ "description": "List teams in the workspace",
2552
+ "examples": [
2553
+ "<%= config.bin %> teams list",
2554
+ "<%= config.bin %> teams list --format table",
2555
+ "<%= config.bin %> teams list --first 10"
2556
+ ],
2557
+ "flags": {
2558
+ "format": {
2559
+ "char": "F",
2560
+ "description": "Output format",
2561
+ "name": "format",
2562
+ "default": "json",
390
2563
  "hasDynamicHelp": false,
391
2564
  "multiple": false,
2565
+ "options": [
2566
+ "json",
2567
+ "table",
2568
+ "plain"
2569
+ ],
392
2570
  "type": "option"
393
2571
  },
394
- "estimate": {
395
- "description": "Estimate points",
396
- "name": "estimate",
2572
+ "first": {
2573
+ "description": "Number of teams to fetch (default: 50)",
2574
+ "name": "first",
2575
+ "default": 50,
397
2576
  "hasDynamicHelp": false,
398
2577
  "multiple": false,
399
2578
  "type": "option"
400
2579
  },
401
- "label-ids": {
402
- "description": "Comma-separated label IDs",
403
- "name": "label-ids",
2580
+ "after": {
2581
+ "description": "Cursor for pagination",
2582
+ "name": "after",
404
2583
  "hasDynamicHelp": false,
405
2584
  "multiple": false,
406
2585
  "type": "option"
@@ -408,7 +2587,7 @@
408
2587
  },
409
2588
  "hasDynamicHelp": false,
410
2589
  "hiddenAliases": [],
411
- "id": "issues:create",
2590
+ "id": "teams:list",
412
2591
  "pluginAlias": "linear-cli-agents",
413
2592
  "pluginName": "linear-cli-agents",
414
2593
  "pluginType": "core",
@@ -418,36 +2597,82 @@
418
2597
  "relativePath": [
419
2598
  "dist",
420
2599
  "commands",
421
- "issues",
422
- "create.js"
2600
+ "teams",
2601
+ "list.js"
423
2602
  ]
424
2603
  },
425
- "issues:delete": {
2604
+ "templates:create": {
426
2605
  "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)",
2606
+ "args": {},
2607
+ "description": "Create a template",
435
2608
  "examples": [
436
- "<%= config.bin %> issues delete abc123",
437
- "<%= config.bin %> issues delete ENG-123",
438
- "<%= config.bin %> issues delete ENG-123 --permanent"
2609
+ "<%= config.bin %> templates create --name \"Bug Report\" --type issue --team-id TEAM_ID --template-data '{\"title\":\"Bug: \",\"priority\":2}'",
2610
+ "<%= config.bin %> templates create --name \"Feature Request\" --type issue --template-data '{\"title\":\"Feature: \"}'"
439
2611
  ],
440
2612
  "flags": {
441
- "permanent": {
442
- "description": "Permanently delete (cannot be undone)",
443
- "name": "permanent",
444
- "allowNo": false,
445
- "type": "boolean"
2613
+ "format": {
2614
+ "char": "F",
2615
+ "description": "Output format",
2616
+ "name": "format",
2617
+ "default": "json",
2618
+ "hasDynamicHelp": false,
2619
+ "multiple": false,
2620
+ "options": [
2621
+ "json",
2622
+ "table",
2623
+ "plain"
2624
+ ],
2625
+ "type": "option"
2626
+ },
2627
+ "name": {
2628
+ "char": "n",
2629
+ "description": "Template name",
2630
+ "name": "name",
2631
+ "required": true,
2632
+ "hasDynamicHelp": false,
2633
+ "multiple": false,
2634
+ "type": "option"
2635
+ },
2636
+ "type": {
2637
+ "char": "t",
2638
+ "description": "Template type",
2639
+ "name": "type",
2640
+ "required": true,
2641
+ "hasDynamicHelp": false,
2642
+ "multiple": false,
2643
+ "options": [
2644
+ "issue",
2645
+ "project"
2646
+ ],
2647
+ "type": "option"
2648
+ },
2649
+ "description": {
2650
+ "char": "d",
2651
+ "description": "Template description",
2652
+ "name": "description",
2653
+ "hasDynamicHelp": false,
2654
+ "multiple": false,
2655
+ "type": "option"
2656
+ },
2657
+ "team-id": {
2658
+ "description": "Team ID (optional, for team-specific templates)",
2659
+ "name": "team-id",
2660
+ "hasDynamicHelp": false,
2661
+ "multiple": false,
2662
+ "type": "option"
2663
+ },
2664
+ "template-data": {
2665
+ "description": "Template data as JSON (e.g., {\"title\":\"Bug: \",\"priority\":2})",
2666
+ "name": "template-data",
2667
+ "required": true,
2668
+ "hasDynamicHelp": false,
2669
+ "multiple": false,
2670
+ "type": "option"
446
2671
  }
447
2672
  },
448
2673
  "hasDynamicHelp": false,
449
2674
  "hiddenAliases": [],
450
- "id": "issues:delete",
2675
+ "id": "templates:create",
451
2676
  "pluginAlias": "linear-cli-agents",
452
2677
  "pluginName": "linear-cli-agents",
453
2678
  "pluginType": "core",
@@ -457,24 +2682,23 @@
457
2682
  "relativePath": [
458
2683
  "dist",
459
2684
  "commands",
460
- "issues",
461
- "delete.js"
2685
+ "templates",
2686
+ "create.js"
462
2687
  ]
463
2688
  },
464
- "issues:get": {
2689
+ "templates:get": {
465
2690
  "aliases": [],
466
2691
  "args": {
467
2692
  "id": {
468
- "description": "Issue ID or identifier (e.g., ENG-123)",
2693
+ "description": "Template ID",
469
2694
  "name": "id",
470
2695
  "required": true
471
2696
  }
472
2697
  },
473
- "description": "Get a single issue by ID or identifier",
2698
+ "description": "Get a template by ID",
474
2699
  "examples": [
475
- "<%= config.bin %> issues get ENG-123",
476
- "<%= config.bin %> issues get ENG-123 --format table",
477
- "<%= config.bin %> issues get abc123"
2700
+ "<%= config.bin %> templates get TEMPLATE_ID",
2701
+ "<%= config.bin %> templates get TEMPLATE_ID --format table"
478
2702
  ],
479
2703
  "flags": {
480
2704
  "format": {
@@ -494,7 +2718,7 @@
494
2718
  },
495
2719
  "hasDynamicHelp": false,
496
2720
  "hiddenAliases": [],
497
- "id": "issues:get",
2721
+ "id": "templates:get",
498
2722
  "pluginAlias": "linear-cli-agents",
499
2723
  "pluginName": "linear-cli-agents",
500
2724
  "pluginType": "core",
@@ -504,21 +2728,18 @@
504
2728
  "relativePath": [
505
2729
  "dist",
506
2730
  "commands",
507
- "issues",
2731
+ "templates",
508
2732
  "get.js"
509
2733
  ]
510
2734
  },
511
- "issues:list": {
2735
+ "templates:list": {
512
2736
  "aliases": [],
513
2737
  "args": {},
514
- "description": "List issues with optional filtering",
2738
+ "description": "List templates in the workspace",
515
2739
  "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"
2740
+ "<%= config.bin %> templates list",
2741
+ "<%= config.bin %> templates list --format table",
2742
+ "<%= config.bin %> templates list --team ENG"
522
2743
  ],
523
2744
  "flags": {
524
2745
  "format": {
@@ -543,32 +2764,8 @@
543
2764
  "multiple": false,
544
2765
  "type": "option"
545
2766
  },
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
2767
  "first": {
571
- "description": "Number of issues to fetch (default: 50)",
2768
+ "description": "Number of templates to fetch (default: 50)",
572
2769
  "name": "first",
573
2770
  "default": 50,
574
2771
  "hasDynamicHelp": false,
@@ -585,7 +2782,7 @@
585
2782
  },
586
2783
  "hasDynamicHelp": false,
587
2784
  "hiddenAliases": [],
588
- "id": "issues:list",
2785
+ "id": "templates:list",
589
2786
  "pluginAlias": "linear-cli-agents",
590
2787
  "pluginName": "linear-cli-agents",
591
2788
  "pluginType": "core",
@@ -595,103 +2792,113 @@
595
2792
  "relativePath": [
596
2793
  "dist",
597
2794
  "commands",
598
- "issues",
2795
+ "templates",
599
2796
  "list.js"
600
2797
  ]
601
2798
  },
602
- "issues:update": {
2799
+ "templates:update": {
603
2800
  "aliases": [],
604
2801
  "args": {
605
2802
  "id": {
606
- "description": "Issue ID or identifier (e.g., ENG-123)",
2803
+ "description": "Template ID",
607
2804
  "name": "id",
608
2805
  "required": true
609
2806
  }
610
2807
  },
611
- "description": "Update an existing issue",
2808
+ "description": "Update a template",
612
2809
  "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"
2810
+ "<%= config.bin %> templates update TEMPLATE_ID --name \"Updated Name\"",
2811
+ "<%= config.bin %> templates update TEMPLATE_ID --template-data '{\"title\":\"New Bug: \",\"priority\":1}'"
616
2812
  ],
617
2813
  "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",
2814
+ "format": {
2815
+ "char": "F",
2816
+ "description": "Output format",
2817
+ "name": "format",
2818
+ "default": "json",
629
2819
  "hasDynamicHelp": false,
630
2820
  "multiple": false,
2821
+ "options": [
2822
+ "json",
2823
+ "table",
2824
+ "plain"
2825
+ ],
631
2826
  "type": "option"
632
2827
  },
633
- "title": {
634
- "description": "Issue title",
635
- "name": "title",
2828
+ "name": {
2829
+ "char": "n",
2830
+ "description": "Template name",
2831
+ "name": "name",
636
2832
  "hasDynamicHelp": false,
637
2833
  "multiple": false,
638
2834
  "type": "option"
639
2835
  },
640
2836
  "description": {
641
2837
  "char": "d",
642
- "description": "Issue description (markdown supported)",
2838
+ "description": "Template description",
643
2839
  "name": "description",
644
2840
  "hasDynamicHelp": false,
645
2841
  "multiple": false,
646
2842
  "type": "option"
647
2843
  },
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",
659
- "hasDynamicHelp": false,
660
- "multiple": false,
661
- "type": "option"
662
- },
663
- "state-id": {
664
- "description": "State ID",
665
- "name": "state-id",
666
- "hasDynamicHelp": false,
667
- "multiple": false,
668
- "type": "option"
669
- },
670
- "project-id": {
671
- "description": "Project ID",
672
- "name": "project-id",
673
- "hasDynamicHelp": false,
674
- "multiple": false,
675
- "type": "option"
676
- },
677
- "estimate": {
678
- "description": "Estimate points",
679
- "name": "estimate",
2844
+ "template-data": {
2845
+ "description": "Template data as JSON",
2846
+ "name": "template-data",
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": "templates:update",
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
+ "templates",
2865
+ "update.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.0"
2978
+ "version": "0.4.0"
766
2979
  }