ssqch 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (153) hide show
  1. package/README.md +6 -4
  2. package/bin/ssqch.js +14 -48
  3. package/bundled/README.md +1247 -0
  4. package/bundled/completions/bash +840 -0
  5. package/bundled/completions/elvish +286 -0
  6. package/bundled/completions/fish +182 -0
  7. package/bundled/completions/powershell +318 -0
  8. package/bundled/completions/zsh +510 -0
  9. package/bundled/ssqch.d.ts +532 -0
  10. package/bundled/starter/engines/index.edge +11 -0
  11. package/bundled/starter/engines/index.ejs +11 -0
  12. package/bundled/starter/engines/index.hbs +11 -0
  13. package/bundled/starter/engines/index.liquid +11 -0
  14. package/bundled/starter/engines/layout.edge +35 -0
  15. package/bundled/starter/engines/layout.ejs +35 -0
  16. package/bundled/starter/engines/layout.hbs +35 -0
  17. package/bundled/starter/engines/layout.liquid +35 -0
  18. package/bundled/starter/gitignore +3 -0
  19. package/bundled/starter/jsconfig.json +11 -0
  20. package/bundled/starter/src/404.md +8 -0
  21. package/bundled/starter/src/_blueprints/posts.md +5 -0
  22. package/bundled/starter/src/_data/site.json +4 -0
  23. package/bundled/starter/src/_includes/layout.jinja +35 -0
  24. package/bundled/starter/src/index.jinja +11 -0
  25. package/bundled/starter/src/posts/i-know-what-i-saw.md +11 -0
  26. package/bundled/starter/src/posts/posts.json +4 -0
  27. package/bundled/starter/src/posts/raiders-of-the-lost-path.md +27 -0
  28. package/bundled/starter/src/posts/the-cache-of-the-wild.md +26 -0
  29. package/bundled/starter/src/posts/the-stump-has-moved.md +15 -0
  30. package/bundled/starter/src/posts/upon-further-review-a-stump.md +18 -0
  31. package/bundled/starter/ssqch.config.js +29 -0
  32. package/bundled/starter-docs/engines/edge/base.edge +41 -0
  33. package/bundled/starter-docs/engines/edge/containers/details.edge +5 -0
  34. package/bundled/starter-docs/engines/edge/containers/tab.edge +4 -0
  35. package/bundled/starter-docs/engines/edge/containers/tabs.edge +5 -0
  36. package/bundled/starter-docs/engines/edge/doc.edge +59 -0
  37. package/bundled/starter-docs/engines/edge/hooks/heading.edge +2 -0
  38. package/bundled/starter-docs/engines/ejs/base.ejs +41 -0
  39. package/bundled/starter-docs/engines/ejs/containers/details.ejs +5 -0
  40. package/bundled/starter-docs/engines/ejs/containers/tab.ejs +4 -0
  41. package/bundled/starter-docs/engines/ejs/containers/tabs.ejs +5 -0
  42. package/bundled/starter-docs/engines/ejs/doc.ejs +59 -0
  43. package/bundled/starter-docs/engines/ejs/hooks/heading.ejs +2 -0
  44. package/bundled/starter-docs/engines/hbs/base.hbs +41 -0
  45. package/bundled/starter-docs/engines/hbs/containers/details.hbs +5 -0
  46. package/bundled/starter-docs/engines/hbs/containers/tab.hbs +4 -0
  47. package/bundled/starter-docs/engines/hbs/containers/tabs.hbs +5 -0
  48. package/bundled/starter-docs/engines/hbs/doc.hbs +58 -0
  49. package/bundled/starter-docs/engines/hbs/hooks/heading.hbs +2 -0
  50. package/bundled/starter-docs/engines/liquid/base.liquid +41 -0
  51. package/bundled/starter-docs/engines/liquid/containers/details.liquid +5 -0
  52. package/bundled/starter-docs/engines/liquid/containers/tab.liquid +4 -0
  53. package/bundled/starter-docs/engines/liquid/containers/tabs.liquid +5 -0
  54. package/bundled/starter-docs/engines/liquid/doc.liquid +60 -0
  55. package/bundled/starter-docs/engines/liquid/hooks/heading.liquid +2 -0
  56. package/bundled/starter-docs/gitignore +4 -0
  57. package/bundled/starter-docs/src/404.md +12 -0
  58. package/bundled/starter-docs/src/_blueprints/docs.md +5 -0
  59. package/bundled/starter-docs/src/_data/nav.yml +10 -0
  60. package/bundled/starter-docs/src/_data/site.json +5 -0
  61. package/bundled/starter-docs/src/_includes/base.jinja +41 -0
  62. package/bundled/starter-docs/src/_includes/containers/details.jinja +5 -0
  63. package/bundled/starter-docs/src/_includes/containers/tab.jinja +4 -0
  64. package/bundled/starter-docs/src/_includes/containers/tabs.jinja +5 -0
  65. package/bundled/starter-docs/src/_includes/doc.jinja +59 -0
  66. package/bundled/starter-docs/src/_includes/hooks/heading.jinja +2 -0
  67. package/bundled/starter-docs/src/assets/docs.css +257 -0
  68. package/bundled/starter-docs/src/assets/docs.js +67 -0
  69. package/bundled/starter-docs/src/docs/docs.json +1 -0
  70. package/bundled/starter-docs/src/docs/guides/deploying.md +77 -0
  71. package/bundled/starter-docs/src/docs/guides/writing.md +65 -0
  72. package/bundled/starter-docs/src/docs/index.md +29 -0
  73. package/bundled/starter-docs/src/docs/install.md +42 -0
  74. package/bundled/starter-docs/src/index.md +13 -0
  75. package/bundled/starter-docs/ssqch.config.js +40 -0
  76. package/bundled/trailheads/from-component-frameworks.md +116 -0
  77. package/bundled/trailheads/from-docusaurus.md +55 -0
  78. package/bundled/trailheads/from-eleventy.md +140 -0
  79. package/bundled/trailheads/from-hexo.md +92 -0
  80. package/bundled/trailheads/from-mkdocs.md +45 -0
  81. package/bundled/trailheads/from-zola.md +71 -0
  82. package/lib/assets.js +235 -3
  83. package/lib/chunk-37KSIVNY.js +29 -0
  84. package/lib/chunk-3GYLOC6Y.js +1017 -0
  85. package/lib/chunk-3NYSSA2C.js +22 -0
  86. package/lib/chunk-3PHCFZEU.js +209 -0
  87. package/lib/chunk-4Q6WMTER.js +32 -0
  88. package/lib/chunk-6XYSFG6V.js +4423 -0
  89. package/lib/chunk-6XYSFG6V.js.LEGAL.txt +41 -0
  90. package/lib/chunk-AD3HAW3W.js +10 -0
  91. package/lib/chunk-AMBFWPZ4.js +118 -0
  92. package/lib/chunk-BOBPVAX2.js +37088 -0
  93. package/lib/chunk-BOBPVAX2.js.LEGAL.txt +27 -0
  94. package/lib/chunk-BRK4MXXO.js +565 -0
  95. package/lib/chunk-C35KIPAR.js +247 -0
  96. package/lib/chunk-CDEPYU7W.js +25 -0
  97. package/lib/chunk-CMUWRPSQ.js +113 -0
  98. package/lib/chunk-DDV6JEC2.js +46 -0
  99. package/lib/chunk-DHHQKW4F.js +71 -0
  100. package/lib/chunk-EIT4ZDT4.js +1485 -0
  101. package/lib/chunk-EZZUUPI4.js +20 -0
  102. package/lib/chunk-F65YUXZ7.js +334 -0
  103. package/lib/chunk-FVZ5JBRI.js +115 -0
  104. package/lib/chunk-FYGE634X.js +44 -0
  105. package/lib/chunk-GOE4ZSAB.js +75 -0
  106. package/lib/chunk-GSKVRAHF.js +44 -0
  107. package/lib/chunk-HR2RU2LY.js +999 -0
  108. package/lib/chunk-HXCLCXRT.js +20 -0
  109. package/lib/chunk-I3PS26CI.js +48 -0
  110. package/lib/chunk-IAFM5ITE.js +11 -0
  111. package/lib/chunk-IRHRK7XB.js +54 -0
  112. package/lib/chunk-JRT7TQQP.js +57 -0
  113. package/lib/chunk-JSPSMIJ2.js +217 -0
  114. package/lib/chunk-KBGE5MCY.js +175 -0
  115. package/lib/chunk-N5QTGQ5N.js +207 -0
  116. package/lib/chunk-NKXEPHRZ.js +136 -0
  117. package/lib/chunk-NUKCUDC4.js +146 -0
  118. package/lib/chunk-RI2L3VGO.js +376 -0
  119. package/lib/chunk-TDGBQNGW.js +251 -0
  120. package/lib/chunk-TN6EEDX2.js +3935 -0
  121. package/lib/chunk-TWCVHOKO.js +1229 -0
  122. package/lib/chunk-UGEGUUBT.js +29 -0
  123. package/lib/chunk-UU43WIZG.js +29 -0
  124. package/lib/chunk-VJWQSYEG.js +119 -0
  125. package/lib/chunk-VVPZ5PDP.js +160 -0
  126. package/lib/chunk-WMOVCQO6.js +1287 -0
  127. package/lib/chunk-WP3RPVUM.js +211 -0
  128. package/lib/chunk-YSH2NMIE.js +502 -0
  129. package/lib/cli.js +540 -0
  130. package/lib/elements.js +180 -3
  131. package/lib/image.js +27 -3
  132. package/lib/links.js +464 -3
  133. package/lib/minify.js +69 -3
  134. package/lib/redirects.js +152 -3
  135. package/lib/rss.js +139 -3
  136. package/lib/sass.js +221 -3
  137. package/lib/sitemap.js +88 -3
  138. package/lib/ssqch.js +28 -0
  139. package/package.json +83 -80
  140. package/src/serve/live.js +174 -0
  141. package/src/serve/not-found.html +31 -0
  142. package/types/globals.d.ts +3 -2
  143. package/types/image.d.ts +7 -3
  144. package/types/index.d.ts +18 -5
  145. package/types/links.d.ts +1 -1
  146. package/types/minify.d.ts +1 -1
  147. package/types/rss.d.ts +1 -1
  148. package/types/sass.d.ts +1 -1
  149. package/wasm/markdown.wasm +0 -0
  150. package/wasm/minify.wasm +0 -0
  151. package/wasm/sass.wasm +0 -0
  152. package/lib/index.js +0 -3
  153. package/platforms.json +0 -6
@@ -0,0 +1,840 @@
1
+ _ssqch() {
2
+ local i cur prev opts cmd
3
+ COMPREPLY=()
4
+ if [[ "${BASH_VERSINFO[0]}" -ge 4 ]]; then
5
+ cur="$2"
6
+ else
7
+ cur="${COMP_WORDS[COMP_CWORD]}"
8
+ fi
9
+ prev="$3"
10
+ cmd=""
11
+ opts=""
12
+
13
+ for i in "${COMP_WORDS[@]:0:COMP_CWORD}"
14
+ do
15
+ case "${cmd},${i}" in
16
+ ",$1")
17
+ cmd="ssqch"
18
+ ;;
19
+ ssqch,build)
20
+ cmd="ssqch__subcmd__build"
21
+ ;;
22
+ ssqch,capabilities)
23
+ cmd="ssqch__subcmd__capabilities"
24
+ ;;
25
+ ssqch,completions)
26
+ cmd="ssqch__subcmd__completions"
27
+ ;;
28
+ ssqch,diff)
29
+ cmd="ssqch__subcmd__diff"
30
+ ;;
31
+ ssqch,docs)
32
+ cmd="ssqch__subcmd__docs"
33
+ ;;
34
+ ssqch,footprint)
35
+ cmd="ssqch__subcmd__footprint"
36
+ ;;
37
+ ssqch,help)
38
+ cmd="ssqch__subcmd__help"
39
+ ;;
40
+ ssqch,import)
41
+ cmd="ssqch__subcmd__import"
42
+ ;;
43
+ ssqch,init)
44
+ cmd="ssqch__subcmd__init"
45
+ ;;
46
+ ssqch,inspect)
47
+ cmd="ssqch__subcmd__inspect"
48
+ ;;
49
+ ssqch,new)
50
+ cmd="ssqch__subcmd__new"
51
+ ;;
52
+ ssqch,serve)
53
+ cmd="ssqch__subcmd__serve"
54
+ ;;
55
+ ssqch,types)
56
+ cmd="ssqch__subcmd__types"
57
+ ;;
58
+ ssqch__subcmd__help,build)
59
+ cmd="ssqch__subcmd__help__subcmd__build"
60
+ ;;
61
+ ssqch__subcmd__help,capabilities)
62
+ cmd="ssqch__subcmd__help__subcmd__capabilities"
63
+ ;;
64
+ ssqch__subcmd__help,completions)
65
+ cmd="ssqch__subcmd__help__subcmd__completions"
66
+ ;;
67
+ ssqch__subcmd__help,diff)
68
+ cmd="ssqch__subcmd__help__subcmd__diff"
69
+ ;;
70
+ ssqch__subcmd__help,docs)
71
+ cmd="ssqch__subcmd__help__subcmd__docs"
72
+ ;;
73
+ ssqch__subcmd__help,footprint)
74
+ cmd="ssqch__subcmd__help__subcmd__footprint"
75
+ ;;
76
+ ssqch__subcmd__help,help)
77
+ cmd="ssqch__subcmd__help__subcmd__help"
78
+ ;;
79
+ ssqch__subcmd__help,import)
80
+ cmd="ssqch__subcmd__help__subcmd__import"
81
+ ;;
82
+ ssqch__subcmd__help,init)
83
+ cmd="ssqch__subcmd__help__subcmd__init"
84
+ ;;
85
+ ssqch__subcmd__help,inspect)
86
+ cmd="ssqch__subcmd__help__subcmd__inspect"
87
+ ;;
88
+ ssqch__subcmd__help,new)
89
+ cmd="ssqch__subcmd__help__subcmd__new"
90
+ ;;
91
+ ssqch__subcmd__help,serve)
92
+ cmd="ssqch__subcmd__help__subcmd__serve"
93
+ ;;
94
+ ssqch__subcmd__help,types)
95
+ cmd="ssqch__subcmd__help__subcmd__types"
96
+ ;;
97
+ *)
98
+ ;;
99
+ esac
100
+ done
101
+
102
+ case "${cmd}" in
103
+ ssqch)
104
+ opts="-o -q -v -h -V --root --output --base --offline --env --quiet --verbose --help --version build serve new inspect completions diff footprint init types import capabilities docs help"
105
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
106
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
107
+ return 0
108
+ fi
109
+ case "${prev}" in
110
+ --root)
111
+ COMPREPLY=($(compgen -f "${cur}"))
112
+ return 0
113
+ ;;
114
+ --output)
115
+ COMPREPLY=($(compgen -f "${cur}"))
116
+ return 0
117
+ ;;
118
+ -o)
119
+ COMPREPLY=($(compgen -f "${cur}"))
120
+ return 0
121
+ ;;
122
+ --base)
123
+ COMPREPLY=($(compgen -f "${cur}"))
124
+ return 0
125
+ ;;
126
+ --env)
127
+ COMPREPLY=($(compgen -f "${cur}"))
128
+ return 0
129
+ ;;
130
+ *)
131
+ COMPREPLY=()
132
+ ;;
133
+ esac
134
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
135
+ return 0
136
+ ;;
137
+ ssqch__subcmd__build)
138
+ opts="-o -q -v -h --format --root --output --base --offline --env --quiet --verbose --help"
139
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
140
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
141
+ return 0
142
+ fi
143
+ case "${prev}" in
144
+ --format)
145
+ COMPREPLY=($(compgen -f "${cur}"))
146
+ return 0
147
+ ;;
148
+ --root)
149
+ COMPREPLY=($(compgen -f "${cur}"))
150
+ return 0
151
+ ;;
152
+ --output)
153
+ COMPREPLY=($(compgen -f "${cur}"))
154
+ return 0
155
+ ;;
156
+ -o)
157
+ COMPREPLY=($(compgen -f "${cur}"))
158
+ return 0
159
+ ;;
160
+ --base)
161
+ COMPREPLY=($(compgen -f "${cur}"))
162
+ return 0
163
+ ;;
164
+ --env)
165
+ COMPREPLY=($(compgen -f "${cur}"))
166
+ return 0
167
+ ;;
168
+ *)
169
+ COMPREPLY=()
170
+ ;;
171
+ esac
172
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
173
+ return 0
174
+ ;;
175
+ ssqch__subcmd__capabilities)
176
+ opts="-o -q -v -h --format --root --output --base --offline --env --quiet --verbose --help"
177
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
178
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
179
+ return 0
180
+ fi
181
+ case "${prev}" in
182
+ --format)
183
+ COMPREPLY=($(compgen -f "${cur}"))
184
+ return 0
185
+ ;;
186
+ --root)
187
+ COMPREPLY=($(compgen -f "${cur}"))
188
+ return 0
189
+ ;;
190
+ --output)
191
+ COMPREPLY=($(compgen -f "${cur}"))
192
+ return 0
193
+ ;;
194
+ -o)
195
+ COMPREPLY=($(compgen -f "${cur}"))
196
+ return 0
197
+ ;;
198
+ --base)
199
+ COMPREPLY=($(compgen -f "${cur}"))
200
+ return 0
201
+ ;;
202
+ --env)
203
+ COMPREPLY=($(compgen -f "${cur}"))
204
+ return 0
205
+ ;;
206
+ *)
207
+ COMPREPLY=()
208
+ ;;
209
+ esac
210
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
211
+ return 0
212
+ ;;
213
+ ssqch__subcmd__completions)
214
+ opts="-o -q -v -h --root --output --base --offline --env --quiet --verbose --help bash elvish fish powershell zsh"
215
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
216
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
217
+ return 0
218
+ fi
219
+ case "${prev}" in
220
+ --root)
221
+ COMPREPLY=($(compgen -f "${cur}"))
222
+ return 0
223
+ ;;
224
+ --output)
225
+ COMPREPLY=($(compgen -f "${cur}"))
226
+ return 0
227
+ ;;
228
+ -o)
229
+ COMPREPLY=($(compgen -f "${cur}"))
230
+ return 0
231
+ ;;
232
+ --base)
233
+ COMPREPLY=($(compgen -f "${cur}"))
234
+ return 0
235
+ ;;
236
+ --env)
237
+ COMPREPLY=($(compgen -f "${cur}"))
238
+ return 0
239
+ ;;
240
+ *)
241
+ COMPREPLY=()
242
+ ;;
243
+ esac
244
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
245
+ return 0
246
+ ;;
247
+ ssqch__subcmd__diff)
248
+ opts="-o -q -v -h --exact --ignore --only --lines --format --root --output --base --offline --env --quiet --verbose --help"
249
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
250
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
251
+ return 0
252
+ fi
253
+ case "${prev}" in
254
+ --ignore)
255
+ COMPREPLY=($(compgen -f "${cur}"))
256
+ return 0
257
+ ;;
258
+ --only)
259
+ COMPREPLY=($(compgen -f "${cur}"))
260
+ return 0
261
+ ;;
262
+ --lines)
263
+ COMPREPLY=($(compgen -f "${cur}"))
264
+ return 0
265
+ ;;
266
+ --format)
267
+ COMPREPLY=($(compgen -f "${cur}"))
268
+ return 0
269
+ ;;
270
+ --root)
271
+ COMPREPLY=($(compgen -f "${cur}"))
272
+ return 0
273
+ ;;
274
+ --output)
275
+ COMPREPLY=($(compgen -f "${cur}"))
276
+ return 0
277
+ ;;
278
+ -o)
279
+ COMPREPLY=($(compgen -f "${cur}"))
280
+ return 0
281
+ ;;
282
+ --base)
283
+ COMPREPLY=($(compgen -f "${cur}"))
284
+ return 0
285
+ ;;
286
+ --env)
287
+ COMPREPLY=($(compgen -f "${cur}"))
288
+ return 0
289
+ ;;
290
+ *)
291
+ COMPREPLY=()
292
+ ;;
293
+ esac
294
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
295
+ return 0
296
+ ;;
297
+ ssqch__subcmd__docs)
298
+ opts="-o -q -v -h --from --format --root --output --base --offline --env --quiet --verbose --help"
299
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
300
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
301
+ return 0
302
+ fi
303
+ case "${prev}" in
304
+ --from)
305
+ COMPREPLY=($(compgen -f "${cur}"))
306
+ return 0
307
+ ;;
308
+ --format)
309
+ COMPREPLY=($(compgen -f "${cur}"))
310
+ return 0
311
+ ;;
312
+ --root)
313
+ COMPREPLY=($(compgen -f "${cur}"))
314
+ return 0
315
+ ;;
316
+ --output)
317
+ COMPREPLY=($(compgen -f "${cur}"))
318
+ return 0
319
+ ;;
320
+ -o)
321
+ COMPREPLY=($(compgen -f "${cur}"))
322
+ return 0
323
+ ;;
324
+ --base)
325
+ COMPREPLY=($(compgen -f "${cur}"))
326
+ return 0
327
+ ;;
328
+ --env)
329
+ COMPREPLY=($(compgen -f "${cur}"))
330
+ return 0
331
+ ;;
332
+ *)
333
+ COMPREPLY=()
334
+ ;;
335
+ esac
336
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
337
+ return 0
338
+ ;;
339
+ ssqch__subcmd__footprint)
340
+ opts="-o -q -v -h --top --format --root --output --base --offline --env --quiet --verbose --help"
341
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
342
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
343
+ return 0
344
+ fi
345
+ case "${prev}" in
346
+ --top)
347
+ COMPREPLY=($(compgen -f "${cur}"))
348
+ return 0
349
+ ;;
350
+ --format)
351
+ COMPREPLY=($(compgen -f "${cur}"))
352
+ return 0
353
+ ;;
354
+ --root)
355
+ COMPREPLY=($(compgen -f "${cur}"))
356
+ return 0
357
+ ;;
358
+ --output)
359
+ COMPREPLY=($(compgen -f "${cur}"))
360
+ return 0
361
+ ;;
362
+ -o)
363
+ COMPREPLY=($(compgen -f "${cur}"))
364
+ return 0
365
+ ;;
366
+ --base)
367
+ COMPREPLY=($(compgen -f "${cur}"))
368
+ return 0
369
+ ;;
370
+ --env)
371
+ COMPREPLY=($(compgen -f "${cur}"))
372
+ return 0
373
+ ;;
374
+ *)
375
+ COMPREPLY=()
376
+ ;;
377
+ esac
378
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
379
+ return 0
380
+ ;;
381
+ ssqch__subcmd__help)
382
+ opts="build serve new inspect completions diff footprint init types import capabilities docs help"
383
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
384
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
385
+ return 0
386
+ fi
387
+ case "${prev}" in
388
+ *)
389
+ COMPREPLY=()
390
+ ;;
391
+ esac
392
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
393
+ return 0
394
+ ;;
395
+ ssqch__subcmd__help__subcmd__build)
396
+ opts=""
397
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
398
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
399
+ return 0
400
+ fi
401
+ case "${prev}" in
402
+ *)
403
+ COMPREPLY=()
404
+ ;;
405
+ esac
406
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
407
+ return 0
408
+ ;;
409
+ ssqch__subcmd__help__subcmd__capabilities)
410
+ opts=""
411
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
412
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
413
+ return 0
414
+ fi
415
+ case "${prev}" in
416
+ *)
417
+ COMPREPLY=()
418
+ ;;
419
+ esac
420
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
421
+ return 0
422
+ ;;
423
+ ssqch__subcmd__help__subcmd__completions)
424
+ opts=""
425
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
426
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
427
+ return 0
428
+ fi
429
+ case "${prev}" in
430
+ *)
431
+ COMPREPLY=()
432
+ ;;
433
+ esac
434
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
435
+ return 0
436
+ ;;
437
+ ssqch__subcmd__help__subcmd__diff)
438
+ opts=""
439
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
440
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
441
+ return 0
442
+ fi
443
+ case "${prev}" in
444
+ *)
445
+ COMPREPLY=()
446
+ ;;
447
+ esac
448
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
449
+ return 0
450
+ ;;
451
+ ssqch__subcmd__help__subcmd__docs)
452
+ opts=""
453
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
454
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
455
+ return 0
456
+ fi
457
+ case "${prev}" in
458
+ *)
459
+ COMPREPLY=()
460
+ ;;
461
+ esac
462
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
463
+ return 0
464
+ ;;
465
+ ssqch__subcmd__help__subcmd__footprint)
466
+ opts=""
467
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
468
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
469
+ return 0
470
+ fi
471
+ case "${prev}" in
472
+ *)
473
+ COMPREPLY=()
474
+ ;;
475
+ esac
476
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
477
+ return 0
478
+ ;;
479
+ ssqch__subcmd__help__subcmd__help)
480
+ opts=""
481
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
482
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
483
+ return 0
484
+ fi
485
+ case "${prev}" in
486
+ *)
487
+ COMPREPLY=()
488
+ ;;
489
+ esac
490
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
491
+ return 0
492
+ ;;
493
+ ssqch__subcmd__help__subcmd__import)
494
+ opts=""
495
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
496
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
497
+ return 0
498
+ fi
499
+ case "${prev}" in
500
+ *)
501
+ COMPREPLY=()
502
+ ;;
503
+ esac
504
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
505
+ return 0
506
+ ;;
507
+ ssqch__subcmd__help__subcmd__init)
508
+ opts=""
509
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
510
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
511
+ return 0
512
+ fi
513
+ case "${prev}" in
514
+ *)
515
+ COMPREPLY=()
516
+ ;;
517
+ esac
518
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
519
+ return 0
520
+ ;;
521
+ ssqch__subcmd__help__subcmd__inspect)
522
+ opts=""
523
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
524
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
525
+ return 0
526
+ fi
527
+ case "${prev}" in
528
+ *)
529
+ COMPREPLY=()
530
+ ;;
531
+ esac
532
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
533
+ return 0
534
+ ;;
535
+ ssqch__subcmd__help__subcmd__new)
536
+ opts=""
537
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
538
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
539
+ return 0
540
+ fi
541
+ case "${prev}" in
542
+ *)
543
+ COMPREPLY=()
544
+ ;;
545
+ esac
546
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
547
+ return 0
548
+ ;;
549
+ ssqch__subcmd__help__subcmd__serve)
550
+ opts=""
551
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
552
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
553
+ return 0
554
+ fi
555
+ case "${prev}" in
556
+ *)
557
+ COMPREPLY=()
558
+ ;;
559
+ esac
560
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
561
+ return 0
562
+ ;;
563
+ ssqch__subcmd__help__subcmd__types)
564
+ opts=""
565
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
566
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
567
+ return 0
568
+ fi
569
+ case "${prev}" in
570
+ *)
571
+ COMPREPLY=()
572
+ ;;
573
+ esac
574
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
575
+ return 0
576
+ ;;
577
+ ssqch__subcmd__import)
578
+ opts="-o -q -v -h --write --root --output --base --offline --env --quiet --verbose --help"
579
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
580
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
581
+ return 0
582
+ fi
583
+ case "${prev}" in
584
+ --root)
585
+ COMPREPLY=($(compgen -f "${cur}"))
586
+ return 0
587
+ ;;
588
+ --output)
589
+ COMPREPLY=($(compgen -f "${cur}"))
590
+ return 0
591
+ ;;
592
+ -o)
593
+ COMPREPLY=($(compgen -f "${cur}"))
594
+ return 0
595
+ ;;
596
+ --base)
597
+ COMPREPLY=($(compgen -f "${cur}"))
598
+ return 0
599
+ ;;
600
+ --env)
601
+ COMPREPLY=($(compgen -f "${cur}"))
602
+ return 0
603
+ ;;
604
+ *)
605
+ COMPREPLY=()
606
+ ;;
607
+ esac
608
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
609
+ return 0
610
+ ;;
611
+ ssqch__subcmd__init)
612
+ opts="-o -q -v -h --starter --engine --root --output --base --offline --env --quiet --verbose --help"
613
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
614
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
615
+ return 0
616
+ fi
617
+ case "${prev}" in
618
+ --starter)
619
+ COMPREPLY=($(compgen -f "${cur}"))
620
+ return 0
621
+ ;;
622
+ --engine)
623
+ COMPREPLY=($(compgen -f "${cur}"))
624
+ return 0
625
+ ;;
626
+ --root)
627
+ COMPREPLY=($(compgen -f "${cur}"))
628
+ return 0
629
+ ;;
630
+ --output)
631
+ COMPREPLY=($(compgen -f "${cur}"))
632
+ return 0
633
+ ;;
634
+ -o)
635
+ COMPREPLY=($(compgen -f "${cur}"))
636
+ return 0
637
+ ;;
638
+ --base)
639
+ COMPREPLY=($(compgen -f "${cur}"))
640
+ return 0
641
+ ;;
642
+ --env)
643
+ COMPREPLY=($(compgen -f "${cur}"))
644
+ return 0
645
+ ;;
646
+ *)
647
+ COMPREPLY=()
648
+ ;;
649
+ esac
650
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
651
+ return 0
652
+ ;;
653
+ ssqch__subcmd__inspect)
654
+ opts="-o -q -v -h --field --format --root --output --base --offline --env --quiet --verbose --help"
655
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
656
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
657
+ return 0
658
+ fi
659
+ case "${prev}" in
660
+ --field)
661
+ COMPREPLY=($(compgen -f "${cur}"))
662
+ return 0
663
+ ;;
664
+ --format)
665
+ COMPREPLY=($(compgen -f "${cur}"))
666
+ return 0
667
+ ;;
668
+ --root)
669
+ COMPREPLY=($(compgen -f "${cur}"))
670
+ return 0
671
+ ;;
672
+ --output)
673
+ COMPREPLY=($(compgen -f "${cur}"))
674
+ return 0
675
+ ;;
676
+ -o)
677
+ COMPREPLY=($(compgen -f "${cur}"))
678
+ return 0
679
+ ;;
680
+ --base)
681
+ COMPREPLY=($(compgen -f "${cur}"))
682
+ return 0
683
+ ;;
684
+ --env)
685
+ COMPREPLY=($(compgen -f "${cur}"))
686
+ return 0
687
+ ;;
688
+ *)
689
+ COMPREPLY=()
690
+ ;;
691
+ esac
692
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
693
+ return 0
694
+ ;;
695
+ ssqch__subcmd__new)
696
+ opts="-o -q -v -h --title --date --blueprint --set --format --root --output --base --offline --env --quiet --verbose --help"
697
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
698
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
699
+ return 0
700
+ fi
701
+ case "${prev}" in
702
+ --title)
703
+ COMPREPLY=($(compgen -f "${cur}"))
704
+ return 0
705
+ ;;
706
+ --date)
707
+ COMPREPLY=($(compgen -f "${cur}"))
708
+ return 0
709
+ ;;
710
+ --blueprint)
711
+ COMPREPLY=($(compgen -f "${cur}"))
712
+ return 0
713
+ ;;
714
+ --set)
715
+ COMPREPLY=($(compgen -f "${cur}"))
716
+ return 0
717
+ ;;
718
+ --format)
719
+ COMPREPLY=($(compgen -f "${cur}"))
720
+ return 0
721
+ ;;
722
+ --root)
723
+ COMPREPLY=($(compgen -f "${cur}"))
724
+ return 0
725
+ ;;
726
+ --output)
727
+ COMPREPLY=($(compgen -f "${cur}"))
728
+ return 0
729
+ ;;
730
+ -o)
731
+ COMPREPLY=($(compgen -f "${cur}"))
732
+ return 0
733
+ ;;
734
+ --base)
735
+ COMPREPLY=($(compgen -f "${cur}"))
736
+ return 0
737
+ ;;
738
+ --env)
739
+ COMPREPLY=($(compgen -f "${cur}"))
740
+ return 0
741
+ ;;
742
+ *)
743
+ COMPREPLY=()
744
+ ;;
745
+ esac
746
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
747
+ return 0
748
+ ;;
749
+ ssqch__subcmd__serve)
750
+ opts="-p -o -q -v -h --port --built --ready-file --root --output --base --offline --env --quiet --verbose --help"
751
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
752
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
753
+ return 0
754
+ fi
755
+ case "${prev}" in
756
+ --port)
757
+ COMPREPLY=($(compgen -f "${cur}"))
758
+ return 0
759
+ ;;
760
+ -p)
761
+ COMPREPLY=($(compgen -f "${cur}"))
762
+ return 0
763
+ ;;
764
+ --ready-file)
765
+ COMPREPLY=($(compgen -f "${cur}"))
766
+ return 0
767
+ ;;
768
+ --root)
769
+ COMPREPLY=($(compgen -f "${cur}"))
770
+ return 0
771
+ ;;
772
+ --output)
773
+ COMPREPLY=($(compgen -f "${cur}"))
774
+ return 0
775
+ ;;
776
+ -o)
777
+ COMPREPLY=($(compgen -f "${cur}"))
778
+ return 0
779
+ ;;
780
+ --base)
781
+ COMPREPLY=($(compgen -f "${cur}"))
782
+ return 0
783
+ ;;
784
+ --env)
785
+ COMPREPLY=($(compgen -f "${cur}"))
786
+ return 0
787
+ ;;
788
+ *)
789
+ COMPREPLY=()
790
+ ;;
791
+ esac
792
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
793
+ return 0
794
+ ;;
795
+ ssqch__subcmd__types)
796
+ opts="-o -q -v -h --out --root --output --base --offline --env --quiet --verbose --help"
797
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
798
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
799
+ return 0
800
+ fi
801
+ case "${prev}" in
802
+ --out)
803
+ COMPREPLY=($(compgen -f "${cur}"))
804
+ return 0
805
+ ;;
806
+ --root)
807
+ COMPREPLY=($(compgen -f "${cur}"))
808
+ return 0
809
+ ;;
810
+ --output)
811
+ COMPREPLY=($(compgen -f "${cur}"))
812
+ return 0
813
+ ;;
814
+ -o)
815
+ COMPREPLY=($(compgen -f "${cur}"))
816
+ return 0
817
+ ;;
818
+ --base)
819
+ COMPREPLY=($(compgen -f "${cur}"))
820
+ return 0
821
+ ;;
822
+ --env)
823
+ COMPREPLY=($(compgen -f "${cur}"))
824
+ return 0
825
+ ;;
826
+ *)
827
+ COMPREPLY=()
828
+ ;;
829
+ esac
830
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
831
+ return 0
832
+ ;;
833
+ esac
834
+ }
835
+
836
+ if [[ "${BASH_VERSINFO[0]}" -eq 4 && "${BASH_VERSINFO[1]}" -ge 4 || "${BASH_VERSINFO[0]}" -gt 4 ]]; then
837
+ complete -F _ssqch -o nosort -o bashdefault -o default ssqch
838
+ else
839
+ complete -F _ssqch -o bashdefault -o default ssqch
840
+ fi