move tools dir into src

This commit is contained in:
syuilo
2021-11-21 13:43:07 +09:00
parent f5bea67515
commit 270df5c5b0
21 changed files with 0 additions and 210 deletions

View File

@@ -0,0 +1,14 @@
import { updateQuestion } from '@/remote/activitypub/models/question';
async function main(uri: string): Promise<any> {
return await updateQuestion(uri);
}
const args = process.argv.slice(2);
const uri = args[0];
main(uri).then(result => {
console.log(`Done: ${result}`);
}).catch(e => {
console.warn(e);
});