Skip to content
Snippets Groups Projects
Commit 19300ca6 authored by syuilo's avatar syuilo
Browse files

Add new cli tool

parent 2f3d744e
No related branches found
No related tags found
No related merge requests found
const updatePerson = require('../built/remote/activitypub/models/person').updatePerson;
const args = process.argv.slice(2);
const user = args[0];
console.log(`Updating ${user}...`);
updatePerson(user).then(() => {
console.log(`Updated ${user}`);
}, e => {
console.error(e);
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment