All Versions
16
Latest Version
Avg Release Cycle
123 days
Latest Release
885 days ago

Changelog History
Page 2

  • v4.0.1

    April 25, 2018
  • v4.0.0 Changes

    November 26, 2017

    ๐Ÿฑ Meow 4 is finally out โœจ

    Highlights

    • Requires Node.js 4 or higher.
    • ๐Ÿ”„ Changed how minimist options are specified. (See more below) 43401c3 554119b
    • 0๏ธโƒฃ Disabled type inference by default. It can lead to some surprising behavior. Can be enabled again with the inferType option. 1662881
    • โœ‚ Removed support for using an array in the help option. Just use a template literal. c80321d
    • โœ‚ Removed support for the pkg option accepting a string. 2d4d890
    • โœ‚ Removed support for setting the help and version options to false. Instead, use the new autoHelp and autoVersion options. 59dda7a
    • ๐Ÿ‘‰ Uses exit code 2 when manually calling cli.showHelp() now. 6a32bbc

    v3.7.0...v4.0.0

    ๐Ÿ”„ Changed how minimist options are specified

    In Meow v3 you specified minimist options top-level just like documented in the minimist readme. Now you specify them in a flags option, grouped by flag name instead of option type.

    Before

    const cli = meow( ` Help text`, { boolean: ['unicorn'], string: ['fooBar'], alias: { u: 'unicorn' }, default: { foobar: 'foo' } } });
    

    After

    const cli = meow( ` Help text`, flags: { unicorn: { type: 'boolean', alias: 'u' }, fooBar: { type: 'string', default: 'foo' } } });
    

    ๐Ÿ“œ I would strongly recommend specifying the type property whenever possible to reduce CLI argument parsing ambiguity.

  • v3.7.0

    January 04, 2016
  • v3.6.0

    November 15, 2015
  • v3.5.0

    October 30, 2015
  • v3.4.2

    October 07, 2015