ssqch 0.7.1 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -4
- package/bin/ssqch.js +14 -48
- package/bundled/README.md +1314 -0
- package/bundled/completions/bash +840 -0
- package/bundled/completions/elvish +286 -0
- package/bundled/completions/fish +182 -0
- package/bundled/completions/powershell +318 -0
- package/bundled/completions/zsh +510 -0
- package/bundled/ssqch.d.ts +540 -0
- package/bundled/starter/engines/index.edge +11 -0
- package/bundled/starter/engines/index.ejs +11 -0
- package/bundled/starter/engines/index.hbs +11 -0
- package/bundled/starter/engines/index.liquid +11 -0
- package/bundled/starter/engines/layout.edge +35 -0
- package/bundled/starter/engines/layout.ejs +35 -0
- package/bundled/starter/engines/layout.hbs +35 -0
- package/bundled/starter/engines/layout.liquid +35 -0
- package/bundled/starter/gitignore +3 -0
- package/bundled/starter/jsconfig.json +11 -0
- package/bundled/starter/src/404.md +8 -0
- package/bundled/starter/src/_blueprints/posts.md +5 -0
- package/bundled/starter/src/_data/site.json +4 -0
- package/bundled/starter/src/_includes/layout.jinja +35 -0
- package/bundled/starter/src/index.jinja +11 -0
- package/bundled/starter/src/posts/i-know-what-i-saw.md +11 -0
- package/bundled/starter/src/posts/posts.json +4 -0
- package/bundled/starter/src/posts/raiders-of-the-lost-path.md +27 -0
- package/bundled/starter/src/posts/the-cache-of-the-wild.md +26 -0
- package/bundled/starter/src/posts/the-stump-has-moved.md +15 -0
- package/bundled/starter/src/posts/upon-further-review-a-stump.md +18 -0
- package/bundled/starter/ssqch.config.js +29 -0
- package/bundled/starter-docs/engines/edge/base.edge +41 -0
- package/bundled/starter-docs/engines/edge/containers/details.edge +5 -0
- package/bundled/starter-docs/engines/edge/containers/tab.edge +4 -0
- package/bundled/starter-docs/engines/edge/containers/tabs.edge +5 -0
- package/bundled/starter-docs/engines/edge/doc.edge +59 -0
- package/bundled/starter-docs/engines/edge/hooks/heading.edge +2 -0
- package/bundled/starter-docs/engines/ejs/base.ejs +41 -0
- package/bundled/starter-docs/engines/ejs/containers/details.ejs +5 -0
- package/bundled/starter-docs/engines/ejs/containers/tab.ejs +4 -0
- package/bundled/starter-docs/engines/ejs/containers/tabs.ejs +5 -0
- package/bundled/starter-docs/engines/ejs/doc.ejs +59 -0
- package/bundled/starter-docs/engines/ejs/hooks/heading.ejs +2 -0
- package/bundled/starter-docs/engines/hbs/base.hbs +41 -0
- package/bundled/starter-docs/engines/hbs/containers/details.hbs +5 -0
- package/bundled/starter-docs/engines/hbs/containers/tab.hbs +4 -0
- package/bundled/starter-docs/engines/hbs/containers/tabs.hbs +5 -0
- package/bundled/starter-docs/engines/hbs/doc.hbs +58 -0
- package/bundled/starter-docs/engines/hbs/hooks/heading.hbs +2 -0
- package/bundled/starter-docs/engines/liquid/base.liquid +41 -0
- package/bundled/starter-docs/engines/liquid/containers/details.liquid +5 -0
- package/bundled/starter-docs/engines/liquid/containers/tab.liquid +4 -0
- package/bundled/starter-docs/engines/liquid/containers/tabs.liquid +5 -0
- package/bundled/starter-docs/engines/liquid/doc.liquid +60 -0
- package/bundled/starter-docs/engines/liquid/hooks/heading.liquid +2 -0
- package/bundled/starter-docs/gitignore +4 -0
- package/bundled/starter-docs/src/404.md +12 -0
- package/bundled/starter-docs/src/_blueprints/docs.md +5 -0
- package/bundled/starter-docs/src/_data/nav.yml +10 -0
- package/bundled/starter-docs/src/_data/site.json +5 -0
- package/bundled/starter-docs/src/_includes/base.jinja +41 -0
- package/bundled/starter-docs/src/_includes/containers/details.jinja +5 -0
- package/bundled/starter-docs/src/_includes/containers/tab.jinja +4 -0
- package/bundled/starter-docs/src/_includes/containers/tabs.jinja +5 -0
- package/bundled/starter-docs/src/_includes/doc.jinja +59 -0
- package/bundled/starter-docs/src/_includes/hooks/heading.jinja +2 -0
- package/bundled/starter-docs/src/assets/docs.css +257 -0
- package/bundled/starter-docs/src/assets/docs.js +67 -0
- package/bundled/starter-docs/src/docs/docs.json +1 -0
- package/bundled/starter-docs/src/docs/guides/deploying.md +77 -0
- package/bundled/starter-docs/src/docs/guides/writing.md +65 -0
- package/bundled/starter-docs/src/docs/index.md +29 -0
- package/bundled/starter-docs/src/docs/install.md +42 -0
- package/bundled/starter-docs/src/index.md +13 -0
- package/bundled/starter-docs/ssqch.config.js +40 -0
- package/bundled/trailheads/from-component-frameworks.md +116 -0
- package/bundled/trailheads/from-docusaurus.md +55 -0
- package/bundled/trailheads/from-eleventy.md +140 -0
- package/bundled/trailheads/from-hexo.md +92 -0
- package/bundled/trailheads/from-jekyll.md +79 -0
- package/bundled/trailheads/from-mkdocs.md +45 -0
- package/bundled/trailheads/from-zola.md +71 -0
- package/lib/assets.js +235 -3
- package/lib/chunk-3A647I3N.js +384 -0
- package/lib/chunk-3GYLOC6Y.js +1017 -0
- package/lib/chunk-3K3ANWZ2.js +118 -0
- package/lib/chunk-3NYSSA2C.js +22 -0
- package/lib/chunk-47P4YREZ.js +1287 -0
- package/lib/chunk-4Q6WMTER.js +32 -0
- package/lib/chunk-76NTVE34.js +338 -0
- package/lib/chunk-7PWCYHTJ.js +1350 -0
- package/lib/chunk-7RDRZHJD.js +217 -0
- package/lib/chunk-7SD7K567.js +57 -0
- package/lib/chunk-7XLK2GEG.js +54 -0
- package/lib/chunk-AD3HAW3W.js +10 -0
- package/lib/chunk-BEGC7YP6.js +502 -0
- package/lib/chunk-CMUWRPSQ.js +113 -0
- package/lib/chunk-CZ4XQC56.js +999 -0
- package/lib/chunk-D2XE2GTY.js +71 -0
- package/lib/chunk-DDV6JEC2.js +46 -0
- package/lib/chunk-DELWRJAO.js +37409 -0
- package/lib/chunk-DELWRJAO.js.LEGAL.txt +27 -0
- package/lib/chunk-F65YUXZ7.js +334 -0
- package/lib/chunk-FVZ5JBRI.js +115 -0
- package/lib/chunk-GRWMGC7D.js +4435 -0
- package/lib/chunk-GRWMGC7D.js.LEGAL.txt +41 -0
- package/lib/chunk-GUKSZ2XM.js +207 -0
- package/lib/chunk-HPXAZ2HU.js +251 -0
- package/lib/chunk-HXCLCXRT.js +20 -0
- package/lib/chunk-I3PS26CI.js +48 -0
- package/lib/chunk-IAFM5ITE.js +11 -0
- package/lib/chunk-II5DEH3Q.js +209 -0
- package/lib/chunk-IJWHOFRP.js +44 -0
- package/lib/chunk-LPHNACE4.js +29 -0
- package/lib/chunk-MI6EJWA2.js +175 -0
- package/lib/chunk-NCWFYT74.js +1541 -0
- package/lib/chunk-NKXEPHRZ.js +136 -0
- package/lib/chunk-NNUKIGOO.js +160 -0
- package/lib/chunk-R7K3D5W5.js +3957 -0
- package/lib/chunk-RNJFPFXE.js +29 -0
- package/lib/chunk-SF4I6Z7S.js +25 -0
- package/lib/chunk-SURPOAW7.js +44 -0
- package/lib/chunk-SXMJ52IK.js +572 -0
- package/lib/chunk-TICWN55Z.js +20 -0
- package/lib/chunk-TVU3OPPK.js +146 -0
- package/lib/chunk-UU43WIZG.js +29 -0
- package/lib/chunk-VJWQSYEG.js +119 -0
- package/lib/chunk-XMXBHXZR.js +75 -0
- package/lib/chunk-YTHQBMDJ.js +211 -0
- package/lib/cli.js +547 -0
- package/lib/elements.js +180 -3
- package/lib/image.js +27 -3
- package/lib/links.js +464 -3
- package/lib/minify.js +69 -3
- package/lib/redirects.js +152 -3
- package/lib/rss.js +139 -3
- package/lib/sass.js +256 -3
- package/lib/sitemap.js +113 -3
- package/lib/ssqch.js +28 -0
- package/package.json +83 -80
- package/src/serve/live.js +174 -0
- package/src/serve/not-found.html +31 -0
- package/types/globals.d.ts +3 -2
- package/types/image.d.ts +7 -3
- package/types/index.d.ts +28 -9
- package/types/links.d.ts +1 -1
- package/types/minify.d.ts +1 -1
- package/types/rss.d.ts +1 -1
- package/types/sass.d.ts +1 -1
- package/types/sitemap.d.ts +2 -0
- package/wasm/markdown.wasm +0 -0
- package/wasm/minify.wasm +0 -0
- package/wasm/sass.wasm +0 -0
- package/lib/index.js +0 -3
- package/platforms.json +0 -6
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
|
|
2
|
+
use builtin;
|
|
3
|
+
use str;
|
|
4
|
+
|
|
5
|
+
set edit:completion:arg-completer[ssqch] = {|@words|
|
|
6
|
+
fn spaces {|n|
|
|
7
|
+
builtin:repeat $n ' ' | str:join ''
|
|
8
|
+
}
|
|
9
|
+
fn cand {|text desc|
|
|
10
|
+
edit:complex-candidate $text &display=$text' '(spaces (- 14 (wcswidth $text)))$desc
|
|
11
|
+
}
|
|
12
|
+
var command = 'ssqch'
|
|
13
|
+
for word $words[1..-1] {
|
|
14
|
+
if (str:has-prefix $word '-') {
|
|
15
|
+
break
|
|
16
|
+
}
|
|
17
|
+
set command = $command';'$word
|
|
18
|
+
}
|
|
19
|
+
var completions = [
|
|
20
|
+
&'ssqch'= {
|
|
21
|
+
cand --root 'Project root (defaults to the current directory)'
|
|
22
|
+
cand -o 'Override the output directory (relative to the root)'
|
|
23
|
+
cand --output 'Override the output directory (relative to the root)'
|
|
24
|
+
cand --base 'Serve the site under a path, like /repo/ (overrides the config''s `base`)'
|
|
25
|
+
cand --env 'development or production (default: $SSQCH_ENV, $NODE_ENV, then production for `build` and development for `serve`)'
|
|
26
|
+
cand --offline 'Don''t use the network: `fetch()` answers from the copies its `cache` option saved'
|
|
27
|
+
cand -q 'Print only warnings and errors'
|
|
28
|
+
cand --quiet 'Print only warnings and errors'
|
|
29
|
+
cand -v 'Also list the slowest images to encode'
|
|
30
|
+
cand --verbose 'Also list the slowest images to encode'
|
|
31
|
+
cand -h 'Print help'
|
|
32
|
+
cand --help 'Print help'
|
|
33
|
+
cand -V 'Print version'
|
|
34
|
+
cand --version 'Print version'
|
|
35
|
+
cand build 'Build the site (default)'
|
|
36
|
+
cand serve 'Build, serve, watch for changes and live-reload the browser'
|
|
37
|
+
cand new 'Create a page from a blueprint (a file in _blueprints/), with its title and date filled in'
|
|
38
|
+
cand inspect 'Show where a page comes from, and which level of the data cascade set each value'
|
|
39
|
+
cand completions 'Print a completion script for your shell, so Tab finishes commands and options'
|
|
40
|
+
cand diff 'Compare two builds of a site: URLs added and removed, and what changed on each page'
|
|
41
|
+
cand footprint 'Show how much a build weighs: its files by kind, and the heaviest pages and files'
|
|
42
|
+
cand init 'Create a starter site (config, layout, five posts, data and editor types)'
|
|
43
|
+
cand types 'Write ssqch.d.ts, the types editors use for ssqch.config.js'
|
|
44
|
+
cand import 'Move a site from another generator: rename and rewrite what''s mechanical, and list the rest'
|
|
45
|
+
cand capabilities 'Say what this binary supports: template languages, modules, config options and optional features'
|
|
46
|
+
cand docs 'Read the documentation for this version: a command, config option, function or topic'
|
|
47
|
+
cand help 'Print this message or the help of the given subcommand(s)'
|
|
48
|
+
}
|
|
49
|
+
&'ssqch;build'= {
|
|
50
|
+
cand --format 'text or json'
|
|
51
|
+
cand --root 'Project root (defaults to the current directory)'
|
|
52
|
+
cand -o 'Override the output directory (relative to the root)'
|
|
53
|
+
cand --output 'Override the output directory (relative to the root)'
|
|
54
|
+
cand --base 'Serve the site under a path, like /repo/ (overrides the config''s `base`)'
|
|
55
|
+
cand --env 'development or production (default: $SSQCH_ENV, $NODE_ENV, then production for `build` and development for `serve`)'
|
|
56
|
+
cand --offline 'Don''t use the network: `fetch()` answers from the copies its `cache` option saved'
|
|
57
|
+
cand -q 'Print only warnings and errors'
|
|
58
|
+
cand --quiet 'Print only warnings and errors'
|
|
59
|
+
cand -v 'Also list the slowest images to encode'
|
|
60
|
+
cand --verbose 'Also list the slowest images to encode'
|
|
61
|
+
cand -h 'Print help'
|
|
62
|
+
cand --help 'Print help'
|
|
63
|
+
}
|
|
64
|
+
&'ssqch;serve'= {
|
|
65
|
+
cand -p 'The port to listen on (0 picks a free one)'
|
|
66
|
+
cand --port 'The port to listen on (0 picks a free one)'
|
|
67
|
+
cand --ready-file 'Write this file once the first build is done: JSON with the url, port and output folder'
|
|
68
|
+
cand --root 'Project root (defaults to the current directory)'
|
|
69
|
+
cand -o 'Override the output directory (relative to the root)'
|
|
70
|
+
cand --output 'Override the output directory (relative to the root)'
|
|
71
|
+
cand --base 'Serve the site under a path, like /repo/ (overrides the config''s `base`)'
|
|
72
|
+
cand --env 'development or production (default: $SSQCH_ENV, $NODE_ENV, then production for `build` and development for `serve`)'
|
|
73
|
+
cand --built 'Serve the output folder as it was built: no build, no watching, no reload script, gzip on'
|
|
74
|
+
cand --offline 'Don''t use the network: `fetch()` answers from the copies its `cache` option saved'
|
|
75
|
+
cand -q 'Print only warnings and errors'
|
|
76
|
+
cand --quiet 'Print only warnings and errors'
|
|
77
|
+
cand -v 'Also list the slowest images to encode'
|
|
78
|
+
cand --verbose 'Also list the slowest images to encode'
|
|
79
|
+
cand -h 'Print help'
|
|
80
|
+
cand --help 'Print help'
|
|
81
|
+
}
|
|
82
|
+
&'ssqch;new'= {
|
|
83
|
+
cand --title 'The page''s title (default: from the file''s name)'
|
|
84
|
+
cand --date 'The page''s date, as it''s written in front matter (default: today)'
|
|
85
|
+
cand --blueprint 'The blueprint to use (default: the page''s folder, then `default`)'
|
|
86
|
+
cand --set 'Another front matter key, with its value as it''s written there (repeatable)'
|
|
87
|
+
cand --format 'text or json'
|
|
88
|
+
cand --root 'Project root (defaults to the current directory)'
|
|
89
|
+
cand -o 'Override the output directory (relative to the root)'
|
|
90
|
+
cand --output 'Override the output directory (relative to the root)'
|
|
91
|
+
cand --base 'Serve the site under a path, like /repo/ (overrides the config''s `base`)'
|
|
92
|
+
cand --env 'development or production (default: $SSQCH_ENV, $NODE_ENV, then production for `build` and development for `serve`)'
|
|
93
|
+
cand --offline 'Don''t use the network: `fetch()` answers from the copies its `cache` option saved'
|
|
94
|
+
cand -q 'Print only warnings and errors'
|
|
95
|
+
cand --quiet 'Print only warnings and errors'
|
|
96
|
+
cand -v 'Also list the slowest images to encode'
|
|
97
|
+
cand --verbose 'Also list the slowest images to encode'
|
|
98
|
+
cand -h 'Print help'
|
|
99
|
+
cand --help 'Print help'
|
|
100
|
+
}
|
|
101
|
+
&'ssqch;inspect'= {
|
|
102
|
+
cand --field 'One field of its data, in full, with every level that set it (a dotted path reaches inside: hero.alt)'
|
|
103
|
+
cand --format 'text or json'
|
|
104
|
+
cand --root 'Project root (defaults to the current directory)'
|
|
105
|
+
cand -o 'Override the output directory (relative to the root)'
|
|
106
|
+
cand --output 'Override the output directory (relative to the root)'
|
|
107
|
+
cand --base 'Serve the site under a path, like /repo/ (overrides the config''s `base`)'
|
|
108
|
+
cand --env 'development or production (default: $SSQCH_ENV, $NODE_ENV, then production for `build` and development for `serve`)'
|
|
109
|
+
cand --offline 'Don''t use the network: `fetch()` answers from the copies its `cache` option saved'
|
|
110
|
+
cand -q 'Print only warnings and errors'
|
|
111
|
+
cand --quiet 'Print only warnings and errors'
|
|
112
|
+
cand -v 'Also list the slowest images to encode'
|
|
113
|
+
cand --verbose 'Also list the slowest images to encode'
|
|
114
|
+
cand -h 'Print help'
|
|
115
|
+
cand --help 'Print help'
|
|
116
|
+
}
|
|
117
|
+
&'ssqch;completions'= {
|
|
118
|
+
cand --root 'Project root (defaults to the current directory)'
|
|
119
|
+
cand -o 'Override the output directory (relative to the root)'
|
|
120
|
+
cand --output 'Override the output directory (relative to the root)'
|
|
121
|
+
cand --base 'Serve the site under a path, like /repo/ (overrides the config''s `base`)'
|
|
122
|
+
cand --env 'development or production (default: $SSQCH_ENV, $NODE_ENV, then production for `build` and development for `serve`)'
|
|
123
|
+
cand --offline 'Don''t use the network: `fetch()` answers from the copies its `cache` option saved'
|
|
124
|
+
cand -q 'Print only warnings and errors'
|
|
125
|
+
cand --quiet 'Print only warnings and errors'
|
|
126
|
+
cand -v 'Also list the slowest images to encode'
|
|
127
|
+
cand --verbose 'Also list the slowest images to encode'
|
|
128
|
+
cand -h 'Print help'
|
|
129
|
+
cand --help 'Print help'
|
|
130
|
+
}
|
|
131
|
+
&'ssqch;diff'= {
|
|
132
|
+
cand --ignore 'Leave out text matching this regular expression before comparing (repeatable)'
|
|
133
|
+
cand --only 'Only compare files matching this glob, like ''**/*.html'' (repeatable)'
|
|
134
|
+
cand --lines 'Changed lines to show for each file (0 for all)'
|
|
135
|
+
cand --format 'text or json'
|
|
136
|
+
cand --root 'Project root (defaults to the current directory)'
|
|
137
|
+
cand -o 'Override the output directory (relative to the root)'
|
|
138
|
+
cand --output 'Override the output directory (relative to the root)'
|
|
139
|
+
cand --base 'Serve the site under a path, like /repo/ (overrides the config''s `base`)'
|
|
140
|
+
cand --env 'development or production (default: $SSQCH_ENV, $NODE_ENV, then production for `build` and development for `serve`)'
|
|
141
|
+
cand --exact 'Compare bytes: don''t match fingerprinted files or ignore whitespace'
|
|
142
|
+
cand --offline 'Don''t use the network: `fetch()` answers from the copies its `cache` option saved'
|
|
143
|
+
cand -q 'Print only warnings and errors'
|
|
144
|
+
cand --quiet 'Print only warnings and errors'
|
|
145
|
+
cand -v 'Also list the slowest images to encode'
|
|
146
|
+
cand --verbose 'Also list the slowest images to encode'
|
|
147
|
+
cand -h 'Print help'
|
|
148
|
+
cand --help 'Print help'
|
|
149
|
+
}
|
|
150
|
+
&'ssqch;footprint'= {
|
|
151
|
+
cand --top 'How many of the heaviest pages and files to list (0 for none)'
|
|
152
|
+
cand --format 'text or json'
|
|
153
|
+
cand --root 'Project root (defaults to the current directory)'
|
|
154
|
+
cand -o 'Override the output directory (relative to the root)'
|
|
155
|
+
cand --output 'Override the output directory (relative to the root)'
|
|
156
|
+
cand --base 'Serve the site under a path, like /repo/ (overrides the config''s `base`)'
|
|
157
|
+
cand --env 'development or production (default: $SSQCH_ENV, $NODE_ENV, then production for `build` and development for `serve`)'
|
|
158
|
+
cand --offline 'Don''t use the network: `fetch()` answers from the copies its `cache` option saved'
|
|
159
|
+
cand -q 'Print only warnings and errors'
|
|
160
|
+
cand --quiet 'Print only warnings and errors'
|
|
161
|
+
cand -v 'Also list the slowest images to encode'
|
|
162
|
+
cand --verbose 'Also list the slowest images to encode'
|
|
163
|
+
cand -h 'Print help'
|
|
164
|
+
cand --help 'Print help'
|
|
165
|
+
}
|
|
166
|
+
&'ssqch;init'= {
|
|
167
|
+
cand --starter 'What to start with: site (a small blog) or docs (documentation with a sidebar, tabs and search)'
|
|
168
|
+
cand --engine 'The template language for the starter''s layouts and templates: jinja, njk, edge, liquid, hbs or ejs'
|
|
169
|
+
cand --root 'Project root (defaults to the current directory)'
|
|
170
|
+
cand -o 'Override the output directory (relative to the root)'
|
|
171
|
+
cand --output 'Override the output directory (relative to the root)'
|
|
172
|
+
cand --base 'Serve the site under a path, like /repo/ (overrides the config''s `base`)'
|
|
173
|
+
cand --env 'development or production (default: $SSQCH_ENV, $NODE_ENV, then production for `build` and development for `serve`)'
|
|
174
|
+
cand --offline 'Don''t use the network: `fetch()` answers from the copies its `cache` option saved'
|
|
175
|
+
cand -q 'Print only warnings and errors'
|
|
176
|
+
cand --quiet 'Print only warnings and errors'
|
|
177
|
+
cand -v 'Also list the slowest images to encode'
|
|
178
|
+
cand --verbose 'Also list the slowest images to encode'
|
|
179
|
+
cand -h 'Print help'
|
|
180
|
+
cand --help 'Print help'
|
|
181
|
+
}
|
|
182
|
+
&'ssqch;types'= {
|
|
183
|
+
cand --out 'Where to write it'
|
|
184
|
+
cand --root 'Project root (defaults to the current directory)'
|
|
185
|
+
cand -o 'Override the output directory (relative to the root)'
|
|
186
|
+
cand --output 'Override the output directory (relative to the root)'
|
|
187
|
+
cand --base 'Serve the site under a path, like /repo/ (overrides the config''s `base`)'
|
|
188
|
+
cand --env 'development or production (default: $SSQCH_ENV, $NODE_ENV, then production for `build` and development for `serve`)'
|
|
189
|
+
cand --offline 'Don''t use the network: `fetch()` answers from the copies its `cache` option saved'
|
|
190
|
+
cand -q 'Print only warnings and errors'
|
|
191
|
+
cand --quiet 'Print only warnings and errors'
|
|
192
|
+
cand -v 'Also list the slowest images to encode'
|
|
193
|
+
cand --verbose 'Also list the slowest images to encode'
|
|
194
|
+
cand -h 'Print help'
|
|
195
|
+
cand --help 'Print help'
|
|
196
|
+
}
|
|
197
|
+
&'ssqch;import'= {
|
|
198
|
+
cand --root 'Project root (defaults to the current directory)'
|
|
199
|
+
cand -o 'Override the output directory (relative to the root)'
|
|
200
|
+
cand --output 'Override the output directory (relative to the root)'
|
|
201
|
+
cand --base 'Serve the site under a path, like /repo/ (overrides the config''s `base`)'
|
|
202
|
+
cand --env 'development or production (default: $SSQCH_ENV, $NODE_ENV, then production for `build` and development for `serve`)'
|
|
203
|
+
cand --write 'Make the changes (without it, only list them)'
|
|
204
|
+
cand --offline 'Don''t use the network: `fetch()` answers from the copies its `cache` option saved'
|
|
205
|
+
cand -q 'Print only warnings and errors'
|
|
206
|
+
cand --quiet 'Print only warnings and errors'
|
|
207
|
+
cand -v 'Also list the slowest images to encode'
|
|
208
|
+
cand --verbose 'Also list the slowest images to encode'
|
|
209
|
+
cand -h 'Print help'
|
|
210
|
+
cand --help 'Print help'
|
|
211
|
+
}
|
|
212
|
+
&'ssqch;capabilities'= {
|
|
213
|
+
cand --format 'text or json'
|
|
214
|
+
cand --root 'Project root (defaults to the current directory)'
|
|
215
|
+
cand -o 'Override the output directory (relative to the root)'
|
|
216
|
+
cand --output 'Override the output directory (relative to the root)'
|
|
217
|
+
cand --base 'Serve the site under a path, like /repo/ (overrides the config''s `base`)'
|
|
218
|
+
cand --env 'development or production (default: $SSQCH_ENV, $NODE_ENV, then production for `build` and development for `serve`)'
|
|
219
|
+
cand --offline 'Don''t use the network: `fetch()` answers from the copies its `cache` option saved'
|
|
220
|
+
cand -q 'Print only warnings and errors'
|
|
221
|
+
cand --quiet 'Print only warnings and errors'
|
|
222
|
+
cand -v 'Also list the slowest images to encode'
|
|
223
|
+
cand --verbose 'Also list the slowest images to encode'
|
|
224
|
+
cand -h 'Print help'
|
|
225
|
+
cand --help 'Print help'
|
|
226
|
+
}
|
|
227
|
+
&'ssqch;docs'= {
|
|
228
|
+
cand --from 'Another generator''s words and ssqch''s names for them: eleventy, hugo, jekyll, zola, ...'
|
|
229
|
+
cand --format 'text or json'
|
|
230
|
+
cand --root 'Project root (defaults to the current directory)'
|
|
231
|
+
cand -o 'Override the output directory (relative to the root)'
|
|
232
|
+
cand --output 'Override the output directory (relative to the root)'
|
|
233
|
+
cand --base 'Serve the site under a path, like /repo/ (overrides the config''s `base`)'
|
|
234
|
+
cand --env 'development or production (default: $SSQCH_ENV, $NODE_ENV, then production for `build` and development for `serve`)'
|
|
235
|
+
cand --offline 'Don''t use the network: `fetch()` answers from the copies its `cache` option saved'
|
|
236
|
+
cand -q 'Print only warnings and errors'
|
|
237
|
+
cand --quiet 'Print only warnings and errors'
|
|
238
|
+
cand -v 'Also list the slowest images to encode'
|
|
239
|
+
cand --verbose 'Also list the slowest images to encode'
|
|
240
|
+
cand -h 'Print help'
|
|
241
|
+
cand --help 'Print help'
|
|
242
|
+
}
|
|
243
|
+
&'ssqch;help'= {
|
|
244
|
+
cand build 'Build the site (default)'
|
|
245
|
+
cand serve 'Build, serve, watch for changes and live-reload the browser'
|
|
246
|
+
cand new 'Create a page from a blueprint (a file in _blueprints/), with its title and date filled in'
|
|
247
|
+
cand inspect 'Show where a page comes from, and which level of the data cascade set each value'
|
|
248
|
+
cand completions 'Print a completion script for your shell, so Tab finishes commands and options'
|
|
249
|
+
cand diff 'Compare two builds of a site: URLs added and removed, and what changed on each page'
|
|
250
|
+
cand footprint 'Show how much a build weighs: its files by kind, and the heaviest pages and files'
|
|
251
|
+
cand init 'Create a starter site (config, layout, five posts, data and editor types)'
|
|
252
|
+
cand types 'Write ssqch.d.ts, the types editors use for ssqch.config.js'
|
|
253
|
+
cand import 'Move a site from another generator: rename and rewrite what''s mechanical, and list the rest'
|
|
254
|
+
cand capabilities 'Say what this binary supports: template languages, modules, config options and optional features'
|
|
255
|
+
cand docs 'Read the documentation for this version: a command, config option, function or topic'
|
|
256
|
+
cand help 'Print this message or the help of the given subcommand(s)'
|
|
257
|
+
}
|
|
258
|
+
&'ssqch;help;build'= {
|
|
259
|
+
}
|
|
260
|
+
&'ssqch;help;serve'= {
|
|
261
|
+
}
|
|
262
|
+
&'ssqch;help;new'= {
|
|
263
|
+
}
|
|
264
|
+
&'ssqch;help;inspect'= {
|
|
265
|
+
}
|
|
266
|
+
&'ssqch;help;completions'= {
|
|
267
|
+
}
|
|
268
|
+
&'ssqch;help;diff'= {
|
|
269
|
+
}
|
|
270
|
+
&'ssqch;help;footprint'= {
|
|
271
|
+
}
|
|
272
|
+
&'ssqch;help;init'= {
|
|
273
|
+
}
|
|
274
|
+
&'ssqch;help;types'= {
|
|
275
|
+
}
|
|
276
|
+
&'ssqch;help;import'= {
|
|
277
|
+
}
|
|
278
|
+
&'ssqch;help;capabilities'= {
|
|
279
|
+
}
|
|
280
|
+
&'ssqch;help;docs'= {
|
|
281
|
+
}
|
|
282
|
+
&'ssqch;help;help'= {
|
|
283
|
+
}
|
|
284
|
+
]
|
|
285
|
+
$completions[$command]
|
|
286
|
+
}
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
# Print an optspec for argparse to handle cmd's options that are independent of any subcommand.
|
|
2
|
+
function __fish_ssqch_global_optspecs
|
|
3
|
+
string join \n root= o/output= base= offline env= q/quiet v/verbose h/help V/version
|
|
4
|
+
end
|
|
5
|
+
|
|
6
|
+
function __fish_ssqch_needs_command
|
|
7
|
+
# Figure out if the current invocation already has a command.
|
|
8
|
+
set -l cmd (commandline -opc)
|
|
9
|
+
set -e cmd[1]
|
|
10
|
+
argparse -s (__fish_ssqch_global_optspecs) -- $cmd 2>/dev/null
|
|
11
|
+
or return
|
|
12
|
+
if set -q argv[1]
|
|
13
|
+
# Also print the command, so this can be used to figure out what it is.
|
|
14
|
+
echo $argv[1]
|
|
15
|
+
return 1
|
|
16
|
+
end
|
|
17
|
+
return 0
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
function __fish_ssqch_using_subcommand
|
|
21
|
+
set -l cmd (__fish_ssqch_needs_command)
|
|
22
|
+
test -z "$cmd"
|
|
23
|
+
and return 1
|
|
24
|
+
contains -- $cmd[1] $argv
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
complete -c ssqch -n "__fish_ssqch_needs_command" -l root -d 'Project root (defaults to the current directory)' -r -F
|
|
28
|
+
complete -c ssqch -n "__fish_ssqch_needs_command" -s o -l output -d 'Override the output directory (relative to the root)' -r -F
|
|
29
|
+
complete -c ssqch -n "__fish_ssqch_needs_command" -l base -d 'Serve the site under a path, like /repo/ (overrides the config\'s `base`)' -r
|
|
30
|
+
complete -c ssqch -n "__fish_ssqch_needs_command" -l env -d 'development or production (default: $SSQCH_ENV, $NODE_ENV, then production for `build` and development for `serve`)' -r
|
|
31
|
+
complete -c ssqch -n "__fish_ssqch_needs_command" -l offline -d 'Don\'t use the network: `fetch()` answers from the copies its `cache` option saved'
|
|
32
|
+
complete -c ssqch -n "__fish_ssqch_needs_command" -s q -l quiet -d 'Print only warnings and errors'
|
|
33
|
+
complete -c ssqch -n "__fish_ssqch_needs_command" -s v -l verbose -d 'Also list the slowest images to encode'
|
|
34
|
+
complete -c ssqch -n "__fish_ssqch_needs_command" -s h -l help -d 'Print help'
|
|
35
|
+
complete -c ssqch -n "__fish_ssqch_needs_command" -s V -l version -d 'Print version'
|
|
36
|
+
complete -c ssqch -n "__fish_ssqch_needs_command" -f -a "build" -d 'Build the site (default)'
|
|
37
|
+
complete -c ssqch -n "__fish_ssqch_needs_command" -f -a "serve" -d 'Build, serve, watch for changes and live-reload the browser'
|
|
38
|
+
complete -c ssqch -n "__fish_ssqch_needs_command" -f -a "new" -d 'Create a page from a blueprint (a file in _blueprints/), with its title and date filled in'
|
|
39
|
+
complete -c ssqch -n "__fish_ssqch_needs_command" -f -a "inspect" -d 'Show where a page comes from, and which level of the data cascade set each value'
|
|
40
|
+
complete -c ssqch -n "__fish_ssqch_needs_command" -f -a "completions" -d 'Print a completion script for your shell, so Tab finishes commands and options'
|
|
41
|
+
complete -c ssqch -n "__fish_ssqch_needs_command" -f -a "diff" -d 'Compare two builds of a site: URLs added and removed, and what changed on each page'
|
|
42
|
+
complete -c ssqch -n "__fish_ssqch_needs_command" -f -a "footprint" -d 'Show how much a build weighs: its files by kind, and the heaviest pages and files'
|
|
43
|
+
complete -c ssqch -n "__fish_ssqch_needs_command" -f -a "init" -d 'Create a starter site (config, layout, five posts, data and editor types)'
|
|
44
|
+
complete -c ssqch -n "__fish_ssqch_needs_command" -f -a "types" -d 'Write ssqch.d.ts, the types editors use for ssqch.config.js'
|
|
45
|
+
complete -c ssqch -n "__fish_ssqch_needs_command" -f -a "import" -d 'Move a site from another generator: rename and rewrite what\'s mechanical, and list the rest'
|
|
46
|
+
complete -c ssqch -n "__fish_ssqch_needs_command" -f -a "capabilities" -d 'Say what this binary supports: template languages, modules, config options and optional features'
|
|
47
|
+
complete -c ssqch -n "__fish_ssqch_needs_command" -f -a "docs" -d 'Read the documentation for this version: a command, config option, function or topic'
|
|
48
|
+
complete -c ssqch -n "__fish_ssqch_needs_command" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
|
|
49
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand build" -l format -d 'text or json' -r
|
|
50
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand build" -l root -d 'Project root (defaults to the current directory)' -r -F
|
|
51
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand build" -s o -l output -d 'Override the output directory (relative to the root)' -r -F
|
|
52
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand build" -l base -d 'Serve the site under a path, like /repo/ (overrides the config\'s `base`)' -r
|
|
53
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand build" -l env -d 'development or production (default: $SSQCH_ENV, $NODE_ENV, then production for `build` and development for `serve`)' -r
|
|
54
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand build" -l offline -d 'Don\'t use the network: `fetch()` answers from the copies its `cache` option saved'
|
|
55
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand build" -s q -l quiet -d 'Print only warnings and errors'
|
|
56
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand build" -s v -l verbose -d 'Also list the slowest images to encode'
|
|
57
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand build" -s h -l help -d 'Print help'
|
|
58
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand serve" -s p -l port -d 'The port to listen on (0 picks a free one)' -r
|
|
59
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand serve" -l ready-file -d 'Write this file once the first build is done: JSON with the url, port and output folder' -r -F
|
|
60
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand serve" -l root -d 'Project root (defaults to the current directory)' -r -F
|
|
61
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand serve" -s o -l output -d 'Override the output directory (relative to the root)' -r -F
|
|
62
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand serve" -l base -d 'Serve the site under a path, like /repo/ (overrides the config\'s `base`)' -r
|
|
63
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand serve" -l env -d 'development or production (default: $SSQCH_ENV, $NODE_ENV, then production for `build` and development for `serve`)' -r
|
|
64
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand serve" -l built -d 'Serve the output folder as it was built: no build, no watching, no reload script, gzip on'
|
|
65
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand serve" -l offline -d 'Don\'t use the network: `fetch()` answers from the copies its `cache` option saved'
|
|
66
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand serve" -s q -l quiet -d 'Print only warnings and errors'
|
|
67
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand serve" -s v -l verbose -d 'Also list the slowest images to encode'
|
|
68
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand serve" -s h -l help -d 'Print help'
|
|
69
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand new" -l title -d 'The page\'s title (default: from the file\'s name)' -r
|
|
70
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand new" -l date -d 'The page\'s date, as it\'s written in front matter (default: today)' -r
|
|
71
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand new" -l blueprint -d 'The blueprint to use (default: the page\'s folder, then `default`)' -r
|
|
72
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand new" -l set -d 'Another front matter key, with its value as it\'s written there (repeatable)' -r
|
|
73
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand new" -l format -d 'text or json' -r
|
|
74
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand new" -l root -d 'Project root (defaults to the current directory)' -r -F
|
|
75
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand new" -s o -l output -d 'Override the output directory (relative to the root)' -r -F
|
|
76
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand new" -l base -d 'Serve the site under a path, like /repo/ (overrides the config\'s `base`)' -r
|
|
77
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand new" -l env -d 'development or production (default: $SSQCH_ENV, $NODE_ENV, then production for `build` and development for `serve`)' -r
|
|
78
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand new" -l offline -d 'Don\'t use the network: `fetch()` answers from the copies its `cache` option saved'
|
|
79
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand new" -s q -l quiet -d 'Print only warnings and errors'
|
|
80
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand new" -s v -l verbose -d 'Also list the slowest images to encode'
|
|
81
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand new" -s h -l help -d 'Print help'
|
|
82
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand inspect" -l field -d 'One field of its data, in full, with every level that set it (a dotted path reaches inside: hero.alt)' -r
|
|
83
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand inspect" -l format -d 'text or json' -r
|
|
84
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand inspect" -l root -d 'Project root (defaults to the current directory)' -r -F
|
|
85
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand inspect" -s o -l output -d 'Override the output directory (relative to the root)' -r -F
|
|
86
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand inspect" -l base -d 'Serve the site under a path, like /repo/ (overrides the config\'s `base`)' -r
|
|
87
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand inspect" -l env -d 'development or production (default: $SSQCH_ENV, $NODE_ENV, then production for `build` and development for `serve`)' -r
|
|
88
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand inspect" -l offline -d 'Don\'t use the network: `fetch()` answers from the copies its `cache` option saved'
|
|
89
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand inspect" -s q -l quiet -d 'Print only warnings and errors'
|
|
90
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand inspect" -s v -l verbose -d 'Also list the slowest images to encode'
|
|
91
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand inspect" -s h -l help -d 'Print help'
|
|
92
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand completions" -l root -d 'Project root (defaults to the current directory)' -r -F
|
|
93
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand completions" -s o -l output -d 'Override the output directory (relative to the root)' -r -F
|
|
94
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand completions" -l base -d 'Serve the site under a path, like /repo/ (overrides the config\'s `base`)' -r
|
|
95
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand completions" -l env -d 'development or production (default: $SSQCH_ENV, $NODE_ENV, then production for `build` and development for `serve`)' -r
|
|
96
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand completions" -l offline -d 'Don\'t use the network: `fetch()` answers from the copies its `cache` option saved'
|
|
97
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand completions" -s q -l quiet -d 'Print only warnings and errors'
|
|
98
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand completions" -s v -l verbose -d 'Also list the slowest images to encode'
|
|
99
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand completions" -s h -l help -d 'Print help'
|
|
100
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand diff" -l ignore -d 'Leave out text matching this regular expression before comparing (repeatable)' -r
|
|
101
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand diff" -l only -d 'Only compare files matching this glob, like \'**/*.html\' (repeatable)' -r
|
|
102
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand diff" -l lines -d 'Changed lines to show for each file (0 for all)' -r
|
|
103
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand diff" -l format -d 'text or json' -r
|
|
104
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand diff" -l root -d 'Project root (defaults to the current directory)' -r -F
|
|
105
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand diff" -s o -l output -d 'Override the output directory (relative to the root)' -r -F
|
|
106
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand diff" -l base -d 'Serve the site under a path, like /repo/ (overrides the config\'s `base`)' -r
|
|
107
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand diff" -l env -d 'development or production (default: $SSQCH_ENV, $NODE_ENV, then production for `build` and development for `serve`)' -r
|
|
108
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand diff" -l exact -d 'Compare bytes: don\'t match fingerprinted files or ignore whitespace'
|
|
109
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand diff" -l offline -d 'Don\'t use the network: `fetch()` answers from the copies its `cache` option saved'
|
|
110
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand diff" -s q -l quiet -d 'Print only warnings and errors'
|
|
111
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand diff" -s v -l verbose -d 'Also list the slowest images to encode'
|
|
112
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand diff" -s h -l help -d 'Print help'
|
|
113
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand footprint" -l top -d 'How many of the heaviest pages and files to list (0 for none)' -r
|
|
114
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand footprint" -l format -d 'text or json' -r
|
|
115
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand footprint" -l root -d 'Project root (defaults to the current directory)' -r -F
|
|
116
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand footprint" -s o -l output -d 'Override the output directory (relative to the root)' -r -F
|
|
117
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand footprint" -l base -d 'Serve the site under a path, like /repo/ (overrides the config\'s `base`)' -r
|
|
118
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand footprint" -l env -d 'development or production (default: $SSQCH_ENV, $NODE_ENV, then production for `build` and development for `serve`)' -r
|
|
119
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand footprint" -l offline -d 'Don\'t use the network: `fetch()` answers from the copies its `cache` option saved'
|
|
120
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand footprint" -s q -l quiet -d 'Print only warnings and errors'
|
|
121
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand footprint" -s v -l verbose -d 'Also list the slowest images to encode'
|
|
122
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand footprint" -s h -l help -d 'Print help'
|
|
123
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand init" -l starter -d 'What to start with: site (a small blog) or docs (documentation with a sidebar, tabs and search)' -r
|
|
124
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand init" -l engine -d 'The template language for the starter\'s layouts and templates: jinja, njk, edge, liquid, hbs or ejs' -r
|
|
125
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand init" -l root -d 'Project root (defaults to the current directory)' -r -F
|
|
126
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand init" -s o -l output -d 'Override the output directory (relative to the root)' -r -F
|
|
127
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand init" -l base -d 'Serve the site under a path, like /repo/ (overrides the config\'s `base`)' -r
|
|
128
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand init" -l env -d 'development or production (default: $SSQCH_ENV, $NODE_ENV, then production for `build` and development for `serve`)' -r
|
|
129
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand init" -l offline -d 'Don\'t use the network: `fetch()` answers from the copies its `cache` option saved'
|
|
130
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand init" -s q -l quiet -d 'Print only warnings and errors'
|
|
131
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand init" -s v -l verbose -d 'Also list the slowest images to encode'
|
|
132
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand init" -s h -l help -d 'Print help'
|
|
133
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand types" -l out -d 'Where to write it' -r
|
|
134
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand types" -l root -d 'Project root (defaults to the current directory)' -r -F
|
|
135
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand types" -s o -l output -d 'Override the output directory (relative to the root)' -r -F
|
|
136
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand types" -l base -d 'Serve the site under a path, like /repo/ (overrides the config\'s `base`)' -r
|
|
137
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand types" -l env -d 'development or production (default: $SSQCH_ENV, $NODE_ENV, then production for `build` and development for `serve`)' -r
|
|
138
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand types" -l offline -d 'Don\'t use the network: `fetch()` answers from the copies its `cache` option saved'
|
|
139
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand types" -s q -l quiet -d 'Print only warnings and errors'
|
|
140
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand types" -s v -l verbose -d 'Also list the slowest images to encode'
|
|
141
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand types" -s h -l help -d 'Print help'
|
|
142
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand import" -l root -d 'Project root (defaults to the current directory)' -r -F
|
|
143
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand import" -s o -l output -d 'Override the output directory (relative to the root)' -r -F
|
|
144
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand import" -l base -d 'Serve the site under a path, like /repo/ (overrides the config\'s `base`)' -r
|
|
145
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand import" -l env -d 'development or production (default: $SSQCH_ENV, $NODE_ENV, then production for `build` and development for `serve`)' -r
|
|
146
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand import" -l write -d 'Make the changes (without it, only list them)'
|
|
147
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand import" -l offline -d 'Don\'t use the network: `fetch()` answers from the copies its `cache` option saved'
|
|
148
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand import" -s q -l quiet -d 'Print only warnings and errors'
|
|
149
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand import" -s v -l verbose -d 'Also list the slowest images to encode'
|
|
150
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand import" -s h -l help -d 'Print help'
|
|
151
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand capabilities" -l format -d 'text or json' -r
|
|
152
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand capabilities" -l root -d 'Project root (defaults to the current directory)' -r -F
|
|
153
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand capabilities" -s o -l output -d 'Override the output directory (relative to the root)' -r -F
|
|
154
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand capabilities" -l base -d 'Serve the site under a path, like /repo/ (overrides the config\'s `base`)' -r
|
|
155
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand capabilities" -l env -d 'development or production (default: $SSQCH_ENV, $NODE_ENV, then production for `build` and development for `serve`)' -r
|
|
156
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand capabilities" -l offline -d 'Don\'t use the network: `fetch()` answers from the copies its `cache` option saved'
|
|
157
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand capabilities" -s q -l quiet -d 'Print only warnings and errors'
|
|
158
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand capabilities" -s v -l verbose -d 'Also list the slowest images to encode'
|
|
159
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand capabilities" -s h -l help -d 'Print help'
|
|
160
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand docs" -l from -d 'Another generator\'s words and ssqch\'s names for them: eleventy, hugo, jekyll, zola, ...' -r
|
|
161
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand docs" -l format -d 'text or json' -r
|
|
162
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand docs" -l root -d 'Project root (defaults to the current directory)' -r -F
|
|
163
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand docs" -s o -l output -d 'Override the output directory (relative to the root)' -r -F
|
|
164
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand docs" -l base -d 'Serve the site under a path, like /repo/ (overrides the config\'s `base`)' -r
|
|
165
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand docs" -l env -d 'development or production (default: $SSQCH_ENV, $NODE_ENV, then production for `build` and development for `serve`)' -r
|
|
166
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand docs" -l offline -d 'Don\'t use the network: `fetch()` answers from the copies its `cache` option saved'
|
|
167
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand docs" -s q -l quiet -d 'Print only warnings and errors'
|
|
168
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand docs" -s v -l verbose -d 'Also list the slowest images to encode'
|
|
169
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand docs" -s h -l help -d 'Print help'
|
|
170
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand help; and not __fish_seen_subcommand_from build serve new inspect completions diff footprint init types import capabilities docs help" -f -a "build" -d 'Build the site (default)'
|
|
171
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand help; and not __fish_seen_subcommand_from build serve new inspect completions diff footprint init types import capabilities docs help" -f -a "serve" -d 'Build, serve, watch for changes and live-reload the browser'
|
|
172
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand help; and not __fish_seen_subcommand_from build serve new inspect completions diff footprint init types import capabilities docs help" -f -a "new" -d 'Create a page from a blueprint (a file in _blueprints/), with its title and date filled in'
|
|
173
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand help; and not __fish_seen_subcommand_from build serve new inspect completions diff footprint init types import capabilities docs help" -f -a "inspect" -d 'Show where a page comes from, and which level of the data cascade set each value'
|
|
174
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand help; and not __fish_seen_subcommand_from build serve new inspect completions diff footprint init types import capabilities docs help" -f -a "completions" -d 'Print a completion script for your shell, so Tab finishes commands and options'
|
|
175
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand help; and not __fish_seen_subcommand_from build serve new inspect completions diff footprint init types import capabilities docs help" -f -a "diff" -d 'Compare two builds of a site: URLs added and removed, and what changed on each page'
|
|
176
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand help; and not __fish_seen_subcommand_from build serve new inspect completions diff footprint init types import capabilities docs help" -f -a "footprint" -d 'Show how much a build weighs: its files by kind, and the heaviest pages and files'
|
|
177
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand help; and not __fish_seen_subcommand_from build serve new inspect completions diff footprint init types import capabilities docs help" -f -a "init" -d 'Create a starter site (config, layout, five posts, data and editor types)'
|
|
178
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand help; and not __fish_seen_subcommand_from build serve new inspect completions diff footprint init types import capabilities docs help" -f -a "types" -d 'Write ssqch.d.ts, the types editors use for ssqch.config.js'
|
|
179
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand help; and not __fish_seen_subcommand_from build serve new inspect completions diff footprint init types import capabilities docs help" -f -a "import" -d 'Move a site from another generator: rename and rewrite what\'s mechanical, and list the rest'
|
|
180
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand help; and not __fish_seen_subcommand_from build serve new inspect completions diff footprint init types import capabilities docs help" -f -a "capabilities" -d 'Say what this binary supports: template languages, modules, config options and optional features'
|
|
181
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand help; and not __fish_seen_subcommand_from build serve new inspect completions diff footprint init types import capabilities docs help" -f -a "docs" -d 'Read the documentation for this version: a command, config option, function or topic'
|
|
182
|
+
complete -c ssqch -n "__fish_ssqch_using_subcommand help; and not __fish_seen_subcommand_from build serve new inspect completions diff footprint init types import capabilities docs help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
|