diff --git a/args.js b/lib/args.js similarity index 100% rename from args.js rename to lib/args.js diff --git a/getUser.js b/lib/dl.js similarity index 100% rename from getUser.js rename to lib/dl.js diff --git a/io.js b/lib/io.js similarity index 100% rename from io.js rename to lib/io.js diff --git a/log.js b/lib/log.js similarity index 100% rename from log.js rename to lib/log.js diff --git a/buildDb.js b/run-buildDb.js similarity index 93% rename from buildDb.js rename to run-buildDb.js index 46fcbc1..d631924 100644 --- a/buildDb.js +++ b/run-buildDb.js @@ -1,8 +1,8 @@ import { readFile } from 'fs/promises'; -import { getArg } from './args.js'; -import { getUser } from './getUser.js'; -import { error, log } from './log.js'; +import { getArg } from './lib/args.js'; +import { getUser } from './lib/dl.js'; +import { error, log } from './lib/log.js'; const ctx = 'buildDb.js'; diff --git a/initDb.js b/run-initDb.js similarity index 81% rename from initDb.js rename to run-initDb.js index 7e16b86..29adb6c 100644 --- a/initDb.js +++ b/run-initDb.js @@ -1,8 +1,8 @@ import { writeFile } from 'fs/promises'; -import { getArg } from './args.js'; -import { getChildren } from './io.js'; -import { error, log } from './log.js'; +import { getArg } from './lib/args.js'; +import { getChildren } from './lib/io.js'; +import { error, log } from './lib/log.js'; const ctx = 'initDb.js';