How to use the pid function from commander
Find comprehensive JavaScript commander.pid code examples handpicked from public code repositorys.
GitHub: Tsuk1ko/pxder
110 111 112 113 114 115 116 117 118 119
await pixiv.downloadByUIDs(uids); } else help(); } if (program.pid) { // 得到PID let pids = program.pid; if (typeof pids == 'string') { pids = pids.split(','); await pixiv.downloadByPIDs(pids); } else help();
81
712
16
35 36 37 38 39 40 41 42 43 44
if (commander.error) appConf['error_file'] = commander.error; if (commander.output) appConf['out_file'] = commander.output; if (commander.pid) appConf['pid_file'] = commander.pid; if (commander.cron) appConf['cron_restart'] = commander.cron; if (commander.executeCommand)
0
0
2
commander.Option is the most popular function in commander (1786 examples)