diff options
Diffstat (limited to 'src/repl.js')
-rw-r--r-- | src/repl.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/repl.js b/src/repl.js index 5a6334a1..bd447bec 100644 --- a/src/repl.js +++ b/src/repl.js @@ -3,32 +3,23 @@ import * as os from 'os'; import * as path from 'path'; import * as repl from 'repl'; -import {fileURLToPath} from 'url'; -import {promisify} from 'util'; import {quickLoadAllFromYAML} from './data/yaml.js'; import {logError, parseOptions} from './util/cli.js'; import {showAggregate} from './util/sugar.js'; -const __dirname = path.dirname(fileURLToPath(import.meta.url)); - async function main() { const miscOptions = await parseOptions(process.argv.slice(2), { 'data-path': { type: 'value', }, - 'show-traces': { - type: 'flag', - }, - 'no-history': { type: 'flag', }, }); const dataPath = miscOptions['data-path'] || process.env.HSMUSIC_DATA; - const showAggregateTraces = miscOptions['show-traces'] ?? false; const disableHistory = miscOptions['no-history'] ?? false; if (!dataPath) { |