twdl
Version:
Downloads image and video tweets from Twitter
17 lines • 674 B
JavaScript
import { checkForUpdates, getCommand } from './util.js';
checkForUpdates();
import yargs from 'yargs';
import * as download from './cmds/download.js';
import * as info from './cmds/info.js';
import * as thread from './cmds/thread.js';
global.processStatus = { exitCode: 0 };
yargs(process.argv.slice(2))
.scriptName('twdl')
.command(getCommand(download), download.desc, download.builder, download.handler)
.command(getCommand(info), info.desc, info.builder, info.handler)
.command(getCommand(thread), thread.desc, thread.builder, thread.handler)
.demandCommand()
.help()
.argv;
//# sourceMappingURL=twdl.js.map