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.5.4 Latest Release

Published by github-actions[bot] 7 months ago

[4.5.4] - 2024-03-25

Fixes

  • (derive) Allow non-literal #[arg(id)] attributes again
clap - v4.5.3

Published by github-actions[bot] 7 months ago

[4.5.3] - 2024-03-15

Internal

  • (derive) Update heck
clap - v4.5.2

Published by github-actions[bot] 8 months ago

[4.5.2] - 2024-03-06

Fixes

  • (macros) Silence a warning
clap -

Published by epage 8 months ago

clap - v4.5.1

Published by github-actions[bot] 8 months ago

[4.5.1] - 2024-02-16

Fixes

  • (error) Include suggestion to add -- even if there is a "did you mean" so long as last or trailing_var_arg is used
clap - v4.4.18

Published by github-actions[bot] 9 months ago

[4.4.18] - 2024-01-16

Fixes

  • (error) When lacking usage feature, ensure the list of required arguments is unique
clap - v4.4.17

Published by github-actions[bot] 9 months ago

[4.4.17] - 2024-01-15

Fixes

  • Fix panic! when mixing args_conflicts_with_subcommands with ArgGroup (which is implicit with derive) introduced in 4.4.15
clap - v4.4.16

Published by github-actions[bot] 9 months ago

[4.4.16] - 2024-01-12

Fixes

  • Ensure invalid escape sequences in user-defined strings are correctly stripped when terminal doesn't support color
clap - v4.4.15

Published by github-actions[bot] 9 months ago

[4.4.15] - 2024-01-11

Fixes

  • Improve error for args_conflicts_with_subcommands
  • Ensure we error for args_conflicts_with_subcommands when using subcommand short and long flags
clap - v4.4.14

Published by github-actions[bot] 9 months ago

[4.4.14] - 2024-01-08

Documentation

  • Fix find cookbook entry to allow repeats of flags/options

Features

  • Allow num_args(0) on options which allows making them emulate being a flag for position-tracking flags
clap - v4.4.13

Published by github-actions[bot] 10 months ago

[4.4.13] - 2024-01-04

Documentation

  • Fix link to structopt migration guide
clap - v4.4.12

Published by github-actions[bot] 10 months ago

[4.4.12] - 2023-12-28

Performance

  • Only ask TypedValueParser for possible values if needed
clap - v4.4.11

Published by github-actions[bot] 11 months ago

[4.4.11] - 2023-12-04

Features

  • Add Command::mut_group
clap - v4.4.10

Published by github-actions[bot] 11 months ago

[4.4.10] - 2023-11-28

Documentation

  • Link out to changelog
  • Cross link derive's attribute reference to derive tutorial
clap - v4.4.9

Published by github-actions[bot] 11 months ago

[4.4.9] - 2023-11-27

Fixes

  • (help) Show correct Command::about under flattened headings
  • (help) Respect hide when flattening subcommands
clap - v4.4.8

Published by github-actions[bot] 11 months ago

[4.4.8] - 2023-11-10

Features

  • Add Command::flatten_help to allow git stash -h like help for subcommands
clap - v4.4.6

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

[4.4.6] - 2023-09-28

Internal

  • Upgrade anstream
clap - v4.4.5

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

[4.4.5] - 2023-09-25

Fixes

  • (parser) When inferring subcommand name or long_flag, allow ambiguous-looking matches that unambiguously map back to the same command
  • (parser) When inferring subcommand long_flag, don't panic
  • (assert) Clarify what action is causing a positional that doesn't set values which is especially useful for derive users
clap - v4.4.4

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

[4.4.4] - 2023-09-18

Internal

  • Update terminal_size to 0.3
clap - v4.4.3

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

[4.4.3] - 2023-09-12

Documentation

  • (derive) Clarify use of attributes within the tutorial
  • Split sections in the builder and derive tutorials into separate modules