How to use the uid function from commander

Find comprehensive JavaScript commander.uid code examples handpicked from public code repositorys.

102
103
104
105
106
107
108
109
110
111
if (program.bookmark) await pixiv.downloadBookmark();
if (program.bookmarkPrivate) await pixiv.downloadBookmark(true);

if (program.uid) {
  // 得到UID
  let uids = program.uid;
  if (typeof uids == 'string') {
    uids = uids.split(',');
    await pixiv.downloadByUIDs(uids);
  } else help();
fork icon81
star icon712
watch icon16

Other functions in commander

Sorted by popularity

function icon

commander.Option is the most popular function in commander (1786 examples)