Reworked the systems handling and caching with sqlite
This commit is contained in:
parent
afe2db8a35
commit
61b5c8493e
4 changed files with 129 additions and 46 deletions
7
main.js
7
main.js
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue