deq-cli 1.0.0-rc.1

Command-line tool (`deq`) for Deq shapes, traditional Kurdish tattoo motifs.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
{
  "$comment": "Generated from spec/cli.json by packages/cli/scripts/generate.ts. Do not edit: run `pnpm --filter @0xdolan/deq-cli generate`.",
  "name": "deq",
  "version": "1.0.0-rc.1",
  "formats": {
    "all": [
      "svg",
      "svg-layered",
      "svg-sprite",
      "html",
      "jsx",
      "tsx",
      "vue",
      "svelte",
      "data-uri",
      "css-background",
      "css-mask",
      "pdf",
      "ai",
      "eps",
      "png",
      "jpg",
      "webp",
      "avif",
      "ico",
      "favicon",
      "psd",
      "figma",
      "spec-json"
    ],
    "ports": [
      "svg",
      "svg-layered",
      "svg-sprite",
      "pdf",
      "png",
      "jpg",
      "webp",
      "ico"
    ]
  },
  "globalFlags": [
    {
      "name": "help",
      "short": "h",
      "type": "bool",
      "help": "Show help."
    },
    {
      "name": "version",
      "short": "V",
      "type": "bool",
      "help": "Print the version."
    }
  ],
  "exitCodes": [
    {
      "code": 0,
      "meaning": "success"
    },
    {
      "code": 1,
      "meaning": "a shape, option or spec file is invalid"
    },
    {
      "code": 2,
      "meaning": "the command line is wrong"
    },
    {
      "code": 3,
      "meaning": "a file could not be read or written (or exists without --force)"
    },
    {
      "code": 4,
      "meaning": "the format is only available in the Node CLI"
    }
  ],
  "commands": [
    {
      "name": "list",
      "summary": "List the shapes in the catalog.",
      "args": [],
      "flags": [
        {
          "name": "category",
          "type": "string",
          "value": "id",
          "help": "Only shapes in this category."
        },
        {
          "name": "json",
          "type": "bool",
          "help": "Print JSON."
        }
      ]
    },
    {
      "name": "info",
      "summary": "Show a shape's names, layers and parameters.",
      "args": [
        {
          "name": "shape",
          "help": "Shape id (see deq list).",
          "complete": "shape"
        }
      ],
      "flags": [
        {
          "name": "json",
          "type": "bool",
          "help": "Print JSON."
        }
      ]
    },
    {
      "name": "render",
      "summary": "Render shapes to files.",
      "args": [
        {
          "name": "shape",
          "variadic": true,
          "help": "Shape ids (see deq list).",
          "complete": "shape"
        }
      ],
      "flags": [
        {
          "name": "format",
          "type": "choice",
          "choices": [
            "svg",
            "svg-layered",
            "svg-sprite",
            "html",
            "jsx",
            "tsx",
            "vue",
            "svelte",
            "data-uri",
            "css-background",
            "css-mask",
            "pdf",
            "ai",
            "eps",
            "png",
            "jpg",
            "webp",
            "avif",
            "ico",
            "favicon",
            "psd",
            "figma",
            "spec-json"
          ],
          "default": "svg",
          "help": "Output format. Default svg."
        },
        {
          "name": "size",
          "type": "number",
          "value": "px",
          "option": "size",
          "help": "Width and height in px, 1 to 8192. Default 24."
        },
        {
          "name": "layered",
          "type": "bool",
          "help": "SVG with one Inkscape layer per shape layer (same as --format svg-layered)."
        },
        {
          "name": "out",
          "type": "string",
          "value": "path",
          "complete": "file",
          "help": "Output file, or a directory for several files; - writes one file to stdout. Default: the current directory."
        },
        {
          "name": "color",
          "type": "string",
          "value": "color",
          "option": "color",
          "help": "Stroke and dot colour (any CSS colour). Default currentColor."
        },
        {
          "name": "stroke-width",
          "type": "number",
          "value": "n",
          "option": "strokeWidth",
          "help": "Stroke width in grid units, 0.05 to 12. Default 2."
        },
        {
          "name": "absolute-stroke-width",
          "type": "bool",
          "option": "absoluteStrokeWidth",
          "help": "Keep the stroke the same width in px at any size."
        },
        {
          "name": "fill",
          "type": "string",
          "value": "color",
          "option": "fill",
          "help": "Fill for closed outlines, or none. Default none."
        },
        {
          "name": "fill-opacity",
          "type": "number",
          "value": "0-1",
          "option": "fillOpacity",
          "help": "Opacity of the fill. Default 1."
        },
        {
          "name": "stroke-opacity",
          "type": "number",
          "value": "0-1",
          "option": "strokeOpacity",
          "help": "Opacity of strokes and dots. Default 1."
        },
        {
          "name": "linecap",
          "type": "choice",
          "choices": [
            "round",
            "butt",
            "square"
          ],
          "option": "linecap",
          "help": "Line ends. Default round."
        },
        {
          "name": "linejoin",
          "type": "choice",
          "choices": [
            "round",
            "miter",
            "bevel"
          ],
          "option": "linejoin",
          "help": "Line corners. Default round."
        },
        {
          "name": "dot-scale",
          "type": "number",
          "value": "n",
          "option": "dotScale",
          "help": "Multiply every dot radius, 0.1 to 4. Default 1."
        },
        {
          "name": "rotation",
          "type": "number",
          "value": "deg",
          "option": "rotation",
          "help": "Rotate clockwise about the centre. Default 0."
        },
        {
          "name": "flip-x",
          "type": "bool",
          "option": "flipX",
          "help": "Mirror left to right."
        },
        {
          "name": "flip-y",
          "type": "bool",
          "option": "flipY",
          "help": "Mirror top to bottom."
        },
        {
          "name": "padding",
          "type": "number",
          "value": "n",
          "option": "padding",
          "help": "Space around the 24 x 24 canvas in grid units, 0 to 24. Default 0."
        },
        {
          "name": "background",
          "type": "string",
          "value": "color",
          "option": "background",
          "help": "Background colour, or none. Default none."
        },
        {
          "name": "layer-color",
          "type": "pair",
          "value": "layer=color",
          "option": "layerColors",
          "help": "Colour of one layer, for example sun=#FEBD11 (repeatable)."
        },
        {
          "name": "title",
          "type": "string",
          "value": "text",
          "option": "title",
          "help": "Accessible title. Default the English name; \"\" marks the image decorative."
        },
        {
          "name": "param",
          "type": "pair",
          "value": "name=value",
          "option": "params",
          "help": "Shape parameter, for example rays=9 (repeatable; see deq info)."
        },
        {
          "name": "current-color",
          "type": "string",
          "value": "color",
          "help": "What currentColor means in PDF and image formats. Default black."
        },
        {
          "name": "matte",
          "type": "string",
          "value": "color",
          "help": "JPG background behind transparent pixels. Default white."
        },
        {
          "name": "quality",
          "type": "int",
          "value": "0-100",
          "help": "JPG and WebP quality. Default 90."
        },
        {
          "name": "force",
          "type": "bool",
          "help": "Overwrite existing files."
        }
      ]
    },
    {
      "name": "export",
      "summary": "Export shapes in several formats and sizes.",
      "args": [
        {
          "name": "shape",
          "variadic": true,
          "optional": true,
          "help": "Shape ids; or use --all.",
          "complete": "shape"
        }
      ],
      "flags": [
        {
          "name": "all",
          "type": "bool",
          "help": "Export every shape in the catalog."
        },
        {
          "name": "format",
          "type": "list",
          "choices": [
            "svg",
            "svg-layered",
            "svg-sprite",
            "html",
            "jsx",
            "tsx",
            "vue",
            "svelte",
            "data-uri",
            "css-background",
            "css-mask",
            "pdf",
            "ai",
            "eps",
            "png",
            "jpg",
            "webp",
            "avif",
            "ico",
            "favicon",
            "psd",
            "figma",
            "spec-json"
          ],
          "default": "svg",
          "value": "list",
          "help": "Comma-separated formats. Default svg."
        },
        {
          "name": "sizes",
          "type": "intlist",
          "value": "list",
          "default": "24",
          "help": "Comma-separated sizes in px. Default 24."
        },
        {
          "name": "out",
          "type": "string",
          "value": "dir",
          "default": ".",
          "complete": "dir",
          "help": "Output directory; files go to <dir>/<format>/<size>/. Default the current directory."
        },
        {
          "name": "color",
          "type": "string",
          "value": "color",
          "option": "color",
          "help": "Stroke and dot colour (any CSS colour). Default currentColor."
        },
        {
          "name": "stroke-width",
          "type": "number",
          "value": "n",
          "option": "strokeWidth",
          "help": "Stroke width in grid units, 0.05 to 12. Default 2."
        },
        {
          "name": "absolute-stroke-width",
          "type": "bool",
          "option": "absoluteStrokeWidth",
          "help": "Keep the stroke the same width in px at any size."
        },
        {
          "name": "fill",
          "type": "string",
          "value": "color",
          "option": "fill",
          "help": "Fill for closed outlines, or none. Default none."
        },
        {
          "name": "fill-opacity",
          "type": "number",
          "value": "0-1",
          "option": "fillOpacity",
          "help": "Opacity of the fill. Default 1."
        },
        {
          "name": "stroke-opacity",
          "type": "number",
          "value": "0-1",
          "option": "strokeOpacity",
          "help": "Opacity of strokes and dots. Default 1."
        },
        {
          "name": "linecap",
          "type": "choice",
          "choices": [
            "round",
            "butt",
            "square"
          ],
          "option": "linecap",
          "help": "Line ends. Default round."
        },
        {
          "name": "linejoin",
          "type": "choice",
          "choices": [
            "round",
            "miter",
            "bevel"
          ],
          "option": "linejoin",
          "help": "Line corners. Default round."
        },
        {
          "name": "dot-scale",
          "type": "number",
          "value": "n",
          "option": "dotScale",
          "help": "Multiply every dot radius, 0.1 to 4. Default 1."
        },
        {
          "name": "rotation",
          "type": "number",
          "value": "deg",
          "option": "rotation",
          "help": "Rotate clockwise about the centre. Default 0."
        },
        {
          "name": "flip-x",
          "type": "bool",
          "option": "flipX",
          "help": "Mirror left to right."
        },
        {
          "name": "flip-y",
          "type": "bool",
          "option": "flipY",
          "help": "Mirror top to bottom."
        },
        {
          "name": "padding",
          "type": "number",
          "value": "n",
          "option": "padding",
          "help": "Space around the 24 x 24 canvas in grid units, 0 to 24. Default 0."
        },
        {
          "name": "background",
          "type": "string",
          "value": "color",
          "option": "background",
          "help": "Background colour, or none. Default none."
        },
        {
          "name": "layer-color",
          "type": "pair",
          "value": "layer=color",
          "option": "layerColors",
          "help": "Colour of one layer, for example sun=#FEBD11 (repeatable)."
        },
        {
          "name": "title",
          "type": "string",
          "value": "text",
          "option": "title",
          "help": "Accessible title. Default the English name; \"\" marks the image decorative."
        },
        {
          "name": "param",
          "type": "pair",
          "value": "name=value",
          "option": "params",
          "help": "Shape parameter, for example rays=9 (repeatable; see deq info)."
        },
        {
          "name": "current-color",
          "type": "string",
          "value": "color",
          "help": "What currentColor means in PDF and image formats. Default black."
        },
        {
          "name": "matte",
          "type": "string",
          "value": "color",
          "help": "JPG background behind transparent pixels. Default white."
        },
        {
          "name": "quality",
          "type": "int",
          "value": "0-100",
          "help": "JPG and WebP quality. Default 90."
        },
        {
          "name": "force",
          "type": "bool",
          "help": "Overwrite existing files."
        }
      ]
    },
    {
      "name": "flag",
      "summary": "Draw the flag of Kurdistan.",
      "args": [],
      "flags": [
        {
          "name": "variant",
          "type": "choice",
          "choices": [
            "full-color",
            "mono-black",
            "mono-white",
            "outline",
            "high-contrast",
            "square"
          ],
          "default": "full-color",
          "help": "Flag variant. Default full-color."
        },
        {
          "name": "width",
          "type": "int",
          "value": "px",
          "default": "900",
          "help": "Width in px, 1 to 8192; the height follows. Default 900."
        },
        {
          "name": "format",
          "type": "choice",
          "choices": [
            "svg",
            "png",
            "jpg",
            "webp"
          ],
          "default": "svg",
          "help": "Output format. Default svg."
        },
        {
          "name": "title",
          "type": "string",
          "value": "text",
          "help": "Accessible title. Default \"Flag of Kurdistan\"."
        },
        {
          "name": "current-color",
          "type": "string",
          "value": "color",
          "help": "What currentColor means in image formats. Default black."
        },
        {
          "name": "matte",
          "type": "string",
          "value": "color",
          "help": "JPG background behind transparent pixels. Default white."
        },
        {
          "name": "quality",
          "type": "int",
          "value": "0-100",
          "help": "JPG and WebP quality. Default 90."
        },
        {
          "name": "out",
          "type": "string",
          "value": "path",
          "complete": "file",
          "help": "Output file or directory; - writes to stdout. Default: the current directory."
        },
        {
          "name": "force",
          "type": "bool",
          "help": "Overwrite existing files."
        }
      ]
    },
    {
      "name": "leet",
      "summary": "Write text with Deq glyphs (Deq Leet), or read it back with --decode.",
      "args": [
        {
          "name": "text",
          "optional": true,
          "help": "Latin, Kurmanji or Sorani text, at most 1024 characters."
        }
      ],
      "flags": [
        {
          "name": "decode",
          "type": "string",
          "value": "file",
          "complete": "file",
          "help": "Print the text of a Deq Leet SVG written at the basic level; pass the render flags used to write it."
        },
        {
          "name": "level",
          "type": "choice",
          "choices": [
            "basic",
            "advanced",
            "full"
          ],
          "option": "level",
          "help": "basic is readable and decodable, advanced mixes in seeded alternatives, full uses motifs. Default basic."
        },
        {
          "name": "script",
          "type": "choice",
          "choices": [
            "latin",
            "sorani"
          ],
          "option": "script",
          "help": "Glyph table. Default sorani for Arabic-script text, else latin."
        },
        {
          "name": "seed",
          "type": "int",
          "value": "n",
          "option": "seed",
          "help": "Seed for the advanced level, 0 to 4294967295. Default 1."
        },
        {
          "name": "letter-spacing",
          "type": "number",
          "value": "n",
          "option": "letterSpacing",
          "help": "Space between glyphs in grid units, 0 to 24. Default 2."
        },
        {
          "name": "line-spacing",
          "type": "number",
          "value": "n",
          "option": "lineSpacing",
          "help": "Space between lines in grid units, 0 to 48. Default 6."
        },
        {
          "name": "align",
          "type": "choice",
          "choices": [
            "start",
            "center",
            "end"
          ],
          "option": "align",
          "help": "Line alignment; start is the right edge for Sorani. Default start."
        },
        {
          "name": "format",
          "type": "choice",
          "choices": [
            "svg",
            "png",
            "jpg",
            "webp"
          ],
          "default": "svg",
          "help": "Output format. Default svg."
        },
        {
          "name": "size",
          "type": "number",
          "value": "px",
          "option": "size",
          "help": "Size in px of one 24 x 24 cell, 1 to 8192. Default 24."
        },
        {
          "name": "colors",
          "type": "list",
          "value": "list",
          "option": "colors",
          "help": "Comma-separated colours given to the glyphs in turn (1 to 16)."
        },
        {
          "name": "title",
          "type": "string",
          "value": "text",
          "option": "title",
          "help": "Accessible title. Default the normalised text; \"\" marks the image decorative."
        },
        {
          "name": "out",
          "type": "string",
          "value": "path",
          "complete": "file",
          "help": "Output file or directory; - writes to stdout. Default: the current directory."
        },
        {
          "name": "color",
          "type": "string",
          "value": "color",
          "option": "color",
          "help": "Stroke and dot colour (any CSS colour). Default currentColor."
        },
        {
          "name": "stroke-width",
          "type": "number",
          "value": "n",
          "option": "strokeWidth",
          "help": "Stroke width in grid units, 0.05 to 12. Default 2."
        },
        {
          "name": "absolute-stroke-width",
          "type": "bool",
          "option": "absoluteStrokeWidth",
          "help": "Keep the stroke the same width in px at any size."
        },
        {
          "name": "fill",
          "type": "string",
          "value": "color",
          "option": "fill",
          "help": "Fill for closed outlines, or none. Default none."
        },
        {
          "name": "fill-opacity",
          "type": "number",
          "value": "0-1",
          "option": "fillOpacity",
          "help": "Opacity of the fill. Default 1."
        },
        {
          "name": "stroke-opacity",
          "type": "number",
          "value": "0-1",
          "option": "strokeOpacity",
          "help": "Opacity of strokes and dots. Default 1."
        },
        {
          "name": "linecap",
          "type": "choice",
          "choices": [
            "round",
            "butt",
            "square"
          ],
          "option": "linecap",
          "help": "Line ends. Default round."
        },
        {
          "name": "linejoin",
          "type": "choice",
          "choices": [
            "round",
            "miter",
            "bevel"
          ],
          "option": "linejoin",
          "help": "Line corners. Default round."
        },
        {
          "name": "dot-scale",
          "type": "number",
          "value": "n",
          "option": "dotScale",
          "help": "Multiply every dot radius, 0.1 to 4. Default 1."
        },
        {
          "name": "padding",
          "type": "number",
          "value": "n",
          "option": "padding",
          "help": "Space around the 24 x 24 canvas in grid units, 0 to 24. Default 0."
        },
        {
          "name": "background",
          "type": "string",
          "value": "color",
          "option": "background",
          "help": "Background colour, or none. Default none."
        },
        {
          "name": "current-color",
          "type": "string",
          "value": "color",
          "help": "What currentColor means in PDF and image formats. Default black."
        },
        {
          "name": "matte",
          "type": "string",
          "value": "color",
          "help": "JPG background behind transparent pixels. Default white."
        },
        {
          "name": "quality",
          "type": "int",
          "value": "0-100",
          "help": "JPG and WebP quality. Default 90."
        },
        {
          "name": "force",
          "type": "bool",
          "help": "Overwrite existing files."
        }
      ]
    },
    {
      "name": "generate",
      "summary": "Generate a seeded pattern of Deq motifs.",
      "args": [],
      "flags": [
        {
          "name": "kind",
          "type": "choice",
          "choices": [
            "band",
            "grid",
            "rosette",
            "border"
          ],
          "option": "kind",
          "help": "Pattern kind. Default band."
        },
        {
          "name": "seed",
          "type": "int",
          "value": "n",
          "option": "seed",
          "help": "Seed, 0 to 4294967295; the same seed gives the same pattern. Default 1."
        },
        {
          "name": "motifs",
          "type": "list",
          "value": "list",
          "option": "motifs",
          "complete": "shape",
          "help": "Comma-separated shape ids to choose from (1 to 64). Default every shape."
        },
        {
          "name": "count",
          "type": "int",
          "value": "n",
          "option": "count",
          "help": "Band length, odd, 3 to 63. Default 9."
        },
        {
          "name": "cols",
          "type": "int",
          "value": "n",
          "option": "cols",
          "help": "Grid or border columns, 1 to 32 (border at least 3). Default 5 (grid), 7 (border)."
        },
        {
          "name": "rows",
          "type": "int",
          "value": "n",
          "option": "rows",
          "help": "Grid or border rows, 1 to 32 (border at least 3). Default 5 (grid), 3 (border)."
        },
        {
          "name": "petals",
          "type": "int",
          "value": "n",
          "option": "petals",
          "help": "Rosette petals, 3 to 24. Default 8."
        },
        {
          "name": "spacing",
          "type": "number",
          "value": "n",
          "option": "spacing",
          "help": "Space between cells in grid units, 0 to 24. Default 2."
        },
        {
          "name": "format",
          "type": "choice",
          "choices": [
            "svg",
            "png",
            "jpg",
            "webp"
          ],
          "default": "svg",
          "help": "Output format. Default svg."
        },
        {
          "name": "size",
          "type": "number",
          "value": "px",
          "option": "size",
          "help": "Size in px of one 24 x 24 cell, 1 to 8192. Default 24."
        },
        {
          "name": "colors",
          "type": "list",
          "value": "list",
          "option": "colors",
          "help": "Comma-separated colours given to the glyphs in turn (1 to 16)."
        },
        {
          "name": "title",
          "type": "string",
          "value": "text",
          "option": "title",
          "help": "Accessible title. Default \"Deq <kind> pattern\"; \"\" marks the image decorative."
        },
        {
          "name": "out",
          "type": "string",
          "value": "path",
          "complete": "file",
          "help": "Output file or directory; - writes to stdout. Default: the current directory."
        },
        {
          "name": "color",
          "type": "string",
          "value": "color",
          "option": "color",
          "help": "Stroke and dot colour (any CSS colour). Default currentColor."
        },
        {
          "name": "stroke-width",
          "type": "number",
          "value": "n",
          "option": "strokeWidth",
          "help": "Stroke width in grid units, 0.05 to 12. Default 2."
        },
        {
          "name": "absolute-stroke-width",
          "type": "bool",
          "option": "absoluteStrokeWidth",
          "help": "Keep the stroke the same width in px at any size."
        },
        {
          "name": "fill",
          "type": "string",
          "value": "color",
          "option": "fill",
          "help": "Fill for closed outlines, or none. Default none."
        },
        {
          "name": "fill-opacity",
          "type": "number",
          "value": "0-1",
          "option": "fillOpacity",
          "help": "Opacity of the fill. Default 1."
        },
        {
          "name": "stroke-opacity",
          "type": "number",
          "value": "0-1",
          "option": "strokeOpacity",
          "help": "Opacity of strokes and dots. Default 1."
        },
        {
          "name": "linecap",
          "type": "choice",
          "choices": [
            "round",
            "butt",
            "square"
          ],
          "option": "linecap",
          "help": "Line ends. Default round."
        },
        {
          "name": "linejoin",
          "type": "choice",
          "choices": [
            "round",
            "miter",
            "bevel"
          ],
          "option": "linejoin",
          "help": "Line corners. Default round."
        },
        {
          "name": "dot-scale",
          "type": "number",
          "value": "n",
          "option": "dotScale",
          "help": "Multiply every dot radius, 0.1 to 4. Default 1."
        },
        {
          "name": "padding",
          "type": "number",
          "value": "n",
          "option": "padding",
          "help": "Space around the 24 x 24 canvas in grid units, 0 to 24. Default 0."
        },
        {
          "name": "background",
          "type": "string",
          "value": "color",
          "option": "background",
          "help": "Background colour, or none. Default none."
        },
        {
          "name": "current-color",
          "type": "string",
          "value": "color",
          "help": "What currentColor means in PDF and image formats. Default black."
        },
        {
          "name": "matte",
          "type": "string",
          "value": "color",
          "help": "JPG background behind transparent pixels. Default white."
        },
        {
          "name": "quality",
          "type": "int",
          "value": "0-100",
          "help": "JPG and WebP quality. Default 90."
        },
        {
          "name": "force",
          "type": "bool",
          "help": "Overwrite existing files."
        }
      ]
    },
    {
      "name": "validate",
      "summary": "Check a shape spec file and render every parameter variant.",
      "args": [
        {
          "name": "file",
          "help": "Shape spec JSON file.",
          "complete": "file"
        }
      ],
      "flags": []
    },
    {
      "name": "completion",
      "summary": "Print a shell completion script.",
      "args": [
        {
          "name": "shell",
          "choices": [
            "bash",
            "zsh",
            "fish",
            "powershell"
          ],
          "help": "bash, zsh, fish or powershell."
        }
      ],
      "flags": []
    }
  ],
  "help": {
    "": "deq 1.0.0-rc.1: Draw Deq shapes, traditional Kurdish tattoo motifs, as SVG, PDF and images.\n\nUsage: deq <command> [options]\n\nCommands:\n  list        List the shapes in the catalog.\n  info        Show a shape's names, layers and parameters.\n  render      Render shapes to files.\n  export      Export shapes in several formats and sizes.\n  flag        Draw the flag of Kurdistan.\n  leet        Write text with Deq glyphs (Deq Leet), or read it back with\n              --decode.\n  generate    Generate a seeded pattern of Deq motifs.\n  validate    Check a shape spec file and render every parameter variant.\n  completion  Print a shell completion script.\n\nOptions:\n  -h, --help     Show help.\n  -V, --version  Print the version.\n\nExit codes:\n  0  success\n  1  a shape, option or spec file is invalid\n  2  the command line is wrong\n  3  a file could not be read or written (or exists without --force)\n  4  the format is only available in the Node CLI\n\nRun \"deq <command> --help\" for the options of a command.\n",
    "list": "Usage: deq list [options]\n\nList the shapes in the catalog.\n\nOptions:\n      --category <id>  Only shapes in this category.\n      --json           Print JSON.\n  -h, --help           Show help.\n  -V, --version        Print the version.\n",
    "info": "Usage: deq info <shape> [options]\n\nShow a shape's names, layers and parameters.\n\nArguments:\n  <shape>  Shape id (see deq list).\n\nOptions:\n      --json     Print JSON.\n  -h, --help     Show help.\n  -V, --version  Print the version.\n",
    "render": "Usage: deq render <shape...> [options]\n\nRender shapes to files.\n\nArguments:\n  <shape...>  Shape ids (see deq list).\n\nOptions:\n      --format <format>         Output format. Default svg. Values: svg,\n                                svg-layered, svg-sprite, html, jsx, tsx, vue,\n                                svelte, data-uri, css-background, css-mask, pdf,\n                                ai, eps, png, jpg, webp, avif, ico, favicon,\n                                psd, figma, spec-json.\n      --size <px>               Width and height in px, 1 to 8192. Default 24.\n      --layered                 SVG with one Inkscape layer per shape layer\n                                (same as --format svg-layered).\n      --out <path>              Output file, or a directory for several files; -\n                                writes one file to stdout. Default: the current\n                                directory.\n      --color <color>           Stroke and dot colour (any CSS colour). Default\n                                currentColor.\n      --stroke-width <n>        Stroke width in grid units, 0.05 to 12. Default\n                                2.\n      --absolute-stroke-width   Keep the stroke the same width in px at any\n                                size.\n      --fill <color>            Fill for closed outlines, or none. Default none.\n      --fill-opacity <0-1>      Opacity of the fill. Default 1.\n      --stroke-opacity <0-1>    Opacity of strokes and dots. Default 1.\n      --linecap <linecap>       Line ends. Default round. Values: round, butt,\n                                square.\n      --linejoin <linejoin>     Line corners. Default round. Values: round,\n                                miter, bevel.\n      --dot-scale <n>           Multiply every dot radius, 0.1 to 4. Default 1.\n      --rotation <deg>          Rotate clockwise about the centre. Default 0.\n      --flip-x                  Mirror left to right.\n      --flip-y                  Mirror top to bottom.\n      --padding <n>             Space around the 24 x 24 canvas in grid units, 0\n                                to 24. Default 0.\n      --background <color>      Background colour, or none. Default none.\n      --layer-color <layer=color>\n                                Colour of one layer, for example sun=#FEBD11\n                                (repeatable).\n      --title <text>            Accessible title. Default the English name; \"\"\n                                marks the image decorative.\n      --param <name=value>      Shape parameter, for example rays=9 (repeatable;\n                                see deq info).\n      --current-color <color>   What currentColor means in PDF and image\n                                formats. Default black.\n      --matte <color>           JPG background behind transparent pixels.\n                                Default white.\n      --quality <0-100>         JPG and WebP quality. Default 90.\n      --force                   Overwrite existing files.\n  -h, --help                    Show help.\n  -V, --version                 Print the version.\n",
    "export": "Usage: deq export [<shape...>] [options]\n\nExport shapes in several formats and sizes.\n\nArguments:\n  [<shape...>]  Shape ids; or use --all.\n\nOptions:\n      --all                     Export every shape in the catalog.\n      --format <list>           Comma-separated formats. Default svg. Values:\n                                svg, svg-layered, svg-sprite, html, jsx, tsx,\n                                vue, svelte, data-uri, css-background, css-mask,\n                                pdf, ai, eps, png, jpg, webp, avif, ico,\n                                favicon, psd, figma, spec-json.\n      --sizes <list>            Comma-separated sizes in px. Default 24.\n      --out <dir>               Output directory; files go to\n                                <dir>/<format>/<size>/. Default the current\n                                directory.\n      --color <color>           Stroke and dot colour (any CSS colour). Default\n                                currentColor.\n      --stroke-width <n>        Stroke width in grid units, 0.05 to 12. Default\n                                2.\n      --absolute-stroke-width   Keep the stroke the same width in px at any\n                                size.\n      --fill <color>            Fill for closed outlines, or none. Default none.\n      --fill-opacity <0-1>      Opacity of the fill. Default 1.\n      --stroke-opacity <0-1>    Opacity of strokes and dots. Default 1.\n      --linecap <linecap>       Line ends. Default round. Values: round, butt,\n                                square.\n      --linejoin <linejoin>     Line corners. Default round. Values: round,\n                                miter, bevel.\n      --dot-scale <n>           Multiply every dot radius, 0.1 to 4. Default 1.\n      --rotation <deg>          Rotate clockwise about the centre. Default 0.\n      --flip-x                  Mirror left to right.\n      --flip-y                  Mirror top to bottom.\n      --padding <n>             Space around the 24 x 24 canvas in grid units, 0\n                                to 24. Default 0.\n      --background <color>      Background colour, or none. Default none.\n      --layer-color <layer=color>\n                                Colour of one layer, for example sun=#FEBD11\n                                (repeatable).\n      --title <text>            Accessible title. Default the English name; \"\"\n                                marks the image decorative.\n      --param <name=value>      Shape parameter, for example rays=9 (repeatable;\n                                see deq info).\n      --current-color <color>   What currentColor means in PDF and image\n                                formats. Default black.\n      --matte <color>           JPG background behind transparent pixels.\n                                Default white.\n      --quality <0-100>         JPG and WebP quality. Default 90.\n      --force                   Overwrite existing files.\n  -h, --help                    Show help.\n  -V, --version                 Print the version.\n",
    "flag": "Usage: deq flag [options]\n\nDraw the flag of Kurdistan.\n\nOptions:\n      --variant <variant>      Flag variant. Default full-color. Values:\n                               full-color, mono-black, mono-white, outline,\n                               high-contrast, square.\n      --width <px>             Width in px, 1 to 8192; the height follows.\n                               Default 900.\n      --format <format>        Output format. Default svg. Values: svg, png,\n                               jpg, webp.\n      --title <text>           Accessible title. Default \"Flag of Kurdistan\".\n      --current-color <color>  What currentColor means in image formats. Default\n                               black.\n      --matte <color>          JPG background behind transparent pixels. Default\n                               white.\n      --quality <0-100>        JPG and WebP quality. Default 90.\n      --out <path>             Output file or directory; - writes to stdout.\n                               Default: the current directory.\n      --force                  Overwrite existing files.\n  -h, --help                   Show help.\n  -V, --version                Print the version.\n",
    "leet": "Usage: deq leet [<text>] [options]\n\nWrite text with Deq glyphs (Deq Leet), or read it back with --decode.\n\nArguments:\n  [<text>]  Latin, Kurmanji or Sorani text, at most 1024 characters.\n\nOptions:\n      --decode <file>          Print the text of a Deq Leet SVG written at the\n                               basic level; pass the render flags used to write\n                               it.\n      --level <level>          basic is readable and decodable, advanced mixes\n                               in seeded alternatives, full uses motifs. Default\n                               basic. Values: basic, advanced, full.\n      --script <script>        Glyph table. Default sorani for Arabic-script\n                               text, else latin. Values: latin, sorani.\n      --seed <n>               Seed for the advanced level, 0 to 4294967295.\n                               Default 1.\n      --letter-spacing <n>     Space between glyphs in grid units, 0 to 24.\n                               Default 2.\n      --line-spacing <n>       Space between lines in grid units, 0 to 48.\n                               Default 6.\n      --align <align>          Line alignment; start is the right edge for\n                               Sorani. Default start. Values: start, center,\n                               end.\n      --format <format>        Output format. Default svg. Values: svg, png,\n                               jpg, webp.\n      --size <px>              Size in px of one 24 x 24 cell, 1 to 8192.\n                               Default 24.\n      --colors <list>          Comma-separated colours given to the glyphs in\n                               turn (1 to 16).\n      --title <text>           Accessible title. Default the normalised text; \"\"\n                               marks the image decorative.\n      --out <path>             Output file or directory; - writes to stdout.\n                               Default: the current directory.\n      --color <color>          Stroke and dot colour (any CSS colour). Default\n                               currentColor.\n      --stroke-width <n>       Stroke width in grid units, 0.05 to 12. Default\n                               2.\n      --absolute-stroke-width  Keep the stroke the same width in px at any size.\n      --fill <color>           Fill for closed outlines, or none. Default none.\n      --fill-opacity <0-1>     Opacity of the fill. Default 1.\n      --stroke-opacity <0-1>   Opacity of strokes and dots. Default 1.\n      --linecap <linecap>      Line ends. Default round. Values: round, butt,\n                               square.\n      --linejoin <linejoin>    Line corners. Default round. Values: round,\n                               miter, bevel.\n      --dot-scale <n>          Multiply every dot radius, 0.1 to 4. Default 1.\n      --padding <n>            Space around the 24 x 24 canvas in grid units, 0\n                               to 24. Default 0.\n      --background <color>     Background colour, or none. Default none.\n      --current-color <color>  What currentColor means in PDF and image formats.\n                               Default black.\n      --matte <color>          JPG background behind transparent pixels. Default\n                               white.\n      --quality <0-100>        JPG and WebP quality. Default 90.\n      --force                  Overwrite existing files.\n  -h, --help                   Show help.\n  -V, --version                Print the version.\n",
    "generate": "Usage: deq generate [options]\n\nGenerate a seeded pattern of Deq motifs.\n\nOptions:\n      --kind <kind>            Pattern kind. Default band. Values: band, grid,\n                               rosette, border.\n      --seed <n>               Seed, 0 to 4294967295; the same seed gives the\n                               same pattern. Default 1.\n      --motifs <list>          Comma-separated shape ids to choose from (1 to\n                               64). Default every shape.\n      --count <n>              Band length, odd, 3 to 63. Default 9.\n      --cols <n>               Grid or border columns, 1 to 32 (border at least\n                               3). Default 5 (grid), 7 (border).\n      --rows <n>               Grid or border rows, 1 to 32 (border at least 3).\n                               Default 5 (grid), 3 (border).\n      --petals <n>             Rosette petals, 3 to 24. Default 8.\n      --spacing <n>            Space between cells in grid units, 0 to 24.\n                               Default 2.\n      --format <format>        Output format. Default svg. Values: svg, png,\n                               jpg, webp.\n      --size <px>              Size in px of one 24 x 24 cell, 1 to 8192.\n                               Default 24.\n      --colors <list>          Comma-separated colours given to the glyphs in\n                               turn (1 to 16).\n      --title <text>           Accessible title. Default \"Deq <kind> pattern\";\n                               \"\" marks the image decorative.\n      --out <path>             Output file or directory; - writes to stdout.\n                               Default: the current directory.\n      --color <color>          Stroke and dot colour (any CSS colour). Default\n                               currentColor.\n      --stroke-width <n>       Stroke width in grid units, 0.05 to 12. Default\n                               2.\n      --absolute-stroke-width  Keep the stroke the same width in px at any size.\n      --fill <color>           Fill for closed outlines, or none. Default none.\n      --fill-opacity <0-1>     Opacity of the fill. Default 1.\n      --stroke-opacity <0-1>   Opacity of strokes and dots. Default 1.\n      --linecap <linecap>      Line ends. Default round. Values: round, butt,\n                               square.\n      --linejoin <linejoin>    Line corners. Default round. Values: round,\n                               miter, bevel.\n      --dot-scale <n>          Multiply every dot radius, 0.1 to 4. Default 1.\n      --padding <n>            Space around the 24 x 24 canvas in grid units, 0\n                               to 24. Default 0.\n      --background <color>     Background colour, or none. Default none.\n      --current-color <color>  What currentColor means in PDF and image formats.\n                               Default black.\n      --matte <color>          JPG background behind transparent pixels. Default\n                               white.\n      --quality <0-100>        JPG and WebP quality. Default 90.\n      --force                  Overwrite existing files.\n  -h, --help                   Show help.\n  -V, --version                Print the version.\n",
    "validate": "Usage: deq validate <file> [options]\n\nCheck a shape spec file and render every parameter variant.\n\nArguments:\n  <file>  Shape spec JSON file.\n\nOptions:\n  -h, --help     Show help.\n  -V, --version  Print the version.\n",
    "completion": "Usage: deq completion <shell> [options]\n\nPrint a shell completion script.\n\nArguments:\n  <shell>  bash, zsh, fish or powershell.\n\nOptions:\n  -h, --help     Show help.\n  -V, --version  Print the version.\n"
  },
  "completions": {
    "bash": "# bash completion for deq. Generated from spec/cli.json; do not edit.\n# Install: deq completion bash > ~/.local/share/bash-completion/completions/deq\n_deq() {\n  local cur prev\n  cur=\"${COMP_WORDS[COMP_CWORD]}\"\n  prev=\"${COMP_WORDS[COMP_CWORD-1]}\"\n  if [[ $COMP_CWORD -eq 1 ]]; then\n    COMPREPLY=($(compgen -W \"list info render export flag leet generate validate completion --help --version\" -- \"$cur\"))\n    return\n  fi\n  case \"${COMP_WORDS[1]}\" in\n    list)\n      case \"$prev\" in\n        --category) return ;;\n      esac\n      if [[ $cur == -* ]]; then COMPREPLY=($(compgen -W \"--category --json --help\" -- \"$cur\")); return; fi\n      ;;\n    info)\n      if [[ $cur == -* ]]; then COMPREPLY=($(compgen -W \"--json --help\" -- \"$cur\")); return; fi\n      COMPREPLY=($(compgen -W \"roj-half-sun roj-sun-circle heyv-crescent sterk-star cup-rays moon-dome star-dense star-flower sun-arch-dotted sun-bar sun-dome-comb sun-double-ring sun-forked-rays sun-rays sun-spiral tree-branch wheat-arrow fork spike ring-stem arrow-down arrow-herringbone arrow-line crow-foot cup dome-stem fork-cross fork-down-dotted fork-down root tree-comb tree-cup trefoil cross cross-dotted x-mark lozenge lozenge-nested triangle-dotted chevron chevron-stack crossed-chevrons comb ladder spindle dimlich arch-dot cross-forked-dotted cross-forked crossed-chevrons-wide dome-comb star-chain t-mark tent-cross tent-double tent tree-row x-chain x-comb dot dot-trio dot-row dot-quincunx dot-rosette dot-cluster chain dot-diamond dot-flower ring-chain-shaft ring-stem-double ring zigzag arrow-row band-border comb-dotted comb-forked comb-x fork-pair tick-bar gazelle fish sandgrouse-foot doll darek arch-dot-column bird dancer chin-composition forehead-composition circle-over-comb drower-union kurdish-sun kurdish-flag\" -- \"$cur\"))\n      ;;\n    render)\n      case \"$prev\" in\n        --format) COMPREPLY=($(compgen -W \"svg svg-layered svg-sprite html jsx tsx vue svelte data-uri css-background css-mask pdf ai eps png jpg webp avif ico favicon psd figma spec-json\" -- \"$cur\")); return ;;\n        --size) return ;;\n        --out) COMPREPLY=($(compgen -f -- \"$cur\")); return ;;\n        --color) return ;;\n        --stroke-width) return ;;\n        --fill) return ;;\n        --fill-opacity) return ;;\n        --stroke-opacity) return ;;\n        --linecap) COMPREPLY=($(compgen -W \"round butt square\" -- \"$cur\")); return ;;\n        --linejoin) COMPREPLY=($(compgen -W \"round miter bevel\" -- \"$cur\")); return ;;\n        --dot-scale) return ;;\n        --rotation) return ;;\n        --padding) return ;;\n        --background) return ;;\n        --layer-color) return ;;\n        --title) return ;;\n        --param) return ;;\n        --current-color) return ;;\n        --matte) return ;;\n        --quality) return ;;\n      esac\n      if [[ $cur == -* ]]; then COMPREPLY=($(compgen -W \"--format --size --layered --out --color --stroke-width --absolute-stroke-width --fill --fill-opacity --stroke-opacity --linecap --linejoin --dot-scale --rotation --flip-x --flip-y --padding --background --layer-color --title --param --current-color --matte --quality --force --help\" -- \"$cur\")); return; fi\n      COMPREPLY=($(compgen -W \"roj-half-sun roj-sun-circle heyv-crescent sterk-star cup-rays moon-dome star-dense star-flower sun-arch-dotted sun-bar sun-dome-comb sun-double-ring sun-forked-rays sun-rays sun-spiral tree-branch wheat-arrow fork spike ring-stem arrow-down arrow-herringbone arrow-line crow-foot cup dome-stem fork-cross fork-down-dotted fork-down root tree-comb tree-cup trefoil cross cross-dotted x-mark lozenge lozenge-nested triangle-dotted chevron chevron-stack crossed-chevrons comb ladder spindle dimlich arch-dot cross-forked-dotted cross-forked crossed-chevrons-wide dome-comb star-chain t-mark tent-cross tent-double tent tree-row x-chain x-comb dot dot-trio dot-row dot-quincunx dot-rosette dot-cluster chain dot-diamond dot-flower ring-chain-shaft ring-stem-double ring zigzag arrow-row band-border comb-dotted comb-forked comb-x fork-pair tick-bar gazelle fish sandgrouse-foot doll darek arch-dot-column bird dancer chin-composition forehead-composition circle-over-comb drower-union kurdish-sun kurdish-flag\" -- \"$cur\"))\n      ;;\n    export)\n      case \"$prev\" in\n        --format) COMPREPLY=($(compgen -W \"svg svg-layered svg-sprite html jsx tsx vue svelte data-uri css-background css-mask pdf ai eps png jpg webp avif ico favicon psd figma spec-json\" -- \"$cur\")); return ;;\n        --sizes) return ;;\n        --out) COMPREPLY=($(compgen -d -- \"$cur\")); return ;;\n        --color) return ;;\n        --stroke-width) return ;;\n        --fill) return ;;\n        --fill-opacity) return ;;\n        --stroke-opacity) return ;;\n        --linecap) COMPREPLY=($(compgen -W \"round butt square\" -- \"$cur\")); return ;;\n        --linejoin) COMPREPLY=($(compgen -W \"round miter bevel\" -- \"$cur\")); return ;;\n        --dot-scale) return ;;\n        --rotation) return ;;\n        --padding) return ;;\n        --background) return ;;\n        --layer-color) return ;;\n        --title) return ;;\n        --param) return ;;\n        --current-color) return ;;\n        --matte) return ;;\n        --quality) return ;;\n      esac\n      if [[ $cur == -* ]]; then COMPREPLY=($(compgen -W \"--all --format --sizes --out --color --stroke-width --absolute-stroke-width --fill --fill-opacity --stroke-opacity --linecap --linejoin --dot-scale --rotation --flip-x --flip-y --padding --background --layer-color --title --param --current-color --matte --quality --force --help\" -- \"$cur\")); return; fi\n      COMPREPLY=($(compgen -W \"roj-half-sun roj-sun-circle heyv-crescent sterk-star cup-rays moon-dome star-dense star-flower sun-arch-dotted sun-bar sun-dome-comb sun-double-ring sun-forked-rays sun-rays sun-spiral tree-branch wheat-arrow fork spike ring-stem arrow-down arrow-herringbone arrow-line crow-foot cup dome-stem fork-cross fork-down-dotted fork-down root tree-comb tree-cup trefoil cross cross-dotted x-mark lozenge lozenge-nested triangle-dotted chevron chevron-stack crossed-chevrons comb ladder spindle dimlich arch-dot cross-forked-dotted cross-forked crossed-chevrons-wide dome-comb star-chain t-mark tent-cross tent-double tent tree-row x-chain x-comb dot dot-trio dot-row dot-quincunx dot-rosette dot-cluster chain dot-diamond dot-flower ring-chain-shaft ring-stem-double ring zigzag arrow-row band-border comb-dotted comb-forked comb-x fork-pair tick-bar gazelle fish sandgrouse-foot doll darek arch-dot-column bird dancer chin-composition forehead-composition circle-over-comb drower-union kurdish-sun kurdish-flag\" -- \"$cur\"))\n      ;;\n    flag)\n      case \"$prev\" in\n        --variant) COMPREPLY=($(compgen -W \"full-color mono-black mono-white outline high-contrast square\" -- \"$cur\")); return ;;\n        --width) return ;;\n        --format) COMPREPLY=($(compgen -W \"svg png jpg webp\" -- \"$cur\")); return ;;\n        --title) return ;;\n        --current-color) return ;;\n        --matte) return ;;\n        --quality) return ;;\n        --out) COMPREPLY=($(compgen -f -- \"$cur\")); return ;;\n      esac\n      if [[ $cur == -* ]]; then COMPREPLY=($(compgen -W \"--variant --width --format --title --current-color --matte --quality --out --force --help\" -- \"$cur\")); return; fi\n      ;;\n    leet)\n      case \"$prev\" in\n        --decode) COMPREPLY=($(compgen -f -- \"$cur\")); return ;;\n        --level) COMPREPLY=($(compgen -W \"basic advanced full\" -- \"$cur\")); return ;;\n        --script) COMPREPLY=($(compgen -W \"latin sorani\" -- \"$cur\")); return ;;\n        --seed) return ;;\n        --letter-spacing) return ;;\n        --line-spacing) return ;;\n        --align) COMPREPLY=($(compgen -W \"start center end\" -- \"$cur\")); return ;;\n        --format) COMPREPLY=($(compgen -W \"svg png jpg webp\" -- \"$cur\")); return ;;\n        --size) return ;;\n        --colors) return ;;\n        --title) return ;;\n        --out) COMPREPLY=($(compgen -f -- \"$cur\")); return ;;\n        --color) return ;;\n        --stroke-width) return ;;\n        --fill) return ;;\n        --fill-opacity) return ;;\n        --stroke-opacity) return ;;\n        --linecap) COMPREPLY=($(compgen -W \"round butt square\" -- \"$cur\")); return ;;\n        --linejoin) COMPREPLY=($(compgen -W \"round miter bevel\" -- \"$cur\")); return ;;\n        --dot-scale) return ;;\n        --padding) return ;;\n        --background) return ;;\n        --current-color) return ;;\n        --matte) return ;;\n        --quality) return ;;\n      esac\n      if [[ $cur == -* ]]; then COMPREPLY=($(compgen -W \"--decode --level --script --seed --letter-spacing --line-spacing --align --format --size --colors --title --out --color --stroke-width --absolute-stroke-width --fill --fill-opacity --stroke-opacity --linecap --linejoin --dot-scale --padding --background --current-color --matte --quality --force --help\" -- \"$cur\")); return; fi\n      ;;\n    generate)\n      case \"$prev\" in\n        --kind) COMPREPLY=($(compgen -W \"band grid rosette border\" -- \"$cur\")); return ;;\n        --seed) return ;;\n        --motifs) COMPREPLY=($(compgen -W \"roj-half-sun roj-sun-circle heyv-crescent sterk-star cup-rays moon-dome star-dense star-flower sun-arch-dotted sun-bar sun-dome-comb sun-double-ring sun-forked-rays sun-rays sun-spiral tree-branch wheat-arrow fork spike ring-stem arrow-down arrow-herringbone arrow-line crow-foot cup dome-stem fork-cross fork-down-dotted fork-down root tree-comb tree-cup trefoil cross cross-dotted x-mark lozenge lozenge-nested triangle-dotted chevron chevron-stack crossed-chevrons comb ladder spindle dimlich arch-dot cross-forked-dotted cross-forked crossed-chevrons-wide dome-comb star-chain t-mark tent-cross tent-double tent tree-row x-chain x-comb dot dot-trio dot-row dot-quincunx dot-rosette dot-cluster chain dot-diamond dot-flower ring-chain-shaft ring-stem-double ring zigzag arrow-row band-border comb-dotted comb-forked comb-x fork-pair tick-bar gazelle fish sandgrouse-foot doll darek arch-dot-column bird dancer chin-composition forehead-composition circle-over-comb drower-union kurdish-sun kurdish-flag\" -- \"$cur\")); return ;;\n        --count) return ;;\n        --cols) return ;;\n        --rows) return ;;\n        --petals) return ;;\n        --spacing) return ;;\n        --format) COMPREPLY=($(compgen -W \"svg png jpg webp\" -- \"$cur\")); return ;;\n        --size) return ;;\n        --colors) return ;;\n        --title) return ;;\n        --out) COMPREPLY=($(compgen -f -- \"$cur\")); return ;;\n        --color) return ;;\n        --stroke-width) return ;;\n        --fill) return ;;\n        --fill-opacity) return ;;\n        --stroke-opacity) return ;;\n        --linecap) COMPREPLY=($(compgen -W \"round butt square\" -- \"$cur\")); return ;;\n        --linejoin) COMPREPLY=($(compgen -W \"round miter bevel\" -- \"$cur\")); return ;;\n        --dot-scale) return ;;\n        --padding) return ;;\n        --background) return ;;\n        --current-color) return ;;\n        --matte) return ;;\n        --quality) return ;;\n      esac\n      if [[ $cur == -* ]]; then COMPREPLY=($(compgen -W \"--kind --seed --motifs --count --cols --rows --petals --spacing --format --size --colors --title --out --color --stroke-width --absolute-stroke-width --fill --fill-opacity --stroke-opacity --linecap --linejoin --dot-scale --padding --background --current-color --matte --quality --force --help\" -- \"$cur\")); return; fi\n      ;;\n    validate)\n      if [[ $cur == -* ]]; then COMPREPLY=($(compgen -W \"--help\" -- \"$cur\")); return; fi\n      COMPREPLY=($(compgen -f -- \"$cur\"))\n      ;;\n    completion)\n      if [[ $cur == -* ]]; then COMPREPLY=($(compgen -W \"--help\" -- \"$cur\")); return; fi\n      COMPREPLY=($(compgen -W \"bash zsh fish powershell\" -- \"$cur\"))\n      ;;\n  esac\n}\ncomplete -F _deq deq\n",
    "zsh": "#compdef deq\n# zsh completion for deq. Generated from spec/cli.json; do not edit.\n# Install: deq completion zsh > \"${fpath[1]}/_deq\"\n_deq() {\n  local -a commands\n  commands=(\n    'list:List the shapes in the catalog'\n    'info:Show a shape'\\''s names, layers and parameters'\n    'render:Render shapes to files'\n    'export:Export shapes in several formats and sizes'\n    'flag:Draw the flag of Kurdistan'\n    'leet:Write text with Deq glyphs (Deq Leet), or read it back with --decode'\n    'generate:Generate a seeded pattern of Deq motifs'\n    'validate:Check a shape spec file and render every parameter variant'\n    'completion:Print a shell completion script'\n  )\n  if (( CURRENT == 2 )); then\n    _describe -t commands 'deq command' commands\n    _arguments '(- *)'{-h,--help}'[Show help]' '(- *)'{-V,--version}'[Print the version]'\n    return\n  fi\n  local cmd=${words[2]}\n  shift words\n  (( CURRENT-- ))\n  case $cmd in\n    list)\n      _arguments -S \\\n        '--category[Only shapes in this category]:id: ' \\\n        '--json[Print JSON]' \\\n        '(- *)--help[Show help.]'\n      ;;\n    info)\n      _arguments -S \\\n        '--json[Print JSON]' \\\n        '(- *)--help[Show help.]' \\\n        ':shape:(roj-half-sun roj-sun-circle heyv-crescent sterk-star cup-rays moon-dome star-dense star-flower sun-arch-dotted sun-bar sun-dome-comb sun-double-ring sun-forked-rays sun-rays sun-spiral tree-branch wheat-arrow fork spike ring-stem arrow-down arrow-herringbone arrow-line crow-foot cup dome-stem fork-cross fork-down-dotted fork-down root tree-comb tree-cup trefoil cross cross-dotted x-mark lozenge lozenge-nested triangle-dotted chevron chevron-stack crossed-chevrons comb ladder spindle dimlich arch-dot cross-forked-dotted cross-forked crossed-chevrons-wide dome-comb star-chain t-mark tent-cross tent-double tent tree-row x-chain x-comb dot dot-trio dot-row dot-quincunx dot-rosette dot-cluster chain dot-diamond dot-flower ring-chain-shaft ring-stem-double ring zigzag arrow-row band-border comb-dotted comb-forked comb-x fork-pair tick-bar gazelle fish sandgrouse-foot doll darek arch-dot-column bird dancer chin-composition forehead-composition circle-over-comb drower-union kurdish-sun kurdish-flag)'\n      ;;\n    render)\n      _arguments -S \\\n        '--format[Output format]:format:(svg svg-layered svg-sprite html jsx tsx vue svelte data-uri css-background css-mask pdf ai eps png jpg webp avif ico favicon psd figma spec-json)' \\\n        '--size[Width and height in px, 1 to 8192]:px: ' \\\n        '--layered[SVG with one Inkscape layer per shape layer (same as --format svg-layered)]' \\\n        '--out[Output file, or a directory for several files; - writes one file to stdout]:path:_files' \\\n        '--color[Stroke and dot colour (any CSS colour)]:color: ' \\\n        '--stroke-width[Stroke width in grid units, 0.05 to 12]:n: ' \\\n        '--absolute-stroke-width[Keep the stroke the same width in px at any size]' \\\n        '--fill[Fill for closed outlines, or none]:color: ' \\\n        '--fill-opacity[Opacity of the fill]:0-1: ' \\\n        '--stroke-opacity[Opacity of strokes and dots]:0-1: ' \\\n        '--linecap[Line ends]:linecap:(round butt square)' \\\n        '--linejoin[Line corners]:linejoin:(round miter bevel)' \\\n        '--dot-scale[Multiply every dot radius, 0.1 to 4]:n: ' \\\n        '--rotation[Rotate clockwise about the centre]:deg: ' \\\n        '--flip-x[Mirror left to right]' \\\n        '--flip-y[Mirror top to bottom]' \\\n        '--padding[Space around the 24 x 24 canvas in grid units, 0 to 24]:n: ' \\\n        '--background[Background colour, or none]:color: ' \\\n        '*--layer-color[Colour of one layer, for example sun=#FEBD11 (repeatable)]:layer=color: ' \\\n        '--title[Accessible title]:text: ' \\\n        '*--param[Shape parameter, for example rays=9 (repeatable; see deq info)]:name=value: ' \\\n        '--current-color[What currentColor means in PDF and image formats]:color: ' \\\n        '--matte[JPG background behind transparent pixels]:color: ' \\\n        '--quality[JPG and WebP quality]:0-100: ' \\\n        '--force[Overwrite existing files]' \\\n        '(- *)--help[Show help.]' \\\n        '*:shape:(roj-half-sun roj-sun-circle heyv-crescent sterk-star cup-rays moon-dome star-dense star-flower sun-arch-dotted sun-bar sun-dome-comb sun-double-ring sun-forked-rays sun-rays sun-spiral tree-branch wheat-arrow fork spike ring-stem arrow-down arrow-herringbone arrow-line crow-foot cup dome-stem fork-cross fork-down-dotted fork-down root tree-comb tree-cup trefoil cross cross-dotted x-mark lozenge lozenge-nested triangle-dotted chevron chevron-stack crossed-chevrons comb ladder spindle dimlich arch-dot cross-forked-dotted cross-forked crossed-chevrons-wide dome-comb star-chain t-mark tent-cross tent-double tent tree-row x-chain x-comb dot dot-trio dot-row dot-quincunx dot-rosette dot-cluster chain dot-diamond dot-flower ring-chain-shaft ring-stem-double ring zigzag arrow-row band-border comb-dotted comb-forked comb-x fork-pair tick-bar gazelle fish sandgrouse-foot doll darek arch-dot-column bird dancer chin-composition forehead-composition circle-over-comb drower-union kurdish-sun kurdish-flag)'\n      ;;\n    export)\n      _arguments -S \\\n        '--all[Export every shape in the catalog]' \\\n        '--format[Comma-separated formats]:list:(svg svg-layered svg-sprite html jsx tsx vue svelte data-uri css-background css-mask pdf ai eps png jpg webp avif ico favicon psd figma spec-json)' \\\n        '--sizes[Comma-separated sizes in px]:list: ' \\\n        '--out[Output directory; files go to <dir>/<format>/<size>/]:dir:_files -/' \\\n        '--color[Stroke and dot colour (any CSS colour)]:color: ' \\\n        '--stroke-width[Stroke width in grid units, 0.05 to 12]:n: ' \\\n        '--absolute-stroke-width[Keep the stroke the same width in px at any size]' \\\n        '--fill[Fill for closed outlines, or none]:color: ' \\\n        '--fill-opacity[Opacity of the fill]:0-1: ' \\\n        '--stroke-opacity[Opacity of strokes and dots]:0-1: ' \\\n        '--linecap[Line ends]:linecap:(round butt square)' \\\n        '--linejoin[Line corners]:linejoin:(round miter bevel)' \\\n        '--dot-scale[Multiply every dot radius, 0.1 to 4]:n: ' \\\n        '--rotation[Rotate clockwise about the centre]:deg: ' \\\n        '--flip-x[Mirror left to right]' \\\n        '--flip-y[Mirror top to bottom]' \\\n        '--padding[Space around the 24 x 24 canvas in grid units, 0 to 24]:n: ' \\\n        '--background[Background colour, or none]:color: ' \\\n        '*--layer-color[Colour of one layer, for example sun=#FEBD11 (repeatable)]:layer=color: ' \\\n        '--title[Accessible title]:text: ' \\\n        '*--param[Shape parameter, for example rays=9 (repeatable; see deq info)]:name=value: ' \\\n        '--current-color[What currentColor means in PDF and image formats]:color: ' \\\n        '--matte[JPG background behind transparent pixels]:color: ' \\\n        '--quality[JPG and WebP quality]:0-100: ' \\\n        '--force[Overwrite existing files]' \\\n        '(- *)--help[Show help.]' \\\n        '*:shape:(roj-half-sun roj-sun-circle heyv-crescent sterk-star cup-rays moon-dome star-dense star-flower sun-arch-dotted sun-bar sun-dome-comb sun-double-ring sun-forked-rays sun-rays sun-spiral tree-branch wheat-arrow fork spike ring-stem arrow-down arrow-herringbone arrow-line crow-foot cup dome-stem fork-cross fork-down-dotted fork-down root tree-comb tree-cup trefoil cross cross-dotted x-mark lozenge lozenge-nested triangle-dotted chevron chevron-stack crossed-chevrons comb ladder spindle dimlich arch-dot cross-forked-dotted cross-forked crossed-chevrons-wide dome-comb star-chain t-mark tent-cross tent-double tent tree-row x-chain x-comb dot dot-trio dot-row dot-quincunx dot-rosette dot-cluster chain dot-diamond dot-flower ring-chain-shaft ring-stem-double ring zigzag arrow-row band-border comb-dotted comb-forked comb-x fork-pair tick-bar gazelle fish sandgrouse-foot doll darek arch-dot-column bird dancer chin-composition forehead-composition circle-over-comb drower-union kurdish-sun kurdish-flag)'\n      ;;\n    flag)\n      _arguments -S \\\n        '--variant[Flag variant]:variant:(full-color mono-black mono-white outline high-contrast square)' \\\n        '--width[Width in px, 1 to 8192; the height follows]:px: ' \\\n        '--format[Output format]:format:(svg png jpg webp)' \\\n        '--title[Accessible title]:text: ' \\\n        '--current-color[What currentColor means in image formats]:color: ' \\\n        '--matte[JPG background behind transparent pixels]:color: ' \\\n        '--quality[JPG and WebP quality]:0-100: ' \\\n        '--out[Output file or directory; - writes to stdout]:path:_files' \\\n        '--force[Overwrite existing files]' \\\n        '(- *)--help[Show help.]'\n      ;;\n    leet)\n      _arguments -S \\\n        '--decode[Print the text of a Deq Leet SVG written at the basic level; pass the render flags used to write it]:file:_files' \\\n        '--level[basic is readable and decodable, advanced mixes in seeded alternatives, full uses motifs]:level:(basic advanced full)' \\\n        '--script[Glyph table]:script:(latin sorani)' \\\n        '--seed[Seed for the advanced level, 0 to 4294967295]:n: ' \\\n        '--letter-spacing[Space between glyphs in grid units, 0 to 24]:n: ' \\\n        '--line-spacing[Space between lines in grid units, 0 to 48]:n: ' \\\n        '--align[Line alignment; start is the right edge for Sorani]:align:(start center end)' \\\n        '--format[Output format]:format:(svg png jpg webp)' \\\n        '--size[Size in px of one 24 x 24 cell, 1 to 8192]:px: ' \\\n        '--colors[Comma-separated colours given to the glyphs in turn (1 to 16)]:list: ' \\\n        '--title[Accessible title]:text: ' \\\n        '--out[Output file or directory; - writes to stdout]:path:_files' \\\n        '--color[Stroke and dot colour (any CSS colour)]:color: ' \\\n        '--stroke-width[Stroke width in grid units, 0.05 to 12]:n: ' \\\n        '--absolute-stroke-width[Keep the stroke the same width in px at any size]' \\\n        '--fill[Fill for closed outlines, or none]:color: ' \\\n        '--fill-opacity[Opacity of the fill]:0-1: ' \\\n        '--stroke-opacity[Opacity of strokes and dots]:0-1: ' \\\n        '--linecap[Line ends]:linecap:(round butt square)' \\\n        '--linejoin[Line corners]:linejoin:(round miter bevel)' \\\n        '--dot-scale[Multiply every dot radius, 0.1 to 4]:n: ' \\\n        '--padding[Space around the 24 x 24 canvas in grid units, 0 to 24]:n: ' \\\n        '--background[Background colour, or none]:color: ' \\\n        '--current-color[What currentColor means in PDF and image formats]:color: ' \\\n        '--matte[JPG background behind transparent pixels]:color: ' \\\n        '--quality[JPG and WebP quality]:0-100: ' \\\n        '--force[Overwrite existing files]' \\\n        '(- *)--help[Show help.]' \\\n        '::text: '\n      ;;\n    generate)\n      _arguments -S \\\n        '--kind[Pattern kind]:kind:(band grid rosette border)' \\\n        '--seed[Seed, 0 to 4294967295; the same seed gives the same pattern]:n: ' \\\n        '--motifs[Comma-separated shape ids to choose from (1 to 64)]:list:(roj-half-sun roj-sun-circle heyv-crescent sterk-star cup-rays moon-dome star-dense star-flower sun-arch-dotted sun-bar sun-dome-comb sun-double-ring sun-forked-rays sun-rays sun-spiral tree-branch wheat-arrow fork spike ring-stem arrow-down arrow-herringbone arrow-line crow-foot cup dome-stem fork-cross fork-down-dotted fork-down root tree-comb tree-cup trefoil cross cross-dotted x-mark lozenge lozenge-nested triangle-dotted chevron chevron-stack crossed-chevrons comb ladder spindle dimlich arch-dot cross-forked-dotted cross-forked crossed-chevrons-wide dome-comb star-chain t-mark tent-cross tent-double tent tree-row x-chain x-comb dot dot-trio dot-row dot-quincunx dot-rosette dot-cluster chain dot-diamond dot-flower ring-chain-shaft ring-stem-double ring zigzag arrow-row band-border comb-dotted comb-forked comb-x fork-pair tick-bar gazelle fish sandgrouse-foot doll darek arch-dot-column bird dancer chin-composition forehead-composition circle-over-comb drower-union kurdish-sun kurdish-flag)' \\\n        '--count[Band length, odd, 3 to 63]:n: ' \\\n        '--cols[Grid or border columns, 1 to 32 (border at least 3)]:n: ' \\\n        '--rows[Grid or border rows, 1 to 32 (border at least 3)]:n: ' \\\n        '--petals[Rosette petals, 3 to 24]:n: ' \\\n        '--spacing[Space between cells in grid units, 0 to 24]:n: ' \\\n        '--format[Output format]:format:(svg png jpg webp)' \\\n        '--size[Size in px of one 24 x 24 cell, 1 to 8192]:px: ' \\\n        '--colors[Comma-separated colours given to the glyphs in turn (1 to 16)]:list: ' \\\n        '--title[Accessible title]:text: ' \\\n        '--out[Output file or directory; - writes to stdout]:path:_files' \\\n        '--color[Stroke and dot colour (any CSS colour)]:color: ' \\\n        '--stroke-width[Stroke width in grid units, 0.05 to 12]:n: ' \\\n        '--absolute-stroke-width[Keep the stroke the same width in px at any size]' \\\n        '--fill[Fill for closed outlines, or none]:color: ' \\\n        '--fill-opacity[Opacity of the fill]:0-1: ' \\\n        '--stroke-opacity[Opacity of strokes and dots]:0-1: ' \\\n        '--linecap[Line ends]:linecap:(round butt square)' \\\n        '--linejoin[Line corners]:linejoin:(round miter bevel)' \\\n        '--dot-scale[Multiply every dot radius, 0.1 to 4]:n: ' \\\n        '--padding[Space around the 24 x 24 canvas in grid units, 0 to 24]:n: ' \\\n        '--background[Background colour, or none]:color: ' \\\n        '--current-color[What currentColor means in PDF and image formats]:color: ' \\\n        '--matte[JPG background behind transparent pixels]:color: ' \\\n        '--quality[JPG and WebP quality]:0-100: ' \\\n        '--force[Overwrite existing files]' \\\n        '(- *)--help[Show help.]'\n      ;;\n    validate)\n      _arguments -S \\\n        '(- *)--help[Show help.]' \\\n        ':file:_files'\n      ;;\n    completion)\n      _arguments -S \\\n        '(- *)--help[Show help.]' \\\n        ':shell:(bash zsh fish powershell)'\n      ;;\n  esac\n}\n_deq \"$@\"\n",
    "fish": "# fish completion for deq. Generated from spec/cli.json; do not edit.\n# Install: deq completion fish > ~/.config/fish/completions/deq.fish\ncomplete -c deq -f\ncomplete -c deq -n __fish_use_subcommand -a list -d 'List the shapes in the catalog'\ncomplete -c deq -n __fish_use_subcommand -a info -d 'Show a shape\\'s names, layers and parameters'\ncomplete -c deq -n __fish_use_subcommand -a render -d 'Render shapes to files'\ncomplete -c deq -n __fish_use_subcommand -a export -d 'Export shapes in several formats and sizes'\ncomplete -c deq -n __fish_use_subcommand -a flag -d 'Draw the flag of Kurdistan'\ncomplete -c deq -n __fish_use_subcommand -a leet -d 'Write text with Deq glyphs (Deq Leet), or read it back with --decode'\ncomplete -c deq -n __fish_use_subcommand -a generate -d 'Generate a seeded pattern of Deq motifs'\ncomplete -c deq -n __fish_use_subcommand -a validate -d 'Check a shape spec file and render every parameter variant'\ncomplete -c deq -n __fish_use_subcommand -a completion -d 'Print a shell completion script'\ncomplete -c deq -n __fish_use_subcommand -s h -l help -d 'Show help'\ncomplete -c deq -n __fish_use_subcommand -s V -l version -d 'Print the version'\ncomplete -c deq -n '__fish_seen_subcommand_from list' -l category -x -d 'Only shapes in this category'\ncomplete -c deq -n '__fish_seen_subcommand_from list' -l json -d 'Print JSON'\ncomplete -c deq -n '__fish_seen_subcommand_from list' -l help -d 'Show help'\ncomplete -c deq -n '__fish_seen_subcommand_from info' -l json -d 'Print JSON'\ncomplete -c deq -n '__fish_seen_subcommand_from info' -l help -d 'Show help'\ncomplete -c deq -n '__fish_seen_subcommand_from info' -a 'roj-half-sun roj-sun-circle heyv-crescent sterk-star cup-rays moon-dome star-dense star-flower sun-arch-dotted sun-bar sun-dome-comb sun-double-ring sun-forked-rays sun-rays sun-spiral tree-branch wheat-arrow fork spike ring-stem arrow-down arrow-herringbone arrow-line crow-foot cup dome-stem fork-cross fork-down-dotted fork-down root tree-comb tree-cup trefoil cross cross-dotted x-mark lozenge lozenge-nested triangle-dotted chevron chevron-stack crossed-chevrons comb ladder spindle dimlich arch-dot cross-forked-dotted cross-forked crossed-chevrons-wide dome-comb star-chain t-mark tent-cross tent-double tent tree-row x-chain x-comb dot dot-trio dot-row dot-quincunx dot-rosette dot-cluster chain dot-diamond dot-flower ring-chain-shaft ring-stem-double ring zigzag arrow-row band-border comb-dotted comb-forked comb-x fork-pair tick-bar gazelle fish sandgrouse-foot doll darek arch-dot-column bird dancer chin-composition forehead-composition circle-over-comb drower-union kurdish-sun kurdish-flag'\ncomplete -c deq -n '__fish_seen_subcommand_from render' -l format -x -a 'svg svg-layered svg-sprite html jsx tsx vue svelte data-uri css-background css-mask pdf ai eps png jpg webp avif ico favicon psd figma spec-json' -d 'Output format'\ncomplete -c deq -n '__fish_seen_subcommand_from render' -l size -x -d 'Width and height in px, 1 to 8192'\ncomplete -c deq -n '__fish_seen_subcommand_from render' -l layered -d 'SVG with one Inkscape layer per shape layer (same as --format svg-layered)'\ncomplete -c deq -n '__fish_seen_subcommand_from render' -l out -r -F -d 'Output file, or a directory for several files; - writes one file to stdout'\ncomplete -c deq -n '__fish_seen_subcommand_from render' -l color -x -d 'Stroke and dot colour (any CSS colour)'\ncomplete -c deq -n '__fish_seen_subcommand_from render' -l stroke-width -x -d 'Stroke width in grid units, 0.05 to 12'\ncomplete -c deq -n '__fish_seen_subcommand_from render' -l absolute-stroke-width -d 'Keep the stroke the same width in px at any size'\ncomplete -c deq -n '__fish_seen_subcommand_from render' -l fill -x -d 'Fill for closed outlines, or none'\ncomplete -c deq -n '__fish_seen_subcommand_from render' -l fill-opacity -x -d 'Opacity of the fill'\ncomplete -c deq -n '__fish_seen_subcommand_from render' -l stroke-opacity -x -d 'Opacity of strokes and dots'\ncomplete -c deq -n '__fish_seen_subcommand_from render' -l linecap -x -a 'round butt square' -d 'Line ends'\ncomplete -c deq -n '__fish_seen_subcommand_from render' -l linejoin -x -a 'round miter bevel' -d 'Line corners'\ncomplete -c deq -n '__fish_seen_subcommand_from render' -l dot-scale -x -d 'Multiply every dot radius, 0.1 to 4'\ncomplete -c deq -n '__fish_seen_subcommand_from render' -l rotation -x -d 'Rotate clockwise about the centre'\ncomplete -c deq -n '__fish_seen_subcommand_from render' -l flip-x -d 'Mirror left to right'\ncomplete -c deq -n '__fish_seen_subcommand_from render' -l flip-y -d 'Mirror top to bottom'\ncomplete -c deq -n '__fish_seen_subcommand_from render' -l padding -x -d 'Space around the 24 x 24 canvas in grid units, 0 to 24'\ncomplete -c deq -n '__fish_seen_subcommand_from render' -l background -x -d 'Background colour, or none'\ncomplete -c deq -n '__fish_seen_subcommand_from render' -l layer-color -x -d 'Colour of one layer, for example sun=#FEBD11 (repeatable)'\ncomplete -c deq -n '__fish_seen_subcommand_from render' -l title -x -d 'Accessible title'\ncomplete -c deq -n '__fish_seen_subcommand_from render' -l param -x -d 'Shape parameter, for example rays=9 (repeatable; see deq info)'\ncomplete -c deq -n '__fish_seen_subcommand_from render' -l current-color -x -d 'What currentColor means in PDF and image formats'\ncomplete -c deq -n '__fish_seen_subcommand_from render' -l matte -x -d 'JPG background behind transparent pixels'\ncomplete -c deq -n '__fish_seen_subcommand_from render' -l quality -x -d 'JPG and WebP quality'\ncomplete -c deq -n '__fish_seen_subcommand_from render' -l force -d 'Overwrite existing files'\ncomplete -c deq -n '__fish_seen_subcommand_from render' -l help -d 'Show help'\ncomplete -c deq -n '__fish_seen_subcommand_from render' -a 'roj-half-sun roj-sun-circle heyv-crescent sterk-star cup-rays moon-dome star-dense star-flower sun-arch-dotted sun-bar sun-dome-comb sun-double-ring sun-forked-rays sun-rays sun-spiral tree-branch wheat-arrow fork spike ring-stem arrow-down arrow-herringbone arrow-line crow-foot cup dome-stem fork-cross fork-down-dotted fork-down root tree-comb tree-cup trefoil cross cross-dotted x-mark lozenge lozenge-nested triangle-dotted chevron chevron-stack crossed-chevrons comb ladder spindle dimlich arch-dot cross-forked-dotted cross-forked crossed-chevrons-wide dome-comb star-chain t-mark tent-cross tent-double tent tree-row x-chain x-comb dot dot-trio dot-row dot-quincunx dot-rosette dot-cluster chain dot-diamond dot-flower ring-chain-shaft ring-stem-double ring zigzag arrow-row band-border comb-dotted comb-forked comb-x fork-pair tick-bar gazelle fish sandgrouse-foot doll darek arch-dot-column bird dancer chin-composition forehead-composition circle-over-comb drower-union kurdish-sun kurdish-flag'\ncomplete -c deq -n '__fish_seen_subcommand_from export' -l all -d 'Export every shape in the catalog'\ncomplete -c deq -n '__fish_seen_subcommand_from export' -l format -x -a 'svg svg-layered svg-sprite html jsx tsx vue svelte data-uri css-background css-mask pdf ai eps png jpg webp avif ico favicon psd figma spec-json' -d 'Comma-separated formats'\ncomplete -c deq -n '__fish_seen_subcommand_from export' -l sizes -x -d 'Comma-separated sizes in px'\ncomplete -c deq -n '__fish_seen_subcommand_from export' -l out -r -F -d 'Output directory; files go to <dir>/<format>/<size>/'\ncomplete -c deq -n '__fish_seen_subcommand_from export' -l color -x -d 'Stroke and dot colour (any CSS colour)'\ncomplete -c deq -n '__fish_seen_subcommand_from export' -l stroke-width -x -d 'Stroke width in grid units, 0.05 to 12'\ncomplete -c deq -n '__fish_seen_subcommand_from export' -l absolute-stroke-width -d 'Keep the stroke the same width in px at any size'\ncomplete -c deq -n '__fish_seen_subcommand_from export' -l fill -x -d 'Fill for closed outlines, or none'\ncomplete -c deq -n '__fish_seen_subcommand_from export' -l fill-opacity -x -d 'Opacity of the fill'\ncomplete -c deq -n '__fish_seen_subcommand_from export' -l stroke-opacity -x -d 'Opacity of strokes and dots'\ncomplete -c deq -n '__fish_seen_subcommand_from export' -l linecap -x -a 'round butt square' -d 'Line ends'\ncomplete -c deq -n '__fish_seen_subcommand_from export' -l linejoin -x -a 'round miter bevel' -d 'Line corners'\ncomplete -c deq -n '__fish_seen_subcommand_from export' -l dot-scale -x -d 'Multiply every dot radius, 0.1 to 4'\ncomplete -c deq -n '__fish_seen_subcommand_from export' -l rotation -x -d 'Rotate clockwise about the centre'\ncomplete -c deq -n '__fish_seen_subcommand_from export' -l flip-x -d 'Mirror left to right'\ncomplete -c deq -n '__fish_seen_subcommand_from export' -l flip-y -d 'Mirror top to bottom'\ncomplete -c deq -n '__fish_seen_subcommand_from export' -l padding -x -d 'Space around the 24 x 24 canvas in grid units, 0 to 24'\ncomplete -c deq -n '__fish_seen_subcommand_from export' -l background -x -d 'Background colour, or none'\ncomplete -c deq -n '__fish_seen_subcommand_from export' -l layer-color -x -d 'Colour of one layer, for example sun=#FEBD11 (repeatable)'\ncomplete -c deq -n '__fish_seen_subcommand_from export' -l title -x -d 'Accessible title'\ncomplete -c deq -n '__fish_seen_subcommand_from export' -l param -x -d 'Shape parameter, for example rays=9 (repeatable; see deq info)'\ncomplete -c deq -n '__fish_seen_subcommand_from export' -l current-color -x -d 'What currentColor means in PDF and image formats'\ncomplete -c deq -n '__fish_seen_subcommand_from export' -l matte -x -d 'JPG background behind transparent pixels'\ncomplete -c deq -n '__fish_seen_subcommand_from export' -l quality -x -d 'JPG and WebP quality'\ncomplete -c deq -n '__fish_seen_subcommand_from export' -l force -d 'Overwrite existing files'\ncomplete -c deq -n '__fish_seen_subcommand_from export' -l help -d 'Show help'\ncomplete -c deq -n '__fish_seen_subcommand_from export' -a 'roj-half-sun roj-sun-circle heyv-crescent sterk-star cup-rays moon-dome star-dense star-flower sun-arch-dotted sun-bar sun-dome-comb sun-double-ring sun-forked-rays sun-rays sun-spiral tree-branch wheat-arrow fork spike ring-stem arrow-down arrow-herringbone arrow-line crow-foot cup dome-stem fork-cross fork-down-dotted fork-down root tree-comb tree-cup trefoil cross cross-dotted x-mark lozenge lozenge-nested triangle-dotted chevron chevron-stack crossed-chevrons comb ladder spindle dimlich arch-dot cross-forked-dotted cross-forked crossed-chevrons-wide dome-comb star-chain t-mark tent-cross tent-double tent tree-row x-chain x-comb dot dot-trio dot-row dot-quincunx dot-rosette dot-cluster chain dot-diamond dot-flower ring-chain-shaft ring-stem-double ring zigzag arrow-row band-border comb-dotted comb-forked comb-x fork-pair tick-bar gazelle fish sandgrouse-foot doll darek arch-dot-column bird dancer chin-composition forehead-composition circle-over-comb drower-union kurdish-sun kurdish-flag'\ncomplete -c deq -n '__fish_seen_subcommand_from flag' -l variant -x -a 'full-color mono-black mono-white outline high-contrast square' -d 'Flag variant'\ncomplete -c deq -n '__fish_seen_subcommand_from flag' -l width -x -d 'Width in px, 1 to 8192; the height follows'\ncomplete -c deq -n '__fish_seen_subcommand_from flag' -l format -x -a 'svg png jpg webp' -d 'Output format'\ncomplete -c deq -n '__fish_seen_subcommand_from flag' -l title -x -d 'Accessible title'\ncomplete -c deq -n '__fish_seen_subcommand_from flag' -l current-color -x -d 'What currentColor means in image formats'\ncomplete -c deq -n '__fish_seen_subcommand_from flag' -l matte -x -d 'JPG background behind transparent pixels'\ncomplete -c deq -n '__fish_seen_subcommand_from flag' -l quality -x -d 'JPG and WebP quality'\ncomplete -c deq -n '__fish_seen_subcommand_from flag' -l out -r -F -d 'Output file or directory; - writes to stdout'\ncomplete -c deq -n '__fish_seen_subcommand_from flag' -l force -d 'Overwrite existing files'\ncomplete -c deq -n '__fish_seen_subcommand_from flag' -l help -d 'Show help'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l decode -r -F -d 'Print the text of a Deq Leet SVG written at the basic level; pass the render flags used to write it'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l level -x -a 'basic advanced full' -d 'basic is readable and decodable, advanced mixes in seeded alternatives, full uses motifs'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l script -x -a 'latin sorani' -d 'Glyph table'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l seed -x -d 'Seed for the advanced level, 0 to 4294967295'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l letter-spacing -x -d 'Space between glyphs in grid units, 0 to 24'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l line-spacing -x -d 'Space between lines in grid units, 0 to 48'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l align -x -a 'start center end' -d 'Line alignment; start is the right edge for Sorani'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l format -x -a 'svg png jpg webp' -d 'Output format'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l size -x -d 'Size in px of one 24 x 24 cell, 1 to 8192'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l colors -x -d 'Comma-separated colours given to the glyphs in turn (1 to 16)'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l title -x -d 'Accessible title'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l out -r -F -d 'Output file or directory; - writes to stdout'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l color -x -d 'Stroke and dot colour (any CSS colour)'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l stroke-width -x -d 'Stroke width in grid units, 0.05 to 12'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l absolute-stroke-width -d 'Keep the stroke the same width in px at any size'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l fill -x -d 'Fill for closed outlines, or none'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l fill-opacity -x -d 'Opacity of the fill'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l stroke-opacity -x -d 'Opacity of strokes and dots'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l linecap -x -a 'round butt square' -d 'Line ends'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l linejoin -x -a 'round miter bevel' -d 'Line corners'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l dot-scale -x -d 'Multiply every dot radius, 0.1 to 4'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l padding -x -d 'Space around the 24 x 24 canvas in grid units, 0 to 24'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l background -x -d 'Background colour, or none'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l current-color -x -d 'What currentColor means in PDF and image formats'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l matte -x -d 'JPG background behind transparent pixels'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l quality -x -d 'JPG and WebP quality'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l force -d 'Overwrite existing files'\ncomplete -c deq -n '__fish_seen_subcommand_from leet' -l help -d 'Show help'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l kind -x -a 'band grid rosette border' -d 'Pattern kind'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l seed -x -d 'Seed, 0 to 4294967295; the same seed gives the same pattern'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l motifs -x -a 'roj-half-sun roj-sun-circle heyv-crescent sterk-star cup-rays moon-dome star-dense star-flower sun-arch-dotted sun-bar sun-dome-comb sun-double-ring sun-forked-rays sun-rays sun-spiral tree-branch wheat-arrow fork spike ring-stem arrow-down arrow-herringbone arrow-line crow-foot cup dome-stem fork-cross fork-down-dotted fork-down root tree-comb tree-cup trefoil cross cross-dotted x-mark lozenge lozenge-nested triangle-dotted chevron chevron-stack crossed-chevrons comb ladder spindle dimlich arch-dot cross-forked-dotted cross-forked crossed-chevrons-wide dome-comb star-chain t-mark tent-cross tent-double tent tree-row x-chain x-comb dot dot-trio dot-row dot-quincunx dot-rosette dot-cluster chain dot-diamond dot-flower ring-chain-shaft ring-stem-double ring zigzag arrow-row band-border comb-dotted comb-forked comb-x fork-pair tick-bar gazelle fish sandgrouse-foot doll darek arch-dot-column bird dancer chin-composition forehead-composition circle-over-comb drower-union kurdish-sun kurdish-flag' -d 'Comma-separated shape ids to choose from (1 to 64)'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l count -x -d 'Band length, odd, 3 to 63'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l cols -x -d 'Grid or border columns, 1 to 32 (border at least 3)'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l rows -x -d 'Grid or border rows, 1 to 32 (border at least 3)'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l petals -x -d 'Rosette petals, 3 to 24'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l spacing -x -d 'Space between cells in grid units, 0 to 24'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l format -x -a 'svg png jpg webp' -d 'Output format'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l size -x -d 'Size in px of one 24 x 24 cell, 1 to 8192'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l colors -x -d 'Comma-separated colours given to the glyphs in turn (1 to 16)'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l title -x -d 'Accessible title'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l out -r -F -d 'Output file or directory; - writes to stdout'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l color -x -d 'Stroke and dot colour (any CSS colour)'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l stroke-width -x -d 'Stroke width in grid units, 0.05 to 12'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l absolute-stroke-width -d 'Keep the stroke the same width in px at any size'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l fill -x -d 'Fill for closed outlines, or none'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l fill-opacity -x -d 'Opacity of the fill'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l stroke-opacity -x -d 'Opacity of strokes and dots'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l linecap -x -a 'round butt square' -d 'Line ends'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l linejoin -x -a 'round miter bevel' -d 'Line corners'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l dot-scale -x -d 'Multiply every dot radius, 0.1 to 4'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l padding -x -d 'Space around the 24 x 24 canvas in grid units, 0 to 24'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l background -x -d 'Background colour, or none'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l current-color -x -d 'What currentColor means in PDF and image formats'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l matte -x -d 'JPG background behind transparent pixels'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l quality -x -d 'JPG and WebP quality'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l force -d 'Overwrite existing files'\ncomplete -c deq -n '__fish_seen_subcommand_from generate' -l help -d 'Show help'\ncomplete -c deq -n '__fish_seen_subcommand_from validate' -l help -d 'Show help'\ncomplete -c deq -n '__fish_seen_subcommand_from validate' -F\ncomplete -c deq -n '__fish_seen_subcommand_from completion' -l help -d 'Show help'\ncomplete -c deq -n '__fish_seen_subcommand_from completion' -a 'bash zsh fish powershell'\n",
    "powershell": "# PowerShell completion for deq. Generated from spec/cli.json; do not edit.\n# Install: deq completion powershell | Out-String | Invoke-Expression\nRegister-ArgumentCompleter -Native -CommandName deq -ScriptBlock {\n    param($wordToComplete, $commandAst, $cursorPosition)\n    $shapes = @('roj-half-sun', 'roj-sun-circle', 'heyv-crescent', 'sterk-star', 'cup-rays', 'moon-dome', 'star-dense', 'star-flower', 'sun-arch-dotted', 'sun-bar', 'sun-dome-comb', 'sun-double-ring', 'sun-forked-rays', 'sun-rays', 'sun-spiral', 'tree-branch', 'wheat-arrow', 'fork', 'spike', 'ring-stem', 'arrow-down', 'arrow-herringbone', 'arrow-line', 'crow-foot', 'cup', 'dome-stem', 'fork-cross', 'fork-down-dotted', 'fork-down', 'root', 'tree-comb', 'tree-cup', 'trefoil', 'cross', 'cross-dotted', 'x-mark', 'lozenge', 'lozenge-nested', 'triangle-dotted', 'chevron', 'chevron-stack', 'crossed-chevrons', 'comb', 'ladder', 'spindle', 'dimlich', 'arch-dot', 'cross-forked-dotted', 'cross-forked', 'crossed-chevrons-wide', 'dome-comb', 'star-chain', 't-mark', 'tent-cross', 'tent-double', 'tent', 'tree-row', 'x-chain', 'x-comb', 'dot', 'dot-trio', 'dot-row', 'dot-quincunx', 'dot-rosette', 'dot-cluster', 'chain', 'dot-diamond', 'dot-flower', 'ring-chain-shaft', 'ring-stem-double', 'ring', 'zigzag', 'arrow-row', 'band-border', 'comb-dotted', 'comb-forked', 'comb-x', 'fork-pair', 'tick-bar', 'gazelle', 'fish', 'sandgrouse-foot', 'doll', 'darek', 'arch-dot-column', 'bird', 'dancer', 'chin-composition', 'forehead-composition', 'circle-over-comb', 'drower-union', 'kurdish-sun', 'kurdish-flag')\n    $commands = [ordered]@{\n        'list' = @{\n            Flags = @('--category', '--json', '--help')\n            Values = @{ '--category' = @() }\n            Args = @()\n        }\n        'info' = @{\n            Flags = @('--json', '--help')\n            Values = @{  }\n            Args = $shapes\n        }\n        'render' = @{\n            Flags = @('--format', '--size', '--layered', '--out', '--color', '--stroke-width', '--absolute-stroke-width', '--fill', '--fill-opacity', '--stroke-opacity', '--linecap', '--linejoin', '--dot-scale', '--rotation', '--flip-x', '--flip-y', '--padding', '--background', '--layer-color', '--title', '--param', '--current-color', '--matte', '--quality', '--force', '--help')\n            Values = @{ '--format' = @('svg', 'svg-layered', 'svg-sprite', 'html', 'jsx', 'tsx', 'vue', 'svelte', 'data-uri', 'css-background', 'css-mask', 'pdf', 'ai', 'eps', 'png', 'jpg', 'webp', 'avif', 'ico', 'favicon', 'psd', 'figma', 'spec-json'); '--size' = @(); '--out' = @(); '--color' = @(); '--stroke-width' = @(); '--fill' = @(); '--fill-opacity' = @(); '--stroke-opacity' = @(); '--linecap' = @('round', 'butt', 'square'); '--linejoin' = @('round', 'miter', 'bevel'); '--dot-scale' = @(); '--rotation' = @(); '--padding' = @(); '--background' = @(); '--layer-color' = @(); '--title' = @(); '--param' = @(); '--current-color' = @(); '--matte' = @(); '--quality' = @() }\n            Args = $shapes\n        }\n        'export' = @{\n            Flags = @('--all', '--format', '--sizes', '--out', '--color', '--stroke-width', '--absolute-stroke-width', '--fill', '--fill-opacity', '--stroke-opacity', '--linecap', '--linejoin', '--dot-scale', '--rotation', '--flip-x', '--flip-y', '--padding', '--background', '--layer-color', '--title', '--param', '--current-color', '--matte', '--quality', '--force', '--help')\n            Values = @{ '--format' = @('svg', 'svg-layered', 'svg-sprite', 'html', 'jsx', 'tsx', 'vue', 'svelte', 'data-uri', 'css-background', 'css-mask', 'pdf', 'ai', 'eps', 'png', 'jpg', 'webp', 'avif', 'ico', 'favicon', 'psd', 'figma', 'spec-json'); '--sizes' = @(); '--out' = @(); '--color' = @(); '--stroke-width' = @(); '--fill' = @(); '--fill-opacity' = @(); '--stroke-opacity' = @(); '--linecap' = @('round', 'butt', 'square'); '--linejoin' = @('round', 'miter', 'bevel'); '--dot-scale' = @(); '--rotation' = @(); '--padding' = @(); '--background' = @(); '--layer-color' = @(); '--title' = @(); '--param' = @(); '--current-color' = @(); '--matte' = @(); '--quality' = @() }\n            Args = $shapes\n        }\n        'flag' = @{\n            Flags = @('--variant', '--width', '--format', '--title', '--current-color', '--matte', '--quality', '--out', '--force', '--help')\n            Values = @{ '--variant' = @('full-color', 'mono-black', 'mono-white', 'outline', 'high-contrast', 'square'); '--width' = @(); '--format' = @('svg', 'png', 'jpg', 'webp'); '--title' = @(); '--current-color' = @(); '--matte' = @(); '--quality' = @(); '--out' = @() }\n            Args = @()\n        }\n        'leet' = @{\n            Flags = @('--decode', '--level', '--script', '--seed', '--letter-spacing', '--line-spacing', '--align', '--format', '--size', '--colors', '--title', '--out', '--color', '--stroke-width', '--absolute-stroke-width', '--fill', '--fill-opacity', '--stroke-opacity', '--linecap', '--linejoin', '--dot-scale', '--padding', '--background', '--current-color', '--matte', '--quality', '--force', '--help')\n            Values = @{ '--decode' = @(); '--level' = @('basic', 'advanced', 'full'); '--script' = @('latin', 'sorani'); '--seed' = @(); '--letter-spacing' = @(); '--line-spacing' = @(); '--align' = @('start', 'center', 'end'); '--format' = @('svg', 'png', 'jpg', 'webp'); '--size' = @(); '--colors' = @(); '--title' = @(); '--out' = @(); '--color' = @(); '--stroke-width' = @(); '--fill' = @(); '--fill-opacity' = @(); '--stroke-opacity' = @(); '--linecap' = @('round', 'butt', 'square'); '--linejoin' = @('round', 'miter', 'bevel'); '--dot-scale' = @(); '--padding' = @(); '--background' = @(); '--current-color' = @(); '--matte' = @(); '--quality' = @() }\n            Args = @()\n        }\n        'generate' = @{\n            Flags = @('--kind', '--seed', '--motifs', '--count', '--cols', '--rows', '--petals', '--spacing', '--format', '--size', '--colors', '--title', '--out', '--color', '--stroke-width', '--absolute-stroke-width', '--fill', '--fill-opacity', '--stroke-opacity', '--linecap', '--linejoin', '--dot-scale', '--padding', '--background', '--current-color', '--matte', '--quality', '--force', '--help')\n            Values = @{ '--kind' = @('band', 'grid', 'rosette', 'border'); '--seed' = @(); '--motifs' = $shapes; '--count' = @(); '--cols' = @(); '--rows' = @(); '--petals' = @(); '--spacing' = @(); '--format' = @('svg', 'png', 'jpg', 'webp'); '--size' = @(); '--colors' = @(); '--title' = @(); '--out' = @(); '--color' = @(); '--stroke-width' = @(); '--fill' = @(); '--fill-opacity' = @(); '--stroke-opacity' = @(); '--linecap' = @('round', 'butt', 'square'); '--linejoin' = @('round', 'miter', 'bevel'); '--dot-scale' = @(); '--padding' = @(); '--background' = @(); '--current-color' = @(); '--matte' = @(); '--quality' = @() }\n            Args = @()\n        }\n        'validate' = @{\n            Flags = @('--help')\n            Values = @{  }\n            Args = @()\n        }\n        'completion' = @{\n            Flags = @('--help')\n            Values = @{  }\n            Args = @('bash', 'zsh', 'fish', 'powershell')\n        }\n    }\n    $before = @($commandAst.CommandElements | Where-Object { $_.Extent.EndOffset -lt $cursorPosition } | ForEach-Object { $_.ToString() })\n    $candidates = @()\n    if ($before.Count -le 1) {\n        $candidates = @($commands.Keys) + @('--help', '--version')\n    } elseif ($commands.Contains($before[1])) {\n        $spec = $commands[$before[1]]\n        $prev = $before[-1]\n        if ($spec.Values.ContainsKey($prev)) { $candidates = $spec.Values[$prev] }\n        elseif ($wordToComplete.StartsWith('-')) { $candidates = $spec.Flags }\n        else { $candidates = $spec.Args }\n    }\n    $candidates | Where-Object { $_ -like \"$wordToComplete*\" } | ForEach-Object {\n        [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterValue', $_)\n    }\n}\n"
  }
}