clap

A full featured, fast Command Line Argument Parser for Rust

APACHE-2.0 License

Downloads
712.3M
Stars
13.4K
Committers
524

Bot releases are visible (Hide)

clap - v4.4.2

Published by github-actions[bot] about 1 year ago

[4.4.2] - 2023-08-31

Performance

  • Improve build times by removing once_cell dependency
clap - v4.4.1

Published by github-actions[bot] about 1 year ago

[4.4.1] - 2023-08-28

Features

  • Stabilize Command::styles
clap - v4.3.24

Published by github-actions[bot] about 1 year ago

[4.3.24] - 2023-08-23

Fixes

  • Ensure column padding is preserved in --help with custom templates
clap - v4.3.23

Published by github-actions[bot] about 1 year ago

[4.3.23] - 2023-08-18

Fixes

  • Fixed UnknownArgumentValueParser to not error on flag's absence
clap - v4.3.22

Published by github-actions[bot] about 1 year ago

[4.3.22] - 2023-08-17

Features

  • Add UnknownArgumentValueParser for injecting errors for improving the experience with errors
clap - v4.3.21

Published by github-actions[bot] about 1 year ago

[4.3.21] - 2023-08-08

Features

  • Expose TryMapValueParser so the type can be named
clap - v4.3.20

Published by github-actions[bot] about 1 year ago

[4.3.20] - 2023-08-08

Features

  • Expose TryMapValueParser so the type can be named
  • Command::mut_args for modifying all arguments en masse
clap - v4.3.19

Published by github-actions[bot] about 1 year ago

[4.3.19] - 2023-07-21

Fixes

  • (parse) Respect value_terminator even in the presence of later multiple-value positional arguments
clap - v4.3.18

Published by github-actions[bot] about 1 year ago

[4.3.18] - 2023-07-21

Fixes

  • (parse) Suggest -- in fewer places where it won't work
clap - v4.3.17

Published by github-actions[bot] over 1 year ago

[4.3.17] - 2023-07-19

Fixes

  • (help) Address a regression in wrapping PossibleValue descriptions in --help
clap - v4.3.16

Published by github-actions[bot] over 1 year ago

[4.3.16] - 2023-07-18

Fixes

  • Don't assert when stateful value parsers fail on defaults (e.g. checking if a path exists)
clap - v4.3.15

Published by github-actions[bot] over 1 year ago

[4.3.15] - 2023-07-18

Features

  • (unstable-styles) Re-export anstyle

Documentation

  • (unstable-styles) Provide more examples
clap - v4.3.14

Published by github-actions[bot] over 1 year ago

[4.3.14] - 2023-07-17

Features

  • ArgAction::HelpShort and ArgAction::HelpLong for explicitly specifying which style of help to display

Fixes

  • Skip [OPTIONS] in usage if a help or version ArgAction is used
clap - v4.3.13

Published by github-actions[bot] over 1 year ago

[4.3.13] - 2023-07-17

clap - v4.3.12

Published by github-actions[bot] over 1 year ago

[4.3.12] - 2023-07-14

Fixes

  • (derive) Don't error on enum variant field attributes
clap - v4.3.11

Published by github-actions[bot] over 1 year ago

[4.3.11] - 2023-07-05

Features

  • (derive) Support fields wrapped in num::Wrapping, Box, or Arc
  • (derive) Support Box<str>, Box<OsStr>, and Box<Path>
clap - v4.3.10

Published by github-actions[bot] over 1 year ago

[4.3.10] - 2023-06-30

Performance

  • Drop a dependency, reducing binary size by 1.3 KiB
clap - v4.3.9

Published by github-actions[bot] over 1 year ago

[4.3.9] - 2023-06-28

Fixes

  • Command::ignore_errors no longer masks help/version
clap - v4.3.8

Published by github-actions[bot] over 1 year ago

[4.3.8] - 2023-06-23

Fixes

  • Error on ambiguity with infer_long_arg, rather than arbitrarily picking one, matching the documentation and subcommand's behavior
clap - v4.3.7

Published by github-actions[bot] over 1 year ago

[4.3.7] - 2023-06-23

Documentation

  • Further clarify magic behavior in derive tutorial
  • Further clarify derive API's relationship to builder within the tutorial