Skip to content

Instantly share code, notes, and snippets.

{
"TODO": {
"prefix": "todo",
"body": ["$BLOCK_COMMENT_START TODO: ${0} $BLOCK_COMMENT_END"],
"description": "TODO"
}
}
@ericbolikowski
ericbolikowski / gist:e6a946845053071be6f80447b9c96d4c
Created October 23, 2023 17:01
Query Todoist tasks, then update due-date and not-before-date in bulk
const axios = require('axios');
const readline = require('readline');
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout
});
const question = (prompt) => new Promise((resolve) => rl.question(prompt, resolve));