1
0
Fork 0

Reworked the systems handling and caching with sqlite

This commit is contained in:
Julien Dessaux 2023-05-31 01:19:31 +02:00
parent afe2db8a35
commit 61b5c8493e
Signed by: adyxax
GPG key ID: F92E51B86E07177E
4 changed files with 129 additions and 46 deletions

View file

@ -109,11 +109,14 @@ default:
case 'systems.shipyards':
api.debugLog(await systems.trait({symbol: process.argv[3], trait: 'SHIPYARD'}));
break;
case 'systems.init':
await systems.init();
break;
case 'systems.system':
api.debugLog(await systems.system({symbol: process.argv[3]}));
break;
case 'systems.systems':
api.debugLog(await systems.systems());
case 'systems.waypoints':
api.debugLog(await systems.waypoints({symbol: process.argv[3]}));
break;
default:
usage();