@tideworthy/tidysites 0.1.22 → 0.1.23
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/bin/tidysites.mjs +1 -1
- package/package.json +1 -1
package/bin/tidysites.mjs
CHANGED
|
@@ -705,7 +705,7 @@ function skillCmd() {
|
|
|
705
705
|
}
|
|
706
706
|
|
|
707
707
|
function help() {
|
|
708
|
-
say(readFileSync(new URL(import.meta.url), 'utf8').split('\n').slice(2,
|
|
708
|
+
say(readFileSync(new URL(import.meta.url), 'utf8').split('\n').slice(2, 21).map((l) => l.replace(/^ \* ?/, '')).join('\n'));
|
|
709
709
|
say(`\nFiles:\n <collection>/<slug>.json { "id", "slug", "status", "updated_at", "data": {...} }; a new entry is a new file with "data"\n <collection>/<slug>.css data.custom_css as a file (rows: data.css); rows/<slug>.html is data.html\n menus/<name>.json a menu as a tree: { label, items: [{ label, url, children: [...] }] }\n ${META}/ config, key, the last pull, the content model, screenshots\n\nA field taken out of a file is cleared on the website at the next push; a file you changed here is never overwritten by a pull.\nImages: an image field or a Columns image slot takes { "$media": { "url": "https://...", "alt": "..." } } (the push fetches it into the library) or { "$media": { "file": "assets/x.png", "alt": "..." } } for a picture that exists only as a file in this folder (the push carries its bytes).\nReferences: a record names another by its id, or "$ref:<slug-or-id>" for one in the same push.`);
|
|
710
710
|
}
|
|
711
711
|
|
package/package.json
CHANGED