How to use the option function from nomnom

Find comprehensive JavaScript nomnom.option code examples handpicked from public code repositorys.

39
40
41
42
43
44
45
46
47
48
  } else {
    defaultCacheDirectory = path.resolve('/tmp', '.package_cache');
  }
}

parser.option('cacheDirectory', {
  default: defaultCacheDirectory,
  abbr: 'c',
  help: 'directory where dependencies will be cached'
});
fork icon57
star icon168
watch icon10

+ 41 other calls in file