From 4d1d23bea4603403bdf9b2dbd5e2fee30f358b6c Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 6 Feb 2021 13:33:25 -0400 Subject: tidy code comments for constants & cli args --- upd8.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'upd8.js') diff --git a/upd8.js b/upd8.js index a837bef..26416b7 100755 --- a/upd8.js +++ b/upd8.js @@ -3889,14 +3889,26 @@ function classes(...args) { async function main() { const miscOptions = await parseOptions(process.argv.slice(2), { + // Data files for the site, including flash, artist, and al8um data, + // and like a jillion other things too. Pretty much everything which + // makes an individual wiki what it is goes here! 'data': { type: 'value' }, + // Static media will 8e referenced in the site here! The contents are + // categorized; check out MEDIA_DIRECTORY and rel8ted constants in + // common/common.js. (This gets symlinked into the --data directory.) 'media': { type: 'value' }, + // This is the output directory. It's the one you'll upload online with + // rsync or whatever when you're pushing an upd8, and also the one + // you'd archive if you wanted to make a 8ackup of the whole dang + // site. Just keep in mind that the gener8ted result will contain a + // couple symlinked directories, so if you're uploading, you're pro8a8ly + // gonna want to resolve those yourself. 'out': { type: 'value' }, -- cgit 1.3.0-6-gf8a5