All files / check-installed/lib constants.js

100% Statements 3/3
100% Branches 0/0
100% Functions 0/0
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34      3x                                 3x                 3x        
/**
 * Help text for the CLI
 */
const HELP = `
Usage: check-installed [options]
 
Options:
  --help          Show help (skips check)
  --skip-engines  Skip checking engines
  --skip-modules  Skip checking node modules
  --show-success  Show success message on successful checks
  --show-engines  Show installed engines on successful check
  --show-modules  Show installed node modules on successful check
 
See https://www.npmjs.com/package/check-installed
`.trim()
 
/**
 * Default options for the CLI
 */
const OPTIONS = {
  help: false,
  skipEngines: false,
  skipModules: false,
  showSuccess: false,
  showEngines: false,
  showModules: false
}
 
module.exports = {
  HELP,
  OPTIONS
}