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.3.6

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

[4.3.6] - 2023-06-23

Documentation

  • Suggest clio
clap - v4.3.5

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

[4.3.5] - 2023-06-20

  • ColorChoice::possible_values is added to simplify things for builder users

Fixes

  • ColorChoice::to_possible_value no longer includes descriptions, encouraging shorter help where possible
clap - v4.3.4

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

[4.3.4] - 2023-06-14

Features

  • Add Error::exit_code
clap - v4.3.3

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

[4.3.3] - 2023-06-09

Features

  • Command::defer for delayed initialization of subcommands to reduce startup times of large applications like deno
clap - v4.3.2

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

[4.3.2] - 2023-06-05

Fixes

  • (derive) Don't produce unused_equalifications warnings when someone brings a clap type into scope
clap - v4.3.0

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

[4.3.0] - 2023-05-19

Fixes

  • (assert) Allow multiple, value-terminated, positional arguments
  • (assert) Clear up language on last assertion
  • (parser) Correctly assign values to arguments when using multiple, value-termianted, positional arguments
  • (parser) Ensure value_terminator has higher precedence than allow_hyphen_values
  • (help) Only use next-line-help on subcommand list when explicitly specified, not just with --help
  • (help) Correctly align possible values list
  • (help) Don't waste code, vertical space in moving possible value descriptions to next line
clap - v4.2.7

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

[4.2.7] - 2023-05-02

Fixes

  • Correctly track remaining length for iterators provided by ArgMatches
clap - v4.2.6

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

[4.2.6] - 2023-05-02

Features

  • impl Eq<std::any::TypeId> for clap_builder::util::AnyValueId
clap - v4.2.5

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

[4.2.5] - 2023-04-27

Fixes

  • Improve panic when a group requires a non-existent ID
clap - v3.2.25

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

[3.2.25] - 2023-04-27

Fixes

  • (derive) Resolve warnings in generated code
clap - v3.2.24

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

[3.2.24] - 2023-04-25

Fixes

  • (derive) Resolve warnings in generated code
clap - v4.2.4

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

[4.2.4] - 2023-04-19

Documentation

  • Corrected docs for Command::style
clap - v4.2.3

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

[4.2.3] - 2023-04-18

Features

  • Command::styles for theming help/errors (behind unstable-styles)
clap - v4.2.2

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

[4.2.2] - 2023-04-13

Internal

  • Update dependencies
clap - v4.2.1

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

[4.2.1] - 2023-03-28

Fixes

  • Don't highlight uninteresting parts of the error message
clap - v4.2.0

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

[4.2.0] - 2023-03-28

Compatibility

  • Removed the languishing unstable-replace feature (open to discussion at #2836)
  • Removed the stablized unstable-grouped feature

Features

  • Allow any StyledStr to accept text styled with ANSI escape codes
  • Respect CLICOLOR, CLICOLOR_FORCE

Fixes

  • Lighten the tone for "unexpected argument" errors (open to discussion at #4638)
clap - v4.1.14

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

[4.1.14] - 2023-03-28

Features

  • (derive) #[group] raw attribute support

Performance

  • (derive) clap_builder was pulled out of clap so it could build in parallel to clap_derive
  • os_str_bytes dependency was removed for faster builds and smaller binaries
clap - v4.1.13

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

[4.1.13] - 2023-03-18

Performance

  • Reduce repeated alloc calls when building a Command
  • Reduce duplicate dependencies for faster builds
clap - v4.1.12

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

[4.1.12] - 2023-03-18

Internal

  • (derive) Update to syn v2

Performance

  • (derive) Faster build times by dropping proc-macro-error dependency
clap - v4.1.11

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

[4.1.11] - 2023-03-17

Internal

  • Update bitflags