summaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
authorJulien Dessaux2023-05-26 00:04:16 +0200
committerJulien Dessaux2023-05-26 00:04:16 +0200
commit19107b153e9e3a5e4a758b9db6a867c031467320 (patch)
tree1d45818111db9903f2976ca323357347d1b25a61 /main.js
parentUpdated the lib for the new api (diff)
downloadspacetraders-19107b153e9e3a5e4a758b9db6a867c031467320.tar.gz
spacetraders-19107b153e9e3a5e4a758b9db6a867c031467320.tar.bz2
spacetraders-19107b153e9e3a5e4a758b9db6a867c031467320.zip
Automated the extraction and delivery loop for a ship
Diffstat (limited to '')
-rwxr-xr-xmain.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.js b/main.js
index 1019b87..908a8ba 100755
--- a/main.js
+++ b/main.js
@@ -14,6 +14,8 @@ ships\t\t\tRetrieve all of your ships.`);
}
switch(process.argv[2]) {
+case 'auto':
+ await agent.auto({ship: process.argv[3]});
break;
//case 'deliver':
// agent.deliver({