« get me outta code hell

write: implement repl as proper build mode - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/upd8.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-01-09 11:32:43 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-01-09 11:32:43 -0400
commit3a205843397b6b4ef86d3e1ab07d93251c90e81f (patch)
tree26af056134294a748d2d08af106eb10e1487dc70 /src/upd8.js
parentd3930822b87e01ae85bbc7e1f3f2598d8f680187 (diff)
write: implement repl as proper build mode
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-xsrc/upd8.js24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/upd8.js b/src/upd8.js
index 5b6b440..17c4d36 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -43,7 +43,6 @@ import {displayCompositeCacheAnalysis} from '#composite';
 import {processLanguageFile, watchLanguageFile, internalDefaultStringsFile}
   from '#language';
 import {isMain, traverse} from '#node-utils';
-import bootRepl from '#repl';
 import {empty, showAggregate, withEntries} from '#sugar';
 import {generateURLs, urlSpec} from '#urls';
 import {sortByName} from '#wiki-data';
@@ -250,16 +249,6 @@ async function main() {
       type: 'value',
     },
 
-    'repl': {
-      help: `Boot into the HSMusic REPL for command-line interactive access to data objects`,
-      type: 'flag',
-    },
-
-    'no-repl-history': {
-      help: `Disable locally logging commands entered into the REPL in your home directory`,
-      type: 'flag',
-    },
-
     'skip-reference-validation': {
       help: `Skips checking and reporting reference errors, which speeds up the build but may silently allow erroneous data to pass through`,
       type: 'flag',
@@ -481,9 +470,6 @@ async function main() {
 
   showStepStatusSummary = cliOptions['show-step-summary'] ?? false;
 
-  const replFlag = cliOptions['repl'] ?? false;
-  const disableReplHistory = cliOptions['no-repl-history'] ?? false;
-
   const showAggregateTraces = cliOptions['show-traces'] ?? false;
 
   const precacheMode = cliOptions['precache-mode'] ?? 'common';
@@ -508,16 +494,6 @@ async function main() {
     return false;
   }
 
-  if (replFlag) {
-    return bootRepl({
-      dataPath,
-      mediaPath,
-
-      disableHistory: disableReplHistory,
-      showTraces: showAggregateTraces,
-    });
-  }
-
   if (cliOptions['no-build']) {
     logInfo`Won't generate any site or page files this run (--no-build passed).`;