1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-12-27 04:15:38 -05:00

Add CLI args to TSClient

This commit is contained in:
toast-ts 2023-12-29 00:28:44 +11:00
parent c8aa7dc022
commit 81914d832e
4 changed files with 7 additions and 21 deletions

15
.pnp.cjs generated
View File

@ -603,7 +603,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/@types-continuation-local-storage-npm-3.2.7-763e4dc12b-1f272b53bc.zip/node_modules/@types/continuation-local-storage/",\
"packageDependencies": [\
["@types/continuation-local-storage", "npm:3.2.7"],\
["@types/node", "npm:20.4.8"]\
["@types/node", "npm:20.10.5"]\
],\
"linkType": "HARD"\
}]\
@ -644,13 +644,6 @@ const RAW_RUNTIME_STATE =
["undici-types", "npm:5.26.5"]\
],\
"linkType": "HARD"\
}],\
["npm:20.4.8", {\
"packageLocation": "./.yarn/cache/@types-node-npm-20.4.8-f8f2d8d349-199b047de6.zip/node_modules/@types/node/",\
"packageDependencies": [\
["@types/node", "npm:20.4.8"]\
],\
"linkType": "HARD"\
}]\
]],\
["@types/node-cron", [\
@ -667,7 +660,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/@types-pg-npm-8.10.9-ee8620c8e7-787be5431a.zip/node_modules/@types/pg/",\
"packageDependencies": [\
["@types/pg", "npm:8.10.9"],\
["@types/node", "npm:20.4.8"],\
["@types/node", "npm:20.10.5"],\
["pg-protocol", "npm:1.6.0"],\
["pg-types", "npm:4.0.1"]\
],\
@ -701,7 +694,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/@types-ws-npm-8.5.9-91d1b2ab07-7cf66383b8.zip/node_modules/@types/ws/",\
"packageDependencies": [\
["@types/ws", "npm:8.5.9"],\
["@types/node", "npm:20.4.8"]\
["@types/node", "npm:20.10.5"]\
],\
"linkType": "HARD"\
}]\
@ -2732,7 +2725,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/wkx-npm-0.5.0-fca5152cd8-b8975e33f9.zip/node_modules/wkx/",\
"packageDependencies": [\
["wkx", "npm:0.5.0"],\
["@types/node", "npm:20.4.8"]\
["@types/node", "npm:20.10.5"]\
],\
"linkType": "HARD"\
}]\

View File

@ -8,7 +8,7 @@
"url": "git+https://github.com/AnxietyisReal/Daggerbot-TS.git"
},
"scripts": {
"dev": "yarn tsc && yarn node . src/DB-Beta.config.json",
"dev": "yarn tsc && yarn node . src/DB-Beta.config.json daggerbotbeta",
"sdk": "yarn dlx @yarnpkg/sdks vscode"
},
"author": "Toast",

View File

@ -1,3 +1,3 @@
import TokenService from '@toast/tokenservice-client';
export default async()=>new TokenService('daggerbot').connect();
export default async()=>new TokenService(process.argv[3] ?? 'daggerbot').connect();

View File

@ -441,14 +441,7 @@ __metadata:
languageName: node
linkType: hard
"@types/node@npm:*":
version: 20.4.8
resolution: "@types/node@npm:20.4.8"
checksum: 199b047de67708c36d4c432d46a6b9ef2cef4bfbf0c0e0b6831aee1a9c071e8430287a7cba18ea3c0b7d0332bc5e69e2bf71ba2da022769990e5551b90a65b18
languageName: node
linkType: hard
"@types/node@npm:20.10.5":
"@types/node@npm:*, @types/node@npm:20.10.5":
version: 20.10.5
resolution: "@types/node@npm:20.10.5"
dependencies: