mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-04-26 01:24:59 +02:00
* feat(forecast): add queued deep forecast search * test(forecast): cover deep path scoring
14 lines
377 B
JavaScript
14 lines
377 B
JavaScript
#!/usr/bin/env node
|
|
|
|
import { loadEnvFile } from './_seed-utils.mjs';
|
|
import { runDeepForecastWorker } from './seed-forecasts.mjs';
|
|
|
|
loadEnvFile(import.meta.url);
|
|
|
|
const once = process.argv.includes('--once');
|
|
|
|
const result = await runDeepForecastWorker({ once });
|
|
if (once && result?.status && result.status !== 'idle') {
|
|
console.log(` [DeepForecast] ${result.status}`);
|
|
}
|