clap-rs v2.31.2 Release Notes

Release Date: 2018-03-19 // about 6 years ago
  • v2.31.2 (2018-03-19)

    ๐Ÿ› Bug Fixes

    • Fish Completions: fixes a bug that only allowed a single completion in in Fish Shell (e8774a8, closes #1212)
    • ๐Ÿ‘ AllowExternalSubcommands : fixes a bug where external subcommands would be blocked by a similarly named subcomand (suggestions were getting in the way). (a410e85)

    ๐Ÿ“š Documentation

    • ๐Ÿ›  Fixes some typos in the README.md (c8e685d7)

    v2.31.1 (2018-03-06)

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ‘ AllowMissingPositional: improves the ability of AllowMissingPositional to allow 'skipping' to the last positional arg with '--' (df20e6e2)

    v2.31.0 (2018-03-04)

    ๐Ÿ”‹ Features

    • Arg Indices: adds the ability to query argument value indices (f58d0576)
    • Indices: implements an Indices<Item=&usize> iterator (1e67be44)
    • Raw Args adds a convenience function to Arg that allows implying all of Arg::last Arg::allow_hyphen_values and Arg::multiple(true) (66a78f29)

    ๐Ÿ“š Documentation

    ๐Ÿ‘Œ Improvements

    • ๐Ÿš€ Cargo.toml: use codegen-units = 1 in release and bench profiles (19f425ea)
    • โž• Adds WASM support (clap now compiles on WASM!) (689949e5)
    • ๐Ÿ‘‰ Uses the short help tool-tip for PowerShell completion scripts (ecda22ce)