yarn yargs 3.0.2
an epilogue for yargs

latest releases: 17.7.2, 17.7.1, 17.7.0...
9 years ago
  • added the command option, which allows you to document the commands that your application accepts:
var argv = require('yargs')
  .command('upgrade', 'upgrade the current version of the application')
  .argv;
  • added the epilogue option, which allows you to specify a final line of text that your application should output. see: #14
  • added the array option (similar to string, or boolean), tells the parser to always interpret a key as an array, even when only a single value is given.
  • version now prints with a newline: see: #81
  • based on @nylen's work, window-size is now detected and is used to wrap usage instructions.
  • .check() will now fail if any non-truthy value is returned. see: #76

Don't miss a new yargs release

NewReleases is sending notifications on new releases.