INNER CODE UNIT · JavaScript

printVersion

clinicjs/node-clinic · bin.js:485

function printVersion (version) {
  console.log('v' + version)
}

function printHelp (name, version) {
  const filepath = path.resolve(__dirname, 'docs', name + '.txt')
  const usage = helpFormatter(fs.readFileSync(filepath), version)
  console.log(usage)
}

function checkForUpdates () {
  updateNotifier({
    pkg
  }).notify({
    isGlobal: true,
    defer: false
  })
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…