hey-axi 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/manifest.json CHANGED
@@ -60,7 +60,8 @@
60
60
  "flags": [
61
61
  {
62
62
  "name": "allow-partial",
63
- "desc": "List what could be read of a thread that could only be read in part, with a notice saying what is missing"
63
+ "desc": "List what could be read of a thread that could only be read in part, with a notice saying what is missing",
64
+ "default": "false"
64
65
  }
65
66
  ],
66
67
  "synopsis": [
@@ -80,13 +81,16 @@
80
81
  "flags": [
81
82
  {
82
83
  "name": "force",
83
- "desc": "Replace an existing destination file"
84
+ "desc": "Replace an existing destination file",
85
+ "default": "false"
84
86
  },
85
87
  {
86
88
  "name": "output",
87
89
  "shorthand": "o",
88
90
  "value": true,
89
- "desc": "Destination file or directory"
91
+ "type": "string",
92
+ "desc": "Destination file or directory",
93
+ "default": ""
90
94
  }
91
95
  ],
92
96
  "synopsis": [
@@ -117,16 +121,21 @@
117
121
  {
118
122
  "name": "cookie",
119
123
  "value": true,
120
- "desc": "Session cookie value from browser (session_token)"
124
+ "type": "string",
125
+ "desc": "Session cookie value from browser (session_token)",
126
+ "default": ""
121
127
  },
122
128
  {
123
129
  "name": "no-browser",
124
- "desc": "Don't open browser, print URL instead"
130
+ "desc": "Don't open browser, print URL instead",
131
+ "default": "false"
125
132
  },
126
133
  {
127
134
  "name": "token",
128
135
  "value": true,
129
- "desc": "Pre-generated Bearer token"
136
+ "type": "string",
137
+ "desc": "Pre-generated Bearer token",
138
+ "default": ""
130
139
  }
131
140
  ],
132
141
  "synopsis": [
@@ -172,7 +181,8 @@
172
181
  "flags": [
173
182
  {
174
183
  "name": "stored",
175
- "desc": "Only print stored OAuth token (ignore HEY_TOKEN env var)"
184
+ "desc": "Only print stored OAuth token (ignore HEY_TOKEN env var)",
185
+ "default": "false"
176
186
  }
177
187
  ],
178
188
  "synopsis": [
@@ -193,17 +203,22 @@
193
203
  "flags": [
194
204
  {
195
205
  "name": "all",
196
- "desc": "Fetch all results (override --limit)"
206
+ "desc": "Fetch all results (override --limit)",
207
+ "default": "false"
197
208
  },
198
209
  {
199
210
  "name": "limit",
200
211
  "value": true,
201
- "desc": "Maximum number of threads to show"
212
+ "type": "int",
213
+ "desc": "Maximum number of threads to show",
214
+ "default": "0"
202
215
  },
203
216
  {
204
217
  "name": "page",
205
218
  "value": true,
206
- "desc": "Continue from a next_page cursor"
219
+ "type": "string",
220
+ "desc": "Continue from a next_page cursor",
221
+ "default": ""
207
222
  }
208
223
  ],
209
224
  "subcommands": [
@@ -215,12 +230,15 @@
215
230
  "flags": [
216
231
  {
217
232
  "name": "all",
218
- "desc": "Fetch all results (override --limit)"
233
+ "desc": "Fetch all results (override --limit)",
234
+ "default": "false"
219
235
  },
220
236
  {
221
237
  "name": "limit",
222
238
  "value": true,
223
- "desc": "Maximum number of boxes to show"
239
+ "type": "int",
240
+ "desc": "Maximum number of boxes to show",
241
+ "default": "0"
224
242
  }
225
243
  ],
226
244
  "synopsis": [
@@ -240,17 +258,22 @@
240
258
  "flags": [
241
259
  {
242
260
  "name": "all",
243
- "desc": "Fetch all results (override --limit)"
261
+ "desc": "Fetch all results (override --limit)",
262
+ "default": "false"
244
263
  },
245
264
  {
246
265
  "name": "limit",
247
266
  "value": true,
248
- "desc": "Maximum number of threads to show"
267
+ "type": "int",
268
+ "desc": "Maximum number of threads to show",
269
+ "default": "0"
249
270
  },
250
271
  {
251
272
  "name": "page",
252
273
  "value": true,
253
- "desc": "Continue from a next_page cursor"
274
+ "type": "string",
275
+ "desc": "Continue from a next_page cursor",
276
+ "default": ""
254
277
  }
255
278
  ],
256
279
  "synopsis": [
@@ -285,12 +308,15 @@
285
308
  "flags": [
286
309
  {
287
310
  "name": "all",
288
- "desc": "Fetch all results (override --limit)"
311
+ "desc": "Fetch all results (override --limit)",
312
+ "default": "false"
289
313
  },
290
314
  {
291
315
  "name": "limit",
292
316
  "value": true,
293
- "desc": "Maximum number of threads to show per bucket"
317
+ "type": "int",
318
+ "desc": "Maximum number of threads to show per bucket",
319
+ "default": "0"
294
320
  }
295
321
  ],
296
322
  "synopsis": [
@@ -322,24 +348,30 @@
322
348
  "flags": [
323
349
  {
324
350
  "name": "next-week",
325
- "desc": "Bubble the threads up Monday morning"
351
+ "desc": "Bubble the threads up Monday morning",
352
+ "default": "false"
326
353
  },
327
354
  {
328
355
  "name": "now",
329
- "desc": "Bubble the threads up right away"
356
+ "desc": "Bubble the threads up right away",
357
+ "default": "false"
330
358
  },
331
359
  {
332
360
  "name": "on",
333
361
  "value": true,
334
- "desc": "Bubble the threads up on a date (YYYY-MM-DD)"
362
+ "type": "string",
363
+ "desc": "Bubble the threads up on a date (YYYY-MM-DD)",
364
+ "default": ""
335
365
  },
336
366
  {
337
367
  "name": "tomorrow",
338
- "desc": "Bubble the threads up tomorrow morning"
368
+ "desc": "Bubble the threads up tomorrow morning",
369
+ "default": "false"
339
370
  },
340
371
  {
341
372
  "name": "weekend",
342
- "desc": "Bubble the threads up Saturday morning"
373
+ "desc": "Bubble the threads up Saturday morning",
374
+ "default": "false"
343
375
  }
344
376
  ],
345
377
  "synopsis": [
@@ -384,18 +416,24 @@
384
416
  {
385
417
  "name": "attach",
386
418
  "value": true,
387
- "desc": "File to attach (repeatable)"
419
+ "type": "stringArray",
420
+ "desc": "File to attach (repeatable)",
421
+ "default": "[]"
388
422
  },
389
423
  {
390
424
  "name": "message",
391
425
  "shorthand": "m",
392
426
  "value": true,
393
- "desc": "Reply message as Markdown (or opens $EDITOR)"
427
+ "type": "string",
428
+ "desc": "Reply message as Markdown (or opens $EDITOR)",
429
+ "default": ""
394
430
  },
395
431
  {
396
432
  "name": "message-html",
397
433
  "value": true,
398
- "desc": "Reply message as raw HTML instead of Markdown"
434
+ "type": "string",
435
+ "desc": "Reply message as raw HTML instead of Markdown",
436
+ "default": ""
399
437
  }
400
438
  ],
401
439
  "synopsis": [
@@ -432,17 +470,22 @@
432
470
  "flags": [
433
471
  {
434
472
  "name": "all",
435
- "desc": "Fetch all results (override --limit)"
473
+ "desc": "Fetch all results (override --limit)",
474
+ "default": "false"
436
475
  },
437
476
  {
438
477
  "name": "limit",
439
478
  "value": true,
440
- "desc": "Maximum number of threads to show"
479
+ "type": "int",
480
+ "desc": "Maximum number of threads to show",
481
+ "default": "0"
441
482
  },
442
483
  {
443
484
  "name": "page",
444
485
  "value": true,
445
- "desc": "Continue from a next_page cursor"
486
+ "type": "string",
487
+ "desc": "Continue from a next_page cursor",
488
+ "default": ""
446
489
  }
447
490
  ],
448
491
  "subcommands": [
@@ -454,17 +497,22 @@
454
497
  "flags": [
455
498
  {
456
499
  "name": "all",
457
- "desc": "Fetch all results (override --limit)"
500
+ "desc": "Fetch all results (override --limit)",
501
+ "default": "false"
458
502
  },
459
503
  {
460
504
  "name": "limit",
461
505
  "value": true,
462
- "desc": "Maximum number of threads to show"
506
+ "type": "int",
507
+ "desc": "Maximum number of threads to show",
508
+ "default": "0"
463
509
  },
464
510
  {
465
511
  "name": "page",
466
512
  "value": true,
467
- "desc": "Continue from a next_page cursor"
513
+ "type": "string",
514
+ "desc": "Continue from a next_page cursor",
515
+ "default": ""
468
516
  }
469
517
  ],
470
518
  "synopsis": [
@@ -523,7 +571,9 @@
523
571
  {
524
572
  "name": "content",
525
573
  "value": true,
526
- "desc": "Text selected from the email entry (required)"
574
+ "type": "string",
575
+ "desc": "Text selected from the email entry (required)",
576
+ "default": ""
527
577
  }
528
578
  ],
529
579
  "synopsis": [
@@ -572,17 +622,22 @@
572
622
  "flags": [
573
623
  {
574
624
  "name": "all",
575
- "desc": "Fetch all results (override --limit)"
625
+ "desc": "Fetch all results (override --limit)",
626
+ "default": "false"
576
627
  },
577
628
  {
578
629
  "name": "limit",
579
630
  "value": true,
580
- "desc": "Maximum number of threads to show"
631
+ "type": "int",
632
+ "desc": "Maximum number of threads to show",
633
+ "default": "0"
581
634
  },
582
635
  {
583
636
  "name": "page",
584
637
  "value": true,
585
- "desc": "Continue from a next_page cursor"
638
+ "type": "string",
639
+ "desc": "Continue from a next_page cursor",
640
+ "default": ""
586
641
  }
587
642
  ],
588
643
  "subcommands": [
@@ -594,7 +649,9 @@
594
649
  {
595
650
  "name": "to",
596
651
  "value": true,
597
- "desc": "Collection ID (required)"
652
+ "type": "string",
653
+ "desc": "Collection ID (required)",
654
+ "default": ""
598
655
  }
599
656
  ],
600
657
  "synopsis": [
@@ -613,7 +670,9 @@
613
670
  {
614
671
  "name": "summary",
615
672
  "value": true,
616
- "desc": "Description shown with the collection"
673
+ "type": "string",
674
+ "desc": "Description shown with the collection",
675
+ "default": ""
617
676
  }
618
677
  ],
619
678
  "synopsis": [
@@ -632,12 +691,15 @@
632
691
  "flags": [
633
692
  {
634
693
  "name": "all",
635
- "desc": "Fetch all results (override --limit)"
694
+ "desc": "Fetch all results (override --limit)",
695
+ "default": "false"
636
696
  },
637
697
  {
638
698
  "name": "limit",
639
699
  "value": true,
640
- "desc": "Maximum number of collections to show"
700
+ "type": "int",
701
+ "desc": "Maximum number of collections to show",
702
+ "default": "0"
641
703
  }
642
704
  ],
643
705
  "synopsis": [
@@ -657,7 +719,9 @@
657
719
  {
658
720
  "name": "from",
659
721
  "value": true,
660
- "desc": "Collection ID (required)"
722
+ "type": "string",
723
+ "desc": "Collection ID (required)",
724
+ "default": ""
661
725
  }
662
726
  ],
663
727
  "synopsis": [
@@ -676,12 +740,16 @@
676
740
  {
677
741
  "name": "name",
678
742
  "value": true,
679
- "desc": "New collection name"
743
+ "type": "string",
744
+ "desc": "New collection name",
745
+ "default": ""
680
746
  },
681
747
  {
682
748
  "name": "summary",
683
749
  "value": true,
684
- "desc": "New collection description"
750
+ "type": "string",
751
+ "desc": "New collection description",
752
+ "default": ""
685
753
  }
686
754
  ],
687
755
  "synopsis": [
@@ -700,17 +768,22 @@
700
768
  "flags": [
701
769
  {
702
770
  "name": "all",
703
- "desc": "Fetch all results (override --limit)"
771
+ "desc": "Fetch all results (override --limit)",
772
+ "default": "false"
704
773
  },
705
774
  {
706
775
  "name": "limit",
707
776
  "value": true,
708
- "desc": "Maximum number of threads to show"
777
+ "type": "int",
778
+ "desc": "Maximum number of threads to show",
779
+ "default": "0"
709
780
  },
710
781
  {
711
782
  "name": "page",
712
783
  "value": true,
713
- "desc": "Continue from a next_page cursor"
784
+ "type": "string",
785
+ "desc": "Continue from a next_page cursor",
786
+ "default": ""
714
787
  }
715
788
  ],
716
789
  "synopsis": [
@@ -749,56 +822,76 @@
749
822
  {
750
823
  "name": "attach",
751
824
  "value": true,
752
- "desc": "File to attach (repeatable)"
825
+ "type": "stringArray",
826
+ "desc": "File to attach (repeatable)",
827
+ "default": "[]"
753
828
  },
754
829
  {
755
830
  "name": "bcc",
756
831
  "value": true,
757
- "desc": "BCC recipient email address(es)"
832
+ "type": "string",
833
+ "desc": "BCC recipient email address(es)",
834
+ "default": ""
758
835
  },
759
836
  {
760
837
  "name": "cc",
761
838
  "value": true,
762
- "desc": "CC recipient email address(es)"
839
+ "type": "string",
840
+ "desc": "CC recipient email address(es)",
841
+ "default": ""
763
842
  },
764
843
  {
765
844
  "name": "draft",
766
- "desc": "Save as a draft instead of sending"
845
+ "desc": "Save as a draft instead of sending",
846
+ "default": "false"
767
847
  },
768
848
  {
769
849
  "name": "from",
770
850
  "value": true,
771
- "desc": "Configured sender email or ID (see hey account senders)"
851
+ "type": "string",
852
+ "desc": "Configured sender email or ID (see hey account senders)",
853
+ "default": ""
772
854
  },
773
855
  {
774
856
  "name": "message",
775
857
  "shorthand": "m",
776
858
  "value": true,
777
- "desc": "Message body as Markdown (or opens $EDITOR)"
859
+ "type": "string",
860
+ "desc": "Message body as Markdown (or opens $EDITOR)",
861
+ "default": ""
778
862
  },
779
863
  {
780
864
  "name": "message-html",
781
865
  "value": true,
782
- "desc": "Message body as raw HTML instead of Markdown"
866
+ "type": "string",
867
+ "desc": "Message body as raw HTML instead of Markdown",
868
+ "default": ""
783
869
  },
784
870
  {
785
871
  "name": "no-name-tag",
786
- "desc": "Leave the sender's HEY name tag off a new message"
872
+ "desc": "Leave the sender's HEY name tag off a new message",
873
+ "default": "false"
787
874
  },
788
875
  {
789
876
  "name": "subject",
790
877
  "value": true,
791
- "desc": "Message subject (required for a new message)"
878
+ "type": "string",
879
+ "desc": "Message subject (required for a new message)",
880
+ "default": ""
792
881
  },
793
882
  {
794
883
  "name": "thread-id",
795
884
  "value": true,
796
- "desc": "Reply to this thread instead of starting a new one"
885
+ "type": "string",
886
+ "desc": "Reply to this thread instead of starting a new one",
887
+ "default": ""
797
888
  },
798
889
  {
799
890
  "name": "to",
800
891
  "value": true,
801
- "desc": "Recipient email address(es)"
892
+ "type": "string",
893
+ "desc": "Recipient email address(es)",
894
+ "default": ""
802
895
  }
803
896
  ],
804
897
  "synopsis": [
@@ -879,22 +972,30 @@
879
972
  {
880
973
  "name": "account-user-id",
881
974
  "value": true,
882
- "desc": "Account user ID for multi-account identities"
975
+ "type": "int",
976
+ "desc": "Account user ID for multi-account identities",
977
+ "default": "0"
883
978
  },
884
979
  {
885
980
  "name": "alias",
886
981
  "value": true,
887
- "desc": "Alternate email address (repeatable)"
982
+ "type": "strings",
983
+ "desc": "Alternate email address (repeatable)",
984
+ "default": "[]"
888
985
  },
889
986
  {
890
987
  "name": "email",
891
988
  "value": true,
892
- "desc": "Primary email address (required)"
989
+ "type": "string",
990
+ "desc": "Primary email address (required)",
991
+ "default": ""
893
992
  },
894
993
  {
895
994
  "name": "name",
896
995
  "value": true,
897
- "desc": "Contact name (required)"
996
+ "type": "string",
997
+ "desc": "Contact name (required)",
998
+ "default": ""
898
999
  }
899
1000
  ],
900
1001
  "synopsis": [
@@ -937,11 +1038,13 @@
937
1038
  "flags": [
938
1039
  {
939
1040
  "name": "all",
940
- "desc": "Fetch up to 100 results pages from --page onward"
1041
+ "desc": "Fetch up to 100 results pages from --page onward",
1042
+ "default": "false"
941
1043
  },
942
1044
  {
943
1045
  "name": "page",
944
1046
  "value": true,
1047
+ "type": "int",
945
1048
  "desc": "Results page",
946
1049
  "default": "1"
947
1050
  }
@@ -982,12 +1085,16 @@
982
1085
  "name": "note",
983
1086
  "shorthand": "n",
984
1087
  "value": true,
985
- "desc": "Private note as Markdown (or opens $EDITOR)"
1088
+ "type": "string",
1089
+ "desc": "Private note as Markdown (or opens $EDITOR)",
1090
+ "default": ""
986
1091
  },
987
1092
  {
988
1093
  "name": "note-html",
989
1094
  "value": true,
990
- "desc": "Private note as raw HTML instead of Markdown"
1095
+ "type": "string",
1096
+ "desc": "Private note as raw HTML instead of Markdown",
1097
+ "default": ""
991
1098
  }
992
1099
  ],
993
1100
  "synopsis": [
@@ -1048,17 +1155,22 @@
1048
1155
  "flags": [
1049
1156
  {
1050
1157
  "name": "all",
1051
- "desc": "Fetch all results (override --limit)"
1158
+ "desc": "Fetch all results (override --limit)",
1159
+ "default": "false"
1052
1160
  },
1053
1161
  {
1054
1162
  "name": "limit",
1055
1163
  "value": true,
1056
- "desc": "Maximum number of threads to show"
1164
+ "type": "int",
1165
+ "desc": "Maximum number of threads to show",
1166
+ "default": "0"
1057
1167
  },
1058
1168
  {
1059
1169
  "name": "page",
1060
1170
  "value": true,
1061
- "desc": "Continue from a next_page cursor"
1171
+ "type": "string",
1172
+ "desc": "Continue from a next_page cursor",
1173
+ "default": ""
1062
1174
  }
1063
1175
  ],
1064
1176
  "synopsis": [
@@ -1091,17 +1203,23 @@
1091
1203
  {
1092
1204
  "name": "alias",
1093
1205
  "value": true,
1094
- "desc": "Replacement alternate email address (repeatable)"
1206
+ "type": "strings",
1207
+ "desc": "Replacement alternate email address (repeatable)",
1208
+ "default": "[]"
1095
1209
  },
1096
1210
  {
1097
1211
  "name": "email",
1098
1212
  "value": true,
1099
- "desc": "New primary email address"
1213
+ "type": "string",
1214
+ "desc": "New primary email address",
1215
+ "default": ""
1100
1216
  },
1101
1217
  {
1102
1218
  "name": "name",
1103
1219
  "value": true,
1104
- "desc": "New contact name"
1220
+ "type": "string",
1221
+ "desc": "New contact name",
1222
+ "default": ""
1105
1223
  }
1106
1224
  ],
1107
1225
  "synopsis": [
@@ -1154,38 +1272,52 @@
1154
1272
  {
1155
1273
  "name": "bcc",
1156
1274
  "value": true,
1157
- "desc": "Replace the BCC recipients (comma separated; empty clears)"
1275
+ "type": "string",
1276
+ "desc": "Replace the BCC recipients (comma separated; empty clears)",
1277
+ "default": ""
1158
1278
  },
1159
1279
  {
1160
1280
  "name": "cc",
1161
1281
  "value": true,
1162
- "desc": "Replace the CC recipients (comma separated; empty clears)"
1282
+ "type": "string",
1283
+ "desc": "Replace the CC recipients (comma separated; empty clears)",
1284
+ "default": ""
1163
1285
  },
1164
1286
  {
1165
1287
  "name": "from",
1166
1288
  "value": true,
1167
- "desc": "Replace the sender with a configured email or ID in this draft account"
1289
+ "type": "string",
1290
+ "desc": "Replace the sender with a configured email or ID in this draft account",
1291
+ "default": ""
1168
1292
  },
1169
1293
  {
1170
1294
  "name": "message",
1171
1295
  "shorthand": "m",
1172
1296
  "value": true,
1173
- "desc": "Replace the body with this Markdown"
1297
+ "type": "string",
1298
+ "desc": "Replace the body with this Markdown",
1299
+ "default": ""
1174
1300
  },
1175
1301
  {
1176
1302
  "name": "message-html",
1177
1303
  "value": true,
1178
- "desc": "Replace the body with raw HTML instead of Markdown"
1304
+ "type": "string",
1305
+ "desc": "Replace the body with raw HTML instead of Markdown",
1306
+ "default": ""
1179
1307
  },
1180
1308
  {
1181
1309
  "name": "subject",
1182
1310
  "value": true,
1183
- "desc": "Replace the subject"
1311
+ "type": "string",
1312
+ "desc": "Replace the subject",
1313
+ "default": ""
1184
1314
  },
1185
1315
  {
1186
1316
  "name": "to",
1187
1317
  "value": true,
1188
- "desc": "Replace the To recipients (comma separated; empty clears)"
1318
+ "type": "string",
1319
+ "desc": "Replace the To recipients (comma separated; empty clears)",
1320
+ "default": ""
1189
1321
  }
1190
1322
  ],
1191
1323
  "synopsis": [
@@ -1204,17 +1336,22 @@
1204
1336
  "flags": [
1205
1337
  {
1206
1338
  "name": "all",
1207
- "desc": "Fetch all results (override --limit)"
1339
+ "desc": "Fetch all results (override --limit)",
1340
+ "default": "false"
1208
1341
  },
1209
1342
  {
1210
1343
  "name": "limit",
1211
1344
  "value": true,
1212
- "desc": "Maximum number of drafts to show"
1345
+ "type": "int",
1346
+ "desc": "Maximum number of drafts to show",
1347
+ "default": "0"
1213
1348
  },
1214
1349
  {
1215
1350
  "name": "page",
1216
1351
  "value": true,
1217
- "desc": "Continue from a next_page cursor"
1352
+ "type": "string",
1353
+ "desc": "Continue from a next_page cursor",
1354
+ "default": ""
1218
1355
  }
1219
1356
  ],
1220
1357
  "synopsis": [
@@ -1269,98 +1406,133 @@
1269
1406
  "flags": [
1270
1407
  {
1271
1408
  "name": "all-day",
1272
- "desc": "Make it an all-day event"
1409
+ "desc": "Make it an all-day event",
1410
+ "default": "false"
1273
1411
  },
1274
1412
  {
1275
1413
  "name": "calendar",
1276
1414
  "value": true,
1277
- "desc": "Calendar ID to file the event on"
1415
+ "type": "int",
1416
+ "desc": "Calendar ID to file the event on",
1417
+ "default": "0"
1278
1418
  },
1279
1419
  {
1280
1420
  "name": "circle",
1281
- "desc": "Circle the event"
1421
+ "desc": "Circle the event",
1422
+ "default": "false"
1282
1423
  },
1283
1424
  {
1284
1425
  "name": "countdown",
1285
1426
  "value": true,
1286
- "desc": "Count down this many units to the event"
1427
+ "type": "int",
1428
+ "desc": "Count down this many units to the event",
1429
+ "default": "0"
1287
1430
  },
1288
1431
  {
1289
1432
  "name": "countdown-unit",
1290
1433
  "value": true,
1434
+ "type": "string",
1291
1435
  "desc": "Countdown unit: days, weeks or months",
1292
1436
  "default": "days"
1293
1437
  },
1294
1438
  {
1295
1439
  "name": "end-time",
1296
1440
  "value": true,
1297
- "desc": "End time (HH:MM, defaults to an hour after the start)"
1441
+ "type": "string",
1442
+ "desc": "End time (HH:MM, defaults to an hour after the start)",
1443
+ "default": ""
1298
1444
  },
1299
1445
  {
1300
1446
  "name": "ends-on",
1301
1447
  "value": true,
1302
- "desc": "End date (YYYY-MM-DD, defaults to the start date)"
1448
+ "type": "string",
1449
+ "desc": "End date (YYYY-MM-DD, defaults to the start date)",
1450
+ "default": ""
1303
1451
  },
1304
1452
  {
1305
1453
  "name": "invite",
1306
1454
  "value": true,
1307
- "desc": "Email address to invite (repeatable, replaces the guest list)"
1455
+ "type": "stringArray",
1456
+ "desc": "Email address to invite (repeatable, replaces the guest list)",
1457
+ "default": "[]"
1308
1458
  },
1309
1459
  {
1310
1460
  "name": "link",
1311
1461
  "value": true,
1312
- "desc": "Meeting or reference URL"
1462
+ "type": "string",
1463
+ "desc": "Meeting or reference URL",
1464
+ "default": ""
1313
1465
  },
1314
1466
  {
1315
1467
  "name": "location",
1316
1468
  "value": true,
1317
- "desc": "Event location"
1469
+ "type": "string",
1470
+ "desc": "Event location",
1471
+ "default": ""
1318
1472
  },
1319
1473
  {
1320
1474
  "name": "notes",
1321
1475
  "value": true,
1322
- "desc": "Event notes"
1476
+ "type": "string",
1477
+ "desc": "Event notes",
1478
+ "default": ""
1323
1479
  },
1324
1480
  {
1325
1481
  "name": "remind",
1326
1482
  "value": true,
1327
- "desc": "Notice before the event, e.g. 10m, 1h, 1d (repeatable)"
1483
+ "type": "stringArray",
1484
+ "desc": "Notice before the event, e.g. 10m, 1h, 1d (repeatable)",
1485
+ "default": "[]"
1328
1486
  },
1329
1487
  {
1330
1488
  "name": "repeat",
1331
1489
  "value": true,
1332
- "desc": "Repeat: every_day, every_weekday, every_week, every_other_week, every_day_of_month, every_year; custom only copies an opaque schedule in a future occurrence edit"
1490
+ "type": "string",
1491
+ "desc": "Repeat: every_day, every_weekday, every_week, every_other_week, every_day_of_month, every_year; custom only copies an opaque schedule in a future occurrence edit",
1492
+ "default": ""
1333
1493
  },
1334
1494
  {
1335
1495
  "name": "repeat-times",
1336
1496
  "value": true,
1337
- "desc": "Stop repeating after this many occurrences"
1497
+ "type": "int",
1498
+ "desc": "Stop repeating after this many occurrences",
1499
+ "default": "0"
1338
1500
  },
1339
1501
  {
1340
1502
  "name": "repeat-until",
1341
1503
  "value": true,
1342
- "desc": "Stop repeating on this date (YYYY-MM-DD)"
1504
+ "type": "string",
1505
+ "desc": "Stop repeating on this date (YYYY-MM-DD)",
1506
+ "default": ""
1343
1507
  },
1344
1508
  {
1345
1509
  "name": "start-time",
1346
1510
  "value": true,
1347
- "desc": "Start time (HH:MM)"
1511
+ "type": "string",
1512
+ "desc": "Start time (HH:MM)",
1513
+ "default": ""
1348
1514
  },
1349
1515
  {
1350
1516
  "name": "starts-on",
1351
1517
  "value": true,
1352
- "desc": "Start date (YYYY-MM-DD, defaults to today)"
1518
+ "type": "string",
1519
+ "desc": "Start date (YYYY-MM-DD, defaults to today)",
1520
+ "default": ""
1353
1521
  },
1354
1522
  {
1355
1523
  "name": "time-zone",
1356
1524
  "value": true,
1357
- "desc": "IANA zone the times are written in (defaults to this machine's)"
1525
+ "type": "string",
1526
+ "desc": "IANA zone the times are written in (defaults to this machine's)",
1527
+ "default": ""
1358
1528
  },
1359
1529
  {
1360
1530
  "name": "title",
1361
1531
  "shorthand": "t",
1362
1532
  "value": true,
1363
- "desc": "Event title"
1533
+ "type": "string",
1534
+ "desc": "Event title",
1535
+ "default": ""
1364
1536
  }
1365
1537
  ],
1366
1538
  "synopsis": [
@@ -1379,12 +1551,15 @@
1379
1551
  "flags": [
1380
1552
  {
1381
1553
  "name": "all",
1382
- "desc": "Fetch all results (override --limit)"
1554
+ "desc": "Fetch all results (override --limit)",
1555
+ "default": "false"
1383
1556
  },
1384
1557
  {
1385
1558
  "name": "limit",
1386
1559
  "value": true,
1387
- "desc": "Maximum number of events to show"
1560
+ "type": "int",
1561
+ "desc": "Maximum number of events to show",
1562
+ "default": "0"
1388
1563
  }
1389
1564
  ],
1390
1565
  "synopsis": [
@@ -1415,112 +1590,152 @@
1415
1590
  "flags": [
1416
1591
  {
1417
1592
  "name": "all-day",
1418
- "desc": "Make it an all-day event"
1593
+ "desc": "Make it an all-day event",
1594
+ "default": "false"
1419
1595
  },
1420
1596
  {
1421
1597
  "name": "allow-plain-notes",
1422
- "desc": "Let an --occurrence edit send notes it is not changing back as plain text, losing their formatting"
1598
+ "desc": "Let an --occurrence edit send notes it is not changing back as plain text, losing their formatting",
1599
+ "default": "false"
1423
1600
  },
1424
1601
  {
1425
1602
  "name": "apply-to",
1426
1603
  "value": true,
1427
- "desc": "How much of the series an --occurrence edit reaches: current (that day alone) or future (that day and every one after it)"
1604
+ "type": "string",
1605
+ "desc": "How much of the series an --occurrence edit reaches: current (that day alone) or future (that day and every one after it)",
1606
+ "default": ""
1428
1607
  },
1429
1608
  {
1430
1609
  "name": "calendar",
1431
1610
  "value": true,
1432
- "desc": "Calendar ID to file the event on"
1611
+ "type": "int",
1612
+ "desc": "Calendar ID to file the event on",
1613
+ "default": "0"
1433
1614
  },
1434
1615
  {
1435
1616
  "name": "circle",
1436
- "desc": "Circle the event"
1617
+ "desc": "Circle the event",
1618
+ "default": "false"
1437
1619
  },
1438
1620
  {
1439
1621
  "name": "countdown",
1440
1622
  "value": true,
1441
- "desc": "Count down this many units to the event"
1623
+ "type": "int",
1624
+ "desc": "Count down this many units to the event",
1625
+ "default": "0"
1442
1626
  },
1443
1627
  {
1444
1628
  "name": "countdown-unit",
1445
1629
  "value": true,
1630
+ "type": "string",
1446
1631
  "desc": "Countdown unit: days, weeks or months",
1447
1632
  "default": "days"
1448
1633
  },
1449
1634
  {
1450
1635
  "name": "end-time",
1451
1636
  "value": true,
1452
- "desc": "End time (HH:MM, defaults to an hour after the start)"
1637
+ "type": "string",
1638
+ "desc": "End time (HH:MM, defaults to an hour after the start)",
1639
+ "default": ""
1453
1640
  },
1454
1641
  {
1455
1642
  "name": "ends-on",
1456
1643
  "value": true,
1457
- "desc": "End date (YYYY-MM-DD, defaults to the start date)"
1644
+ "type": "string",
1645
+ "desc": "End date (YYYY-MM-DD, defaults to the start date)",
1646
+ "default": ""
1458
1647
  },
1459
1648
  {
1460
1649
  "name": "invite",
1461
1650
  "value": true,
1462
- "desc": "Email address to invite (repeatable, replaces the guest list)"
1651
+ "type": "stringArray",
1652
+ "desc": "Email address to invite (repeatable, replaces the guest list)",
1653
+ "default": "[]"
1463
1654
  },
1464
1655
  {
1465
1656
  "name": "link",
1466
1657
  "value": true,
1467
- "desc": "Meeting or reference URL"
1658
+ "type": "string",
1659
+ "desc": "Meeting or reference URL",
1660
+ "default": ""
1468
1661
  },
1469
1662
  {
1470
1663
  "name": "location",
1471
1664
  "value": true,
1472
- "desc": "Event location"
1665
+ "type": "string",
1666
+ "desc": "Event location",
1667
+ "default": ""
1473
1668
  },
1474
1669
  {
1475
1670
  "name": "notes",
1476
1671
  "value": true,
1477
- "desc": "Event notes"
1672
+ "type": "string",
1673
+ "desc": "Event notes",
1674
+ "default": ""
1478
1675
  },
1479
1676
  {
1480
1677
  "name": "occurrence",
1481
1678
  "value": true,
1482
- "desc": "One day of a repeating event, by the occurrence_id 'hey event day' serves (<series id>_<YYYY-MM-DD>)"
1679
+ "type": "string",
1680
+ "desc": "One day of a repeating event, by the occurrence_id 'hey event day' serves (<series id>_<YYYY-MM-DD>)",
1681
+ "default": ""
1483
1682
  },
1484
1683
  {
1485
1684
  "name": "remind",
1486
1685
  "value": true,
1487
- "desc": "Notice before the event, e.g. 10m, 1h, 1d (repeatable)"
1686
+ "type": "stringArray",
1687
+ "desc": "Notice before the event, e.g. 10m, 1h, 1d (repeatable)",
1688
+ "default": "[]"
1488
1689
  },
1489
1690
  {
1490
1691
  "name": "repeat",
1491
1692
  "value": true,
1492
- "desc": "Repeat: every_day, every_weekday, every_week, every_other_week, every_day_of_month, every_year; custom only copies an opaque schedule in a future occurrence edit"
1693
+ "type": "string",
1694
+ "desc": "Repeat: every_day, every_weekday, every_week, every_other_week, every_day_of_month, every_year; custom only copies an opaque schedule in a future occurrence edit",
1695
+ "default": ""
1493
1696
  },
1494
1697
  {
1495
1698
  "name": "repeat-times",
1496
1699
  "value": true,
1497
- "desc": "Stop repeating after this many occurrences"
1700
+ "type": "int",
1701
+ "desc": "Stop repeating after this many occurrences",
1702
+ "default": "0"
1498
1703
  },
1499
1704
  {
1500
1705
  "name": "repeat-until",
1501
1706
  "value": true,
1502
- "desc": "Stop repeating on this date (YYYY-MM-DD)"
1707
+ "type": "string",
1708
+ "desc": "Stop repeating on this date (YYYY-MM-DD)",
1709
+ "default": ""
1503
1710
  },
1504
1711
  {
1505
1712
  "name": "start-time",
1506
1713
  "value": true,
1507
- "desc": "Start time (HH:MM)"
1714
+ "type": "string",
1715
+ "desc": "Start time (HH:MM)",
1716
+ "default": ""
1508
1717
  },
1509
1718
  {
1510
1719
  "name": "starts-on",
1511
1720
  "value": true,
1512
- "desc": "Start date (YYYY-MM-DD, defaults to today)"
1721
+ "type": "string",
1722
+ "desc": "Start date (YYYY-MM-DD, defaults to today)",
1723
+ "default": ""
1513
1724
  },
1514
1725
  {
1515
1726
  "name": "time-zone",
1516
1727
  "value": true,
1517
- "desc": "IANA zone the times are written in (defaults to this machine's)"
1728
+ "type": "string",
1729
+ "desc": "IANA zone the times are written in (defaults to this machine's)",
1730
+ "default": ""
1518
1731
  },
1519
1732
  {
1520
1733
  "name": "title",
1521
1734
  "shorthand": "t",
1522
1735
  "value": true,
1523
- "desc": "Event title"
1736
+ "type": "string",
1737
+ "desc": "Event title",
1738
+ "default": ""
1524
1739
  }
1525
1740
  ],
1526
1741
  "synopsis": [
@@ -1539,27 +1754,36 @@
1539
1754
  "flags": [
1540
1755
  {
1541
1756
  "name": "all",
1542
- "desc": "Fetch all results (override --limit)"
1757
+ "desc": "Fetch all results (override --limit)",
1758
+ "default": "false"
1543
1759
  },
1544
1760
  {
1545
1761
  "name": "calendar",
1546
1762
  "value": true,
1547
- "desc": "Calendar ID to read (defaults to every calendar)"
1763
+ "type": "int",
1764
+ "desc": "Calendar ID to read (defaults to every calendar)",
1765
+ "default": "0"
1548
1766
  },
1549
1767
  {
1550
1768
  "name": "ends-on",
1551
1769
  "value": true,
1552
- "desc": "End date (YYYY-MM-DD)"
1770
+ "type": "string",
1771
+ "desc": "End date (YYYY-MM-DD)",
1772
+ "default": ""
1553
1773
  },
1554
1774
  {
1555
1775
  "name": "limit",
1556
1776
  "value": true,
1557
- "desc": "Maximum number of events to show"
1777
+ "type": "int",
1778
+ "desc": "Maximum number of events to show",
1779
+ "default": "0"
1558
1780
  },
1559
1781
  {
1560
1782
  "name": "starts-on",
1561
1783
  "value": true,
1562
- "desc": "Start date (YYYY-MM-DD)"
1784
+ "type": "string",
1785
+ "desc": "Start date (YYYY-MM-DD)",
1786
+ "default": ""
1563
1787
  }
1564
1788
  ],
1565
1789
  "synopsis": [
@@ -1578,12 +1802,15 @@
1578
1802
  "flags": [
1579
1803
  {
1580
1804
  "name": "all",
1581
- "desc": "Fetch all results (override --limit)"
1805
+ "desc": "Fetch all results (override --limit)",
1806
+ "default": "false"
1582
1807
  },
1583
1808
  {
1584
1809
  "name": "limit",
1585
1810
  "value": true,
1586
- "desc": "Maximum number of events to show"
1811
+ "type": "int",
1812
+ "desc": "Maximum number of events to show",
1813
+ "default": "0"
1587
1814
  }
1588
1815
  ],
1589
1816
  "synopsis": [
@@ -1609,28 +1836,38 @@
1609
1836
  {
1610
1837
  "name": "bcc",
1611
1838
  "value": true,
1612
- "desc": "BCC recipient email address(es)"
1839
+ "type": "string",
1840
+ "desc": "BCC recipient email address(es)",
1841
+ "default": ""
1613
1842
  },
1614
1843
  {
1615
1844
  "name": "cc",
1616
1845
  "value": true,
1617
- "desc": "CC recipient email address(es)"
1846
+ "type": "string",
1847
+ "desc": "CC recipient email address(es)",
1848
+ "default": ""
1618
1849
  },
1619
1850
  {
1620
1851
  "name": "message",
1621
1852
  "shorthand": "m",
1622
1853
  "value": true,
1623
- "desc": "Optional Markdown note above the forwarded message"
1854
+ "type": "string",
1855
+ "desc": "Optional Markdown note above the forwarded message",
1856
+ "default": ""
1624
1857
  },
1625
1858
  {
1626
1859
  "name": "message-html",
1627
1860
  "value": true,
1628
- "desc": "The note as raw HTML instead of Markdown"
1861
+ "type": "string",
1862
+ "desc": "The note as raw HTML instead of Markdown",
1863
+ "default": ""
1629
1864
  },
1630
1865
  {
1631
1866
  "name": "to",
1632
1867
  "value": true,
1633
- "desc": "Recipient email address(es)"
1868
+ "type": "string",
1869
+ "desc": "Recipient email address(es)",
1870
+ "default": ""
1634
1871
  }
1635
1872
  ],
1636
1873
  "synopsis": [
@@ -1655,7 +1892,9 @@
1655
1892
  {
1656
1893
  "name": "date",
1657
1894
  "value": true,
1658
- "desc": "Date (YYYY-MM-DD, default: today)"
1895
+ "type": "string",
1896
+ "desc": "Date (YYYY-MM-DD, default: today)",
1897
+ "default": ""
1659
1898
  }
1660
1899
  ],
1661
1900
  "synopsis": [
@@ -1674,25 +1913,30 @@
1674
1913
  {
1675
1914
  "name": "color",
1676
1915
  "value": true,
1916
+ "type": "string",
1677
1917
  "desc": "Habit color. Accepted values: blue, red, gold, green, teal, purple, pink, brown",
1678
1918
  "default": "blue"
1679
1919
  },
1680
1920
  {
1681
1921
  "name": "days",
1682
1922
  "value": true,
1923
+ "type": "string",
1683
1924
  "desc": "Weekdays (names or 0-6, comma-separated)",
1684
1925
  "default": "0,1,2,3,4,5,6"
1685
1926
  },
1686
1927
  {
1687
1928
  "name": "icon",
1688
1929
  "value": true,
1930
+ "type": "string",
1689
1931
  "desc": "Habit icon. Accepted values: weights, art, baseball, basketball, bed, bicycle, brain, camera, cat, church, clean, cook, dog, football, fruit, game, garden, guitar, heart, hydrate, meditate, money, music, piano, pill, plant, read, run, smoke, soccer, study, swim, tea, toothbrush, tree, tv, vegetable, walk, water, write, yoga, heat, ice, lotus, breathe, drink, star",
1690
1932
  "default": "weights"
1691
1933
  },
1692
1934
  {
1693
1935
  "name": "name",
1694
1936
  "value": true,
1695
- "desc": "Habit name"
1937
+ "type": "string",
1938
+ "desc": "Habit name",
1939
+ "default": ""
1696
1940
  }
1697
1941
  ],
1698
1942
  "synopsis": [
@@ -1722,22 +1966,30 @@
1722
1966
  {
1723
1967
  "name": "color",
1724
1968
  "value": true,
1725
- "desc": "New habit color. Accepted values: blue, red, gold, green, teal, purple, pink, brown"
1969
+ "type": "string",
1970
+ "desc": "New habit color. Accepted values: blue, red, gold, green, teal, purple, pink, brown",
1971
+ "default": ""
1726
1972
  },
1727
1973
  {
1728
1974
  "name": "days",
1729
1975
  "value": true,
1730
- "desc": "New weekdays (names or 0-6, comma-separated)"
1976
+ "type": "string",
1977
+ "desc": "New weekdays (names or 0-6, comma-separated)",
1978
+ "default": ""
1731
1979
  },
1732
1980
  {
1733
1981
  "name": "icon",
1734
1982
  "value": true,
1735
- "desc": "New habit icon. Accepted values: weights, art, baseball, basketball, bed, bicycle, brain, camera, cat, church, clean, cook, dog, football, fruit, game, garden, guitar, heart, hydrate, meditate, money, music, piano, pill, plant, read, run, smoke, soccer, study, swim, tea, toothbrush, tree, tv, vegetable, walk, water, write, yoga, heat, ice, lotus, breathe, drink, star"
1983
+ "type": "string",
1984
+ "desc": "New habit icon. Accepted values: weights, art, baseball, basketball, bed, bicycle, brain, camera, cat, church, clean, cook, dog, football, fruit, game, garden, guitar, heart, hydrate, meditate, money, music, piano, pill, plant, read, run, smoke, soccer, study, swim, tea, toothbrush, tree, tv, vegetable, walk, water, write, yoga, heat, ice, lotus, breathe, drink, star",
1985
+ "default": ""
1736
1986
  },
1737
1987
  {
1738
1988
  "name": "name",
1739
1989
  "value": true,
1740
- "desc": "New habit name"
1990
+ "type": "string",
1991
+ "desc": "New habit name",
1992
+ "default": ""
1741
1993
  }
1742
1994
  ],
1743
1995
  "synopsis": [
@@ -1756,17 +2008,22 @@
1756
2008
  "flags": [
1757
2009
  {
1758
2010
  "name": "all",
1759
- "desc": "Fetch all results (override --limit)"
2011
+ "desc": "Fetch all results (override --limit)",
2012
+ "default": "false"
1760
2013
  },
1761
2014
  {
1762
2015
  "name": "date",
1763
2016
  "value": true,
1764
- "desc": "Any day in the week to read (YYYY-MM-DD, defaults to today)"
2017
+ "type": "string",
2018
+ "desc": "Any day in the week to read (YYYY-MM-DD, defaults to today)",
2019
+ "default": ""
1765
2020
  },
1766
2021
  {
1767
2022
  "name": "limit",
1768
2023
  "value": true,
1769
- "desc": "Maximum number of habits to show"
2024
+ "type": "int",
2025
+ "desc": "Maximum number of habits to show",
2026
+ "default": "0"
1770
2027
  }
1771
2028
  ],
1772
2029
  "synopsis": [
@@ -1786,7 +2043,9 @@
1786
2043
  {
1787
2044
  "name": "date",
1788
2045
  "value": true,
1789
- "desc": "Date (YYYY-MM-DD, default: today)"
2046
+ "type": "string",
2047
+ "desc": "Date (YYYY-MM-DD, default: today)",
2048
+ "default": ""
1790
2049
  }
1791
2050
  ],
1792
2051
  "synopsis": [
@@ -1828,27 +2087,36 @@
1828
2087
  "flags": [
1829
2088
  {
1830
2089
  "name": "all",
1831
- "desc": "Fetch all results (override --limit)"
2090
+ "desc": "Fetch all results (override --limit)",
2091
+ "default": "false"
1832
2092
  },
1833
2093
  {
1834
2094
  "name": "calendar",
1835
2095
  "value": true,
1836
- "desc": "Calendar ID to read (defaults to the personal calendar)"
2096
+ "type": "int",
2097
+ "desc": "Calendar ID to read (defaults to the personal calendar)",
2098
+ "default": "0"
1837
2099
  },
1838
2100
  {
1839
2101
  "name": "ends-on",
1840
2102
  "value": true,
1841
- "desc": "End date (YYYY-MM-DD)"
2103
+ "type": "string",
2104
+ "desc": "End date (YYYY-MM-DD)",
2105
+ "default": ""
1842
2106
  },
1843
2107
  {
1844
2108
  "name": "limit",
1845
2109
  "value": true,
1846
- "desc": "Maximum number of entries to show"
2110
+ "type": "int",
2111
+ "desc": "Maximum number of entries to show",
2112
+ "default": "0"
1847
2113
  },
1848
2114
  {
1849
2115
  "name": "starts-on",
1850
2116
  "value": true,
1851
- "desc": "Start date (YYYY-MM-DD)"
2117
+ "type": "string",
2118
+ "desc": "Start date (YYYY-MM-DD)",
2119
+ "default": ""
1852
2120
  }
1853
2121
  ],
1854
2122
  "synopsis": [
@@ -1882,12 +2150,16 @@
1882
2150
  "name": "content",
1883
2151
  "shorthand": "c",
1884
2152
  "value": true,
1885
- "desc": "Journal content as Markdown (or opens $EDITOR)"
2153
+ "type": "string",
2154
+ "desc": "Journal content as Markdown (or opens $EDITOR)",
2155
+ "default": ""
1886
2156
  },
1887
2157
  {
1888
2158
  "name": "content-html",
1889
2159
  "value": true,
1890
- "desc": "Journal content as raw HTML instead of Markdown"
2160
+ "type": "string",
2161
+ "desc": "Journal content as raw HTML instead of Markdown",
2162
+ "default": ""
1891
2163
  }
1892
2164
  ],
1893
2165
  "synopsis": [
@@ -1913,17 +2185,22 @@
1913
2185
  "flags": [
1914
2186
  {
1915
2187
  "name": "all",
1916
- "desc": "Fetch all results (override --limit)"
2188
+ "desc": "Fetch all results (override --limit)",
2189
+ "default": "false"
1917
2190
  },
1918
2191
  {
1919
2192
  "name": "limit",
1920
2193
  "value": true,
1921
- "desc": "Maximum number of threads to show"
2194
+ "type": "int",
2195
+ "desc": "Maximum number of threads to show",
2196
+ "default": "0"
1922
2197
  },
1923
2198
  {
1924
2199
  "name": "page",
1925
2200
  "value": true,
1926
- "desc": "Continue from a next_page cursor"
2201
+ "type": "string",
2202
+ "desc": "Continue from a next_page cursor",
2203
+ "default": ""
1927
2204
  }
1928
2205
  ],
1929
2206
  "subcommands": [
@@ -1935,7 +2212,9 @@
1935
2212
  {
1936
2213
  "name": "to",
1937
2214
  "value": true,
1938
- "desc": "Label ID (required)"
2215
+ "type": "string",
2216
+ "desc": "Label ID (required)",
2217
+ "default": ""
1939
2218
  }
1940
2219
  ],
1941
2220
  "synopsis": [
@@ -1966,12 +2245,15 @@
1966
2245
  "flags": [
1967
2246
  {
1968
2247
  "name": "all",
1969
- "desc": "Fetch all results (override --limit)"
2248
+ "desc": "Fetch all results (override --limit)",
2249
+ "default": "false"
1970
2250
  },
1971
2251
  {
1972
2252
  "name": "limit",
1973
2253
  "value": true,
1974
- "desc": "Maximum number of labels to show"
2254
+ "type": "int",
2255
+ "desc": "Maximum number of labels to show",
2256
+ "default": "0"
1975
2257
  }
1976
2258
  ],
1977
2259
  "synopsis": [
@@ -1991,7 +2273,9 @@
1991
2273
  {
1992
2274
  "name": "from",
1993
2275
  "value": true,
1994
- "desc": "Label ID, or all to remove every label (required)"
2276
+ "type": "string",
2277
+ "desc": "Label ID, or all to remove every label (required)",
2278
+ "default": ""
1995
2279
  }
1996
2280
  ],
1997
2281
  "synopsis": [
@@ -2010,17 +2294,22 @@
2010
2294
  "flags": [
2011
2295
  {
2012
2296
  "name": "all",
2013
- "desc": "Fetch all results (override --limit)"
2297
+ "desc": "Fetch all results (override --limit)",
2298
+ "default": "false"
2014
2299
  },
2015
2300
  {
2016
2301
  "name": "limit",
2017
2302
  "value": true,
2018
- "desc": "Maximum number of threads to show"
2303
+ "type": "int",
2304
+ "desc": "Maximum number of threads to show",
2305
+ "default": "0"
2019
2306
  },
2020
2307
  {
2021
2308
  "name": "page",
2022
2309
  "value": true,
2023
- "desc": "Continue from a next_page cursor"
2310
+ "type": "string",
2311
+ "desc": "Continue from a next_page cursor",
2312
+ "default": ""
2024
2313
  }
2025
2314
  ],
2026
2315
  "synopsis": [
@@ -2050,16 +2339,21 @@
2050
2339
  {
2051
2340
  "name": "cookie",
2052
2341
  "value": true,
2053
- "desc": "Session cookie value from browser (session_token)"
2342
+ "type": "string",
2343
+ "desc": "Session cookie value from browser (session_token)",
2344
+ "default": ""
2054
2345
  },
2055
2346
  {
2056
2347
  "name": "no-browser",
2057
- "desc": "Don't open browser, print URL instead"
2348
+ "desc": "Don't open browser, print URL instead",
2349
+ "default": "false"
2058
2350
  },
2059
2351
  {
2060
2352
  "name": "token",
2061
2353
  "value": true,
2062
- "desc": "Pre-generated Bearer token"
2354
+ "type": "string",
2355
+ "desc": "Pre-generated Bearer token",
2356
+ "default": ""
2063
2357
  }
2064
2358
  ],
2065
2359
  "synopsis": [
@@ -2091,11 +2385,14 @@
2091
2385
  {
2092
2386
  "name": "domains",
2093
2387
  "value": true,
2094
- "desc": "Narrow to specific domains (comma-separated; default all)"
2388
+ "type": "strings",
2389
+ "desc": "Narrow to specific domains (comma-separated; default all)",
2390
+ "default": "[]"
2095
2391
  },
2096
2392
  {
2097
2393
  "name": "read-only",
2098
- "desc": "Serve only read-only actions"
2394
+ "desc": "Serve only read-only actions",
2395
+ "default": "false"
2099
2396
  }
2100
2397
  ],
2101
2398
  "synopsis": [
@@ -2111,7 +2408,9 @@
2111
2408
  {
2112
2409
  "name": "to",
2113
2410
  "value": true,
2114
- "desc": "Destination box name, kind, or ID (required)"
2411
+ "type": "string",
2412
+ "desc": "Destination box name, kind, or ID (required)",
2413
+ "default": ""
2115
2414
  }
2116
2415
  ],
2117
2416
  "synopsis": [
@@ -2132,45 +2431,60 @@
2132
2431
  {
2133
2432
  "name": "attach",
2134
2433
  "value": true,
2135
- "desc": "File to attach (repeatable)"
2434
+ "type": "stringArray",
2435
+ "desc": "File to attach (repeatable)",
2436
+ "default": "[]"
2136
2437
  },
2137
2438
  {
2138
2439
  "name": "bcc",
2139
2440
  "value": true,
2140
- "desc": "BCC recipient email address (repeatable or comma-separated)"
2441
+ "type": "stringArray",
2442
+ "desc": "BCC recipient email address (repeatable or comma-separated)",
2443
+ "default": "[]"
2141
2444
  },
2142
2445
  {
2143
2446
  "name": "cc",
2144
2447
  "value": true,
2145
- "desc": "CC recipient email address (repeatable or comma-separated)"
2448
+ "type": "stringArray",
2449
+ "desc": "CC recipient email address (repeatable or comma-separated)",
2450
+ "default": "[]"
2146
2451
  },
2147
2452
  {
2148
2453
  "name": "draft",
2149
- "desc": "Save as a draft instead of sending"
2454
+ "desc": "Save as a draft instead of sending",
2455
+ "default": "false"
2150
2456
  },
2151
2457
  {
2152
2458
  "name": "dry-run",
2153
- "desc": "Print the resolved reply envelope without sending"
2459
+ "desc": "Print the resolved reply envelope without sending",
2460
+ "default": "false"
2154
2461
  },
2155
2462
  {
2156
2463
  "name": "message",
2157
2464
  "shorthand": "m",
2158
2465
  "value": true,
2159
- "desc": "Reply message as Markdown (or opens $EDITOR)"
2466
+ "type": "string",
2467
+ "desc": "Reply message as Markdown (or opens $EDITOR)",
2468
+ "default": ""
2160
2469
  },
2161
2470
  {
2162
2471
  "name": "message-html",
2163
2472
  "value": true,
2164
- "desc": "Reply message as raw HTML instead of Markdown"
2473
+ "type": "string",
2474
+ "desc": "Reply message as raw HTML instead of Markdown",
2475
+ "default": ""
2165
2476
  },
2166
2477
  {
2167
2478
  "name": "replace-recipients",
2168
- "desc": "Replace HEY's reply recipients with the explicit To, CC and BCC lists"
2479
+ "desc": "Replace HEY's reply recipients with the explicit To, CC and BCC lists",
2480
+ "default": "false"
2169
2481
  },
2170
2482
  {
2171
2483
  "name": "to",
2172
2484
  "value": true,
2173
- "desc": "To recipient email address (repeatable or comma-separated)"
2485
+ "type": "stringArray",
2486
+ "desc": "To recipient email address (repeatable or comma-separated)",
2487
+ "default": "[]"
2174
2488
  }
2175
2489
  ],
2176
2490
  "synopsis": [
@@ -2197,11 +2511,14 @@
2197
2511
  {
2198
2512
  "name": "box",
2199
2513
  "value": true,
2200
- "desc": "Deliver their email to this box instead of the Imbox"
2514
+ "type": "string",
2515
+ "desc": "Deliver their email to this box instead of the Imbox",
2516
+ "default": ""
2201
2517
  },
2202
2518
  {
2203
2519
  "name": "seen",
2204
- "desc": "Mark what they already sent as seen"
2520
+ "desc": "Mark what they already sent as seen",
2521
+ "default": "false"
2205
2522
  }
2206
2523
  ],
2207
2524
  "synopsis": [
@@ -2234,7 +2551,8 @@
2234
2551
  "flags": [
2235
2552
  {
2236
2553
  "name": "spam",
2237
- "desc": "Also mark what they sent as spam and train the filter"
2554
+ "desc": "Also mark what they sent as spam and train the filter",
2555
+ "default": "false"
2238
2556
  }
2239
2557
  ],
2240
2558
  "synopsis": [
@@ -2254,12 +2572,15 @@
2254
2572
  "flags": [
2255
2573
  {
2256
2574
  "name": "all",
2257
- "desc": "Fetch all results (up to 100 pages)"
2575
+ "desc": "Fetch all results (up to 100 pages)",
2576
+ "default": "false"
2258
2577
  },
2259
2578
  {
2260
2579
  "name": "page",
2261
2580
  "value": true,
2262
- "desc": "Continue from a next_page cursor"
2581
+ "type": "string",
2582
+ "desc": "Continue from a next_page cursor",
2583
+ "default": ""
2263
2584
  }
2264
2585
  ],
2265
2586
  "synopsis": [
@@ -2279,12 +2600,15 @@
2279
2600
  "flags": [
2280
2601
  {
2281
2602
  "name": "all",
2282
- "desc": "Fetch all results (up to 100 pages)"
2603
+ "desc": "Fetch all results (up to 100 pages)",
2604
+ "default": "false"
2283
2605
  },
2284
2606
  {
2285
2607
  "name": "page",
2286
2608
  "value": true,
2287
- "desc": "Continue from a next_page cursor"
2609
+ "type": "string",
2610
+ "desc": "Continue from a next_page cursor",
2611
+ "default": ""
2288
2612
  }
2289
2613
  ],
2290
2614
  "synopsis": [
@@ -2309,68 +2633,92 @@
2309
2633
  "flags": [
2310
2634
  {
2311
2635
  "name": "all",
2312
- "desc": "Fetch up to 100 results pages from --page onward"
2636
+ "desc": "Fetch up to 100 results pages from --page onward",
2637
+ "default": "false"
2313
2638
  },
2314
2639
  {
2315
2640
  "name": "any",
2316
2641
  "value": true,
2317
- "desc": "Words where at least one must appear"
2642
+ "type": "string",
2643
+ "desc": "Words where at least one must appear",
2644
+ "default": ""
2318
2645
  },
2319
2646
  {
2320
2647
  "name": "attachment",
2321
2648
  "value": true,
2322
- "desc": "Attachment kind: any, images, pdfs, calendar_invites, documents, spreadsheets, presentations, media, or zip_files"
2649
+ "type": "string",
2650
+ "desc": "Attachment kind: any, images, pdfs, calendar_invites, documents, spreadsheets, presentations, media, or zip_files",
2651
+ "default": ""
2323
2652
  },
2324
2653
  {
2325
2654
  "name": "date",
2326
2655
  "value": true,
2327
- "desc": "Date range: last_7_days, last_30_days, last_90_days, or year"
2656
+ "type": "string",
2657
+ "desc": "Date range: last_7_days, last_30_days, last_90_days, or year",
2658
+ "default": ""
2328
2659
  },
2329
2660
  {
2330
2661
  "name": "exact",
2331
2662
  "value": true,
2332
- "desc": "Exact phrase that must appear"
2663
+ "type": "string",
2664
+ "desc": "Exact phrase that must appear",
2665
+ "default": ""
2333
2666
  },
2334
2667
  {
2335
2668
  "name": "from",
2336
2669
  "value": true,
2337
- "desc": "Sender name or email address"
2670
+ "type": "string",
2671
+ "desc": "Sender name or email address",
2672
+ "default": ""
2338
2673
  },
2339
2674
  {
2340
2675
  "name": "in",
2341
2676
  "value": true,
2342
- "desc": "Box: imbox, feed, papertrail, or trash"
2677
+ "type": "string",
2678
+ "desc": "Box: imbox, feed, papertrail, or trash",
2679
+ "default": ""
2343
2680
  },
2344
2681
  {
2345
2682
  "name": "label",
2346
2683
  "value": true,
2347
- "desc": "Label name"
2684
+ "type": "string",
2685
+ "desc": "Label name",
2686
+ "default": ""
2348
2687
  },
2349
2688
  {
2350
2689
  "name": "none",
2351
2690
  "value": true,
2352
- "desc": "Words that must not appear"
2691
+ "type": "string",
2692
+ "desc": "Words that must not appear",
2693
+ "default": ""
2353
2694
  },
2354
2695
  {
2355
2696
  "name": "page",
2356
2697
  "value": true,
2698
+ "type": "int",
2357
2699
  "desc": "Results page",
2358
2700
  "default": "1"
2359
2701
  },
2360
2702
  {
2361
2703
  "name": "required",
2362
2704
  "value": true,
2363
- "desc": "Words that must all appear"
2705
+ "type": "string",
2706
+ "desc": "Words that must all appear",
2707
+ "default": ""
2364
2708
  },
2365
2709
  {
2366
2710
  "name": "subject",
2367
2711
  "value": true,
2368
- "desc": "Words in the subject"
2712
+ "type": "string",
2713
+ "desc": "Words in the subject",
2714
+ "default": ""
2369
2715
  },
2370
2716
  {
2371
2717
  "name": "to",
2372
2718
  "value": true,
2373
- "desc": "Recipient name or email address"
2719
+ "type": "string",
2720
+ "desc": "Recipient name or email address",
2721
+ "default": ""
2374
2722
  }
2375
2723
  ],
2376
2724
  "subcommands": [
@@ -2426,7 +2774,9 @@
2426
2774
  {
2427
2775
  "name": "to",
2428
2776
  "value": true,
2429
- "desc": "Group ID (required)"
2777
+ "type": "string",
2778
+ "desc": "Group ID (required)",
2779
+ "default": ""
2430
2780
  }
2431
2781
  ],
2432
2782
  "synopsis": [
@@ -2496,17 +2846,22 @@
2496
2846
  "flags": [
2497
2847
  {
2498
2848
  "name": "all",
2499
- "desc": "Fetch all results (override --limit)"
2849
+ "desc": "Fetch all results (override --limit)",
2850
+ "default": "false"
2500
2851
  },
2501
2852
  {
2502
2853
  "name": "limit",
2503
2854
  "value": true,
2504
- "desc": "Maximum number of threads to show"
2855
+ "type": "int",
2856
+ "desc": "Maximum number of threads to show",
2857
+ "default": "0"
2505
2858
  },
2506
2859
  {
2507
2860
  "name": "page",
2508
2861
  "value": true,
2509
- "desc": "Continue from a next_page cursor"
2862
+ "type": "string",
2863
+ "desc": "Continue from a next_page cursor",
2864
+ "default": ""
2510
2865
  }
2511
2866
  ],
2512
2867
  "synopsis": [
@@ -2537,17 +2892,22 @@
2537
2892
  "flags": [
2538
2893
  {
2539
2894
  "name": "all",
2540
- "desc": "Fetch all results (override --limit)"
2895
+ "desc": "Fetch all results (override --limit)",
2896
+ "default": "false"
2541
2897
  },
2542
2898
  {
2543
2899
  "name": "limit",
2544
2900
  "value": true,
2545
- "desc": "Maximum number of threads to show"
2901
+ "type": "int",
2902
+ "desc": "Maximum number of threads to show",
2903
+ "default": "0"
2546
2904
  },
2547
2905
  {
2548
2906
  "name": "page",
2549
2907
  "value": true,
2550
- "desc": "Continue from a next_page cursor"
2908
+ "type": "string",
2909
+ "desc": "Continue from a next_page cursor",
2910
+ "default": ""
2551
2911
  }
2552
2912
  ],
2553
2913
  "synopsis": [
@@ -2578,15 +2938,18 @@
2578
2938
  "flags": [
2579
2939
  {
2580
2940
  "name": "silent-success",
2581
- "desc": "Show setup activity and end a successful run with SETUP COMPLETE"
2941
+ "desc": "Show setup activity and end a successful run with SETUP COMPLETE",
2942
+ "default": "false"
2582
2943
  },
2583
2944
  {
2584
2945
  "name": "skip-agents",
2585
- "desc": "Leave coding-agent integrations unchanged"
2946
+ "desc": "Leave coding-agent integrations unchanged",
2947
+ "default": "false"
2586
2948
  },
2587
2949
  {
2588
2950
  "name": "skip-omarchy",
2589
- "desc": "Leave the Omarchy integration unchanged"
2951
+ "desc": "Leave the Omarchy integration unchanged",
2952
+ "default": "false"
2590
2953
  }
2591
2954
  ],
2592
2955
  "subcommands": [
@@ -2598,7 +2961,8 @@
2598
2961
  "flags": [
2599
2962
  {
2600
2963
  "name": "remove",
2601
- "desc": "Remove HEY coding-agent integrations"
2964
+ "desc": "Remove HEY coding-agent integrations",
2965
+ "default": "false"
2602
2966
  }
2603
2967
  ],
2604
2968
  "synopsis": [
@@ -2631,15 +2995,18 @@
2631
2995
  "flags": [
2632
2996
  {
2633
2997
  "name": "no-notify",
2634
- "desc": "Turn new-mail toasts back off"
2998
+ "desc": "Turn new-mail toasts back off",
2999
+ "default": "false"
2635
3000
  },
2636
3001
  {
2637
3002
  "name": "notify",
2638
- "desc": "Turn on the bar plugin's new-mail toasts"
3003
+ "desc": "Turn on the bar plugin's new-mail toasts",
3004
+ "default": "false"
2639
3005
  },
2640
3006
  {
2641
3007
  "name": "remove",
2642
- "desc": "Remove everything hey setup omarchy installed"
3008
+ "desc": "Remove everything hey setup omarchy installed",
3009
+ "default": "false"
2643
3010
  }
2644
3011
  ],
2645
3012
  "synopsis": [
@@ -2696,7 +3063,8 @@
2696
3063
  "flags": [
2697
3064
  {
2698
3065
  "name": "force",
2699
- "desc": "Write even over a packaged or foreign completion file"
3066
+ "desc": "Write even over a packaged or foreign completion file",
3067
+ "default": "false"
2700
3068
  }
2701
3069
  ],
2702
3070
  "synopsis": [
@@ -2746,17 +3114,23 @@
2746
3114
  {
2747
3115
  "name": "content",
2748
3116
  "value": true,
2749
- "desc": "Snippet content as Markdown"
3117
+ "type": "string",
3118
+ "desc": "Snippet content as Markdown",
3119
+ "default": ""
2750
3120
  },
2751
3121
  {
2752
3122
  "name": "content-html",
2753
3123
  "value": true,
2754
- "desc": "Snippet content as raw HTML instead of Markdown"
3124
+ "type": "string",
3125
+ "desc": "Snippet content as raw HTML instead of Markdown",
3126
+ "default": ""
2755
3127
  },
2756
3128
  {
2757
3129
  "name": "name",
2758
3130
  "value": true,
2759
- "desc": "Snippet name (required)"
3131
+ "type": "string",
3132
+ "desc": "Snippet name (required)",
3133
+ "default": ""
2760
3134
  }
2761
3135
  ],
2762
3136
  "synopsis": [
@@ -2800,17 +3174,23 @@
2800
3174
  {
2801
3175
  "name": "content",
2802
3176
  "value": true,
2803
- "desc": "New snippet content as Markdown"
3177
+ "type": "string",
3178
+ "desc": "New snippet content as Markdown",
3179
+ "default": ""
2804
3180
  },
2805
3181
  {
2806
3182
  "name": "content-html",
2807
3183
  "value": true,
2808
- "desc": "New snippet content as raw HTML instead of Markdown"
3184
+ "type": "string",
3185
+ "desc": "New snippet content as raw HTML instead of Markdown",
3186
+ "default": ""
2809
3187
  },
2810
3188
  {
2811
3189
  "name": "name",
2812
3190
  "value": true,
2813
- "desc": "New snippet name"
3191
+ "type": "string",
3192
+ "desc": "New snippet name",
3193
+ "default": ""
2814
3194
  }
2815
3195
  ],
2816
3196
  "synopsis": [
@@ -2866,7 +3246,8 @@
2866
3246
  "flags": [
2867
3247
  {
2868
3248
  "name": "allow-partial",
2869
- "desc": "Take a thread that could only be read in part, with a notice saying what is missing"
3249
+ "desc": "Take a thread that could only be read in part, with a notice saying what is missing",
3250
+ "default": "false"
2870
3251
  }
2871
3252
  ],
2872
3253
  "synopsis": [
@@ -2975,22 +3356,30 @@
2975
3356
  {
2976
3357
  "name": "category",
2977
3358
  "value": true,
2978
- "desc": "Category title to file the track under, created if HEY has none by that title"
3359
+ "type": "string",
3360
+ "desc": "Category title to file the track under, created if HEY has none by that title",
3361
+ "default": ""
2979
3362
  },
2980
3363
  {
2981
3364
  "name": "end",
2982
3365
  "value": true,
2983
- "desc": "New end, as YYYY-MM-DDTHH:MM in your time zone"
3366
+ "type": "string",
3367
+ "desc": "New end, as YYYY-MM-DDTHH:MM in your time zone",
3368
+ "default": ""
2984
3369
  },
2985
3370
  {
2986
3371
  "name": "notes",
2987
3372
  "value": true,
2988
- "desc": "New notes"
3373
+ "type": "string",
3374
+ "desc": "New notes",
3375
+ "default": ""
2989
3376
  },
2990
3377
  {
2991
3378
  "name": "start",
2992
3379
  "value": true,
2993
- "desc": "New start, as YYYY-MM-DDTHH:MM in your time zone"
3380
+ "type": "string",
3381
+ "desc": "New start, as YYYY-MM-DDTHH:MM in your time zone",
3382
+ "default": ""
2994
3383
  }
2995
3384
  ],
2996
3385
  "synopsis": [
@@ -3010,13 +3399,16 @@
3010
3399
  "flags": [
3011
3400
  {
3012
3401
  "name": "force",
3013
- "desc": "Replace an existing output file"
3402
+ "desc": "Replace an existing output file",
3403
+ "default": "false"
3014
3404
  },
3015
3405
  {
3016
3406
  "name": "output",
3017
3407
  "shorthand": "o",
3018
3408
  "value": true,
3019
- "desc": "Save CSV to this file instead of stdout"
3409
+ "type": "string",
3410
+ "desc": "Save CSV to this file instead of stdout",
3411
+ "default": ""
3020
3412
  }
3021
3413
  ],
3022
3414
  "synopsis": [
@@ -3036,17 +3428,22 @@
3036
3428
  "flags": [
3037
3429
  {
3038
3430
  "name": "all",
3039
- "desc": "Fetch all results (override --limit)"
3431
+ "desc": "Fetch all results (override --limit)",
3432
+ "default": "false"
3040
3433
  },
3041
3434
  {
3042
3435
  "name": "category",
3043
3436
  "value": true,
3044
- "desc": "Only tracks filed under this category ID"
3437
+ "type": "int",
3438
+ "desc": "Only tracks filed under this category ID",
3439
+ "default": "0"
3045
3440
  },
3046
3441
  {
3047
3442
  "name": "limit",
3048
3443
  "value": true,
3049
- "desc": "Maximum number of time tracks to show"
3444
+ "type": "int",
3445
+ "desc": "Maximum number of time tracks to show",
3446
+ "default": "0"
3050
3447
  }
3051
3448
  ],
3052
3449
  "synopsis": [
@@ -3078,7 +3475,9 @@
3078
3475
  {
3079
3476
  "name": "category",
3080
3477
  "value": true,
3081
- "desc": "Category title to file the stopped track under, created if HEY has none by that title"
3478
+ "type": "string",
3479
+ "desc": "Category title to file the stopped track under, created if HEY has none by that title",
3480
+ "default": ""
3082
3481
  }
3083
3482
  ],
3084
3483
  "synopsis": [
@@ -3109,13 +3508,17 @@
3109
3508
  {
3110
3509
  "name": "date",
3111
3510
  "value": true,
3112
- "desc": "Due date (YYYY-MM-DD)"
3511
+ "type": "string",
3512
+ "desc": "Due date (YYYY-MM-DD)",
3513
+ "default": ""
3113
3514
  },
3114
3515
  {
3115
3516
  "name": "title",
3116
3517
  "shorthand": "t",
3117
3518
  "value": true,
3118
- "desc": "Todo title"
3519
+ "type": "string",
3520
+ "desc": "Todo title",
3521
+ "default": ""
3119
3522
  }
3120
3523
  ],
3121
3524
  "synopsis": [
@@ -3156,27 +3559,36 @@
3156
3559
  "flags": [
3157
3560
  {
3158
3561
  "name": "all",
3159
- "desc": "Fetch all results (override --limit)"
3562
+ "desc": "Fetch all results (override --limit)",
3563
+ "default": "false"
3160
3564
  },
3161
3565
  {
3162
3566
  "name": "calendar",
3163
3567
  "value": true,
3164
- "desc": "Calendar ID to read (defaults to the personal calendar)"
3568
+ "type": "int",
3569
+ "desc": "Calendar ID to read (defaults to the personal calendar)",
3570
+ "default": "0"
3165
3571
  },
3166
3572
  {
3167
3573
  "name": "ends-on",
3168
3574
  "value": true,
3169
- "desc": "End date (YYYY-MM-DD)"
3575
+ "type": "string",
3576
+ "desc": "End date (YYYY-MM-DD)",
3577
+ "default": ""
3170
3578
  },
3171
3579
  {
3172
3580
  "name": "limit",
3173
3581
  "value": true,
3174
- "desc": "Maximum number of todos to show"
3582
+ "type": "int",
3583
+ "desc": "Maximum number of todos to show",
3584
+ "default": "0"
3175
3585
  },
3176
3586
  {
3177
3587
  "name": "starts-on",
3178
3588
  "value": true,
3179
- "desc": "Start date (YYYY-MM-DD)"
3589
+ "type": "string",
3590
+ "desc": "Start date (YYYY-MM-DD)",
3591
+ "default": ""
3180
3592
  }
3181
3593
  ],
3182
3594
  "synopsis": [
@@ -3225,25 +3637,33 @@
3225
3637
  {
3226
3638
  "name": "instance",
3227
3639
  "value": true,
3228
- "desc": "Name this TUI for remote open requests"
3640
+ "type": "string",
3641
+ "desc": "Name this TUI for remote open requests",
3642
+ "default": ""
3229
3643
  },
3230
3644
  {
3231
3645
  "name": "remote",
3232
- "desc": "Open the destination in a running TUI and exit"
3646
+ "desc": "Open the destination in a running TUI and exit",
3647
+ "default": "false"
3233
3648
  },
3234
3649
  {
3235
3650
  "name": "screener",
3236
- "desc": "Open The Screener"
3651
+ "desc": "Open The Screener",
3652
+ "default": "false"
3237
3653
  },
3238
3654
  {
3239
3655
  "name": "topic",
3240
3656
  "value": true,
3241
- "desc": "Open a thread by topic ID"
3657
+ "type": "int",
3658
+ "desc": "Open a thread by topic ID",
3659
+ "default": "0"
3242
3660
  },
3243
3661
  {
3244
3662
  "name": "topic-title",
3245
3663
  "value": true,
3246
- "desc": "Set the title of a directly opened thread"
3664
+ "type": "string",
3665
+ "desc": "Set the title of a directly opened thread",
3666
+ "default": ""
3247
3667
  }
3248
3668
  ],
3249
3669
  "synopsis": [
@@ -3310,36 +3730,47 @@
3310
3730
  {
3311
3731
  "name": "box",
3312
3732
  "value": true,
3313
- "desc": "Box whose changes to report, by name or ID (repeatable, defaults to all; every box is followed either way, so new mail is judged across all of them)"
3733
+ "type": "stringArray",
3734
+ "desc": "Box whose changes to report, by name or ID (repeatable, defaults to all; every box is followed either way, so new mail is judged across all of them)",
3735
+ "default": "[]"
3314
3736
  },
3315
3737
  {
3316
3738
  "name": "events",
3317
3739
  "value": true,
3740
+ "type": "strings",
3318
3741
  "desc": "Changes to report: added, updated, deleted, resync and new for mail; recording_added, recording_updated, recording_deleted, calendar_added, calendar_updated, calendar_deleted and calendar_resync for the calendars",
3319
3742
  "default": "[added,updated,deleted,resync,recording_added,recording_updated,recording_deleted,calendar_added,calendar_updated,calendar_deleted,calendar_resync]"
3320
3743
  },
3321
3744
  {
3322
3745
  "name": "exit-on-first",
3323
- "desc": "Exit after the first change"
3746
+ "desc": "Exit after the first change",
3747
+ "default": "false"
3324
3748
  },
3325
3749
  {
3326
3750
  "name": "run-async",
3327
3751
  "value": true,
3328
- "desc": "Shell command to spawn per change, without waiting for it"
3752
+ "type": "string",
3753
+ "desc": "Shell command to spawn per change, without waiting for it",
3754
+ "default": ""
3329
3755
  },
3330
3756
  {
3331
3757
  "name": "run-sync",
3332
3758
  "value": true,
3333
- "desc": "Shell command to run per change, one at a time, waiting for each"
3759
+ "type": "string",
3760
+ "desc": "Shell command to run per change, one at a time, waiting for each",
3761
+ "default": ""
3334
3762
  },
3335
3763
  {
3336
3764
  "name": "since",
3337
3765
  "value": true,
3338
- "desc": "Report changes since this time first (RFC 3339 or YYYY-MM-DD)"
3766
+ "type": "string",
3767
+ "desc": "Report changes since this time first (RFC 3339 or YYYY-MM-DD)",
3768
+ "default": ""
3339
3769
  },
3340
3770
  {
3341
3771
  "name": "timeout",
3342
3772
  "value": true,
3773
+ "type": "duration",
3343
3774
  "desc": "Give up waiting after this long (for example 30m)",
3344
3775
  "default": "0s"
3345
3776
  }
@@ -3368,12 +3799,16 @@
3368
3799
  {
3369
3800
  "name": "stage",
3370
3801
  "value": true,
3371
- "desc": "Stage ID (required)"
3802
+ "type": "string",
3803
+ "desc": "Stage ID (required)",
3804
+ "default": ""
3372
3805
  },
3373
3806
  {
3374
3807
  "name": "to",
3375
3808
  "value": true,
3376
- "desc": "Workflow ID (required)"
3809
+ "type": "string",
3810
+ "desc": "Workflow ID (required)",
3811
+ "default": ""
3377
3812
  }
3378
3813
  ],
3379
3814
  "synopsis": [
@@ -3415,12 +3850,15 @@
3415
3850
  "flags": [
3416
3851
  {
3417
3852
  "name": "all",
3418
- "desc": "Show every workflow (override --limit)"
3853
+ "desc": "Show every workflow (override --limit)",
3854
+ "default": "false"
3419
3855
  },
3420
3856
  {
3421
3857
  "name": "limit",
3422
3858
  "value": true,
3423
- "desc": "Maximum number of workflows to show"
3859
+ "type": "int",
3860
+ "desc": "Maximum number of workflows to show",
3861
+ "default": "0"
3424
3862
  }
3425
3863
  ],
3426
3864
  "synopsis": [
@@ -3440,12 +3878,16 @@
3440
3878
  {
3441
3879
  "name": "to",
3442
3880
  "value": true,
3443
- "desc": "Destination stage ID (required)"
3881
+ "type": "string",
3882
+ "desc": "Destination stage ID (required)",
3883
+ "default": ""
3444
3884
  },
3445
3885
  {
3446
3886
  "name": "workflow",
3447
3887
  "value": true,
3448
- "desc": "Workflow ID (required)"
3888
+ "type": "string",
3889
+ "desc": "Workflow ID (required)",
3890
+ "default": ""
3449
3891
  }
3450
3892
  ],
3451
3893
  "synopsis": [
@@ -3464,7 +3906,9 @@
3464
3906
  {
3465
3907
  "name": "from",
3466
3908
  "value": true,
3467
- "desc": "Workflow ID (required)"
3909
+ "type": "string",
3910
+ "desc": "Workflow ID (required)",
3911
+ "default": ""
3468
3912
  }
3469
3913
  ],
3470
3914
  "synopsis": [
@@ -3511,7 +3955,9 @@
3511
3955
  {
3512
3956
  "name": "name",
3513
3957
  "value": true,
3514
- "desc": "New stage name (required)"
3958
+ "type": "string",
3959
+ "desc": "New stage name (required)",
3960
+ "default": ""
3515
3961
  }
3516
3962
  ],
3517
3963
  "synopsis": [
@@ -3534,7 +3980,9 @@
3534
3980
  {
3535
3981
  "name": "name",
3536
3982
  "value": true,
3537
- "desc": "New workflow name (required)"
3983
+ "type": "string",
3984
+ "desc": "New workflow name (required)",
3985
+ "default": ""
3538
3986
  }
3539
3987
  ],
3540
3988
  "synopsis": [