This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
const log = (...a) => console.error(...a) | |
const sleep = async (ms) => new Promise(res => setTimeout(res, ms)) | |
const logUpdate = require('log-update').create(process.stderr, {showCursor: false}) | |
const readJson = require('load-json-file') | |
const writeJson = require('write-json-file') | |
const inquirer = require('inquirer') | |
const clipboardy = require('clipboardy') |