« get me outta code hell

tidy code comments for constants & cli args - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/upd8.js
diff options
context:
space:
mode:
author(quasar) nebula <towerofnix@gmail.com>2021-02-06 13:33:25 -0400
committer(quasar) nebula <towerofnix@gmail.com>2021-02-06 13:40:39 -0400
commit4d1d23bea4603403bdf9b2dbd5e2fee30f358b6c (patch)
tree797aca86c0f26552dcf52764d42644dc00e2110a /upd8.js
parent32ab33828c3fb3e5b62e811d61b2a6a45c1e1390 (diff)
tidy code comments for constants & cli args
Diffstat (limited to 'upd8.js')
-rwxr-xr-xupd8.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/upd8.js b/upd8.js
index a837bef0..26416b74 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'
         },