Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/clap-rs/clap

A full featured, fast Command Line Argument Parser for Rust
https://github.com/clap-rs/clap

Merge pull request #4026 from epage/require

fix!: Remove `Arg::rwquire_value_delimiter`

dc5ce00162bfcad3cd88a13e54092e36ad9592d1 authored over 2 years ago
Merge pull request #4025 from epage/trailing2

fix(parser)!: Split on value delimiter after validating num_args

5d1ec08199e1a68bea1975d0673c059a493ba2b8 authored over 2 years ago
fix(parser)!: Split on value delimiter after validating num_args

This will allow `num_args(0..=1).value_delimiter(',')` to work properly.

This hacks in support ...

6b3a5bde6dabe97788e7742de7d4028b31d54c2a authored over 2 years ago
Merge pull request #4024 from epage/cleanup

refactor(parser): Prep for more #2688 work

b731b6a82663f67547b49ca7c29d433aa7736395 authored over 2 years ago
fixup! refactor(parser): Clarify where escaping is relevant

53836f583ce9645b07a7c8a6a33802b7261a1272 authored over 2 years ago
Merge pull request #4023 from epage/num_args

fix!: num_args controls user args rather than parsed values

012de8daa2541fd0d8a0962108fa798a0e66c2ed authored over 2 years ago
fix!: Remove `Arg::rwquire_value_delimiter`

In clap v3, `require_value_delimiter` activated an alternative parse
mode where
- `multiple_valu...

85ad452c9b1844d09fd5827c801fdcf14b562831 authored over 2 years ago
refactor(parser): Remove redundant code

69c4628b162d65480d6995166a14106d4cbc6143 authored over 2 years ago
refactor(parser): Clarify where escaping is relevant

deba6bdda5b3d602d1b6fa2ca241135257ab4e45 authored over 2 years ago
fix(parser): Further limit num_args to user values

1352be3d8878984572bdc5738de766e5c7059b84 authored over 2 years ago
fix(assert)!: Prevent require equal when it won't work

e6577b284e38afb7c60551d4e91c88366150292b authored over 2 years ago
fix(parser)!: Only apply num_args to user values

03f747ba8be1ff572767d468fcb0b0f434a0f24d authored over 2 years ago
fix!: `num_args` controls user args rather than parsed values

This mostly impacts use of delimiters.

6dddf119ceef74c868d2530b983cd558361eb913 authored over 2 years ago
fix!: Rename Arg::number_of_values to Arg::num_args

ba15b5f43013cb96286072e5102c282da2a6cb7f authored over 2 years ago
Merge pull request #4022 from epage/delim

fix!: Remove Arg::use_value_delimiter in favor of Arg::value_delimiter

3bcde19b1849466a2c40219020a4aebb77af2684 authored over 2 years ago
fix!: Remove Arg::use_value_delimiter in favor of Arg::value_delimiter

0664c6db37f0fecda12e5f192a0579a6fd369db4 authored over 2 years ago
Merge pull request #4020 from epage/mult

fix!: Replace multiple_values with number_of_values

fafb2d5763f63da1f179be24a56b0880eb5952a9 authored over 2 years ago
Merge pull request #4017 from dtolnay-contrib/delete

Delete seemingly stray cargo_example_derive file

f40447bc26e4b773bf090cfe68ce2b863ff79089 authored over 2 years ago
chore: Delete seemingly stray cargo_example_derive file

10137fbd33901b7df1c9c9a3da91f647f04e1290 authored over 2 years ago
fix!: Replace `multiple_values` with `number_of_values`

This reduces ambiguity in how the different "multiple" parts of the API
interact and lowrs the a...

470531b515a4fd1abf69fdeabaeeae19a67355db authored over 2 years ago
Merge pull request #4015 from epage/arg_enum

fix!: Remove rest of deprecated APIs

8f6231010ab9939821e5fd19d63e559ac55e3134 authored over 2 years ago
fix!: Remove rest of deprecated APIs

Fixes #4009

76bff6f34e676b736839bebba2fb06250ddbfb25 authored over 2 years ago
Merge pull request #4014 from nt591/patch-1

[Documentation] fix typo in arg.rs

686d174e280bbc22a0ca7b1c0c3330f458513d9a authored over 2 years ago
[Documentation] fix typo in arg.rs

823e5664cdf5cd4c04c263ac2591ae68d17277d2 authored over 2 years ago
Merge pull request #4011 from clap-rs/dependabot/cargo/proc-macro2-1.0.42

chore(deps): bump proc-macro2 from 1.0.40 to 1.0.42

3ac2afd824776f012ad6df80e53000e6fc8f54e7 authored over 2 years ago
Merge pull request #4010 from clap-rs/dependabot/cargo/terminal_size-0.2.1

chore(deps): bump terminal_size from 0.1.17 to 0.2.1

3d65d5701e319276376c084cdfde686db0672283 authored over 2 years ago
chore(deps): bump proc-macro2 from 1.0.40 to 1.0.42

Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.40 to 1.0.42.
- [Release no...

44350b376ee6e38c1b20acec0ba108f27b03c2cc authored over 2 years ago
chore(deps): bump terminal_size from 0.1.17 to 0.2.1

Bumps [terminal_size](https://github.com/eminence/terminal-size) from 0.1.17 to 0.2.1.
- [Releas...

0bf1627e0506b16bd7aaa2210d511df39e3e8214 authored over 2 years ago
docs: Update changelog

9037e93c72c3b07cb2d3899ec7fddc456147dbb7 authored over 2 years ago
Merge pull request #4005 from epage/error

fix(parser): Include required argument in message

957709fe8ac5bfaef09fda982deff33408e545c8 authored over 2 years ago
fix(parser): Include required argument in message

When suggesting required arguments, we wanted to avoid an argument
showing up in both a group an...

40a9061c2602a40fb9cc3e5fcefdf3ca7faced37 authored over 2 years ago
refactor(usage): Clarify required gathering

d001952ac4643bc517e88fd931f8c9fcd5861bc7 authored over 2 years ago
refactor(parser): Simplify calculation for more values

e2a6bbfa95ed79590f405b440d49c223addf3cee authored over 2 years ago
fix: Update positional for new num_vals

39e5a86391c12cba06b2843492faea60763ca8ab authored over 2 years ago
refactor: Switch to getter for number_of_values

b47464955c5f8d3ded18099556c7c044d7c92656 authored over 2 years ago
Merge pull request #4003 from epage/count

fix(help): Show when a flag 'ArgAction::Count's

edc7ac359fda218f82bedbdfe519ca57b8fe155c authored over 2 years ago
Merge pull request #4002 from epage/usage

fix(help): Remove '...' for optional values

7b8da030144a2eb6b1a0dc30c00031466856bfae authored over 2 years ago
fix(help): Show when a flag 'ArgAction::Count's

81bc351cfccdfad59e95b7067d06bf22afd7b701 authored over 2 years ago
refactor(test): Put expected values by tests

7cf25008d5b832faed0258673289e9e42f53780f authored over 2 years ago
fix(help): Remove '...' for optional values

ac32c831fcee7efac4aea1dde539834695004f09 authored over 2 years ago
Merge pull request #4001 from epage/num_vals

fix!: Simplify min_values/max_values into number_of_values (per occurrence)

ddef1cbf1080c29ed8e3798f8d1a8a003826f675 authored over 2 years ago
docs: Provide best practice by example

eee31e2e31295e10de138dfdb56d15fada9d5091 authored over 2 years ago
fix!: Replaced `min_values` (tota) with `number_of_values` (per occurrence)

30f5b11d063e1ce1a4b76aac84cd9259efb67c6d authored over 2 years ago
fix!: Replace `min_values` (total) with `number_of_values` (per occurrence)

ccf35ff70cc4aa3da009693494761ae29d6b5fda authored over 2 years ago
fix(derive): Make `Option<Option<T>>` work per occurrence

cf8e1fc319cf5af51bdfacbcf26ad4f026c08bb7 authored over 2 years ago
fix: arg!(--long [value]) to per occurrence values

Before we did 0..=1 across all occurrences when what we really wanted
was 0..=1 per occurrence. ...

ab8ef4666309615b3b2923d66ead32709e7d51aa authored over 2 years ago
feat: Extend `number_of_values` to support min/max per occurrence

41535d5c46bf2e2af9f0c4f442b3ab32d8b30050 authored over 2 years ago
fix!: Change number_of_values to be per occurrence

b4dfdcea15cfea06508ee6715b458f41879b4726 authored over 2 years ago
test: Port macro/derive test to builder

Making sure we cover the expected experience from multiple perspectives

ae803e1410dc624b8918ab95545e48dbc186eb4b authored over 2 years ago
fix(derive): Make consistent with `arg!`

This has the downside of a regression in `--help`. We expect to fix
that soon-ish.

4f756c483fddfd92e860b6ede339c08d873b3424 authored over 2 years ago
test: Verify max_values cases for 0 values

5444b60361292122fba34b65a6590df178313001 authored over 2 years ago
fix(error): Ensure empty possible values isn't shown

630a4894b39c6ce1c6f522e0df4d678a3901197f authored over 2 years ago
Merge pull request #4000 from epage/missing

fix(parser): Rely on default_missing_value for flag actions

81faa8b34b54629fc2c42608380ff004c57e455c authored over 2 years ago
fix(parser): Rely on `default_missing_value` for flag actions

In the short term, this just provides a back door to custom actions.
Longer term, we can explore...

8e20782bfdfaa6d296e7f2254fbb870bb4617cf6 authored over 2 years ago
fix: Simplify flag parsing

Multiple values can only happen from env variables when configured by
the user, so let's not go ...

f76a867e3f16a4dbb7f9e73652bcd5d14723fe5a authored over 2 years ago
Merge pull request #3999 from epage/usage

fix: Misc clean up in prep for #2688

4887695aca79e35480a88ca0f2c745084e7b9273 authored over 2 years ago
style: Make clippy happy

8aa960c9847888af0db767762541446a45996567 authored over 2 years ago
perf: Reduce amount of code for rendering args

Rendering of usage is not in a critical path, so should be more worried
about binary size than p...

c2f5d8d7b767c9b173782eef84e91ef563b10a0c authored over 2 years ago
refactor(help): Simplify rendering of arg values

a7a96e02fa8aa133cd2f79d533de3cc8b10f5474 authored over 2 years ago
fix!: `number_of_values` doesn't always imply `multiple_values(true)`

With `number_of_values` being per-occurrence now, its doesn't make sense
for `number_of_values(0...

355a8ff90c6be9d140f0a3389c6358869e64e3a9 authored over 2 years ago
test(help): Veriy rendering of min_values

2be2924f91bd6044cf7d1e089483200edd5cde52 authored over 2 years ago
refactor(test): Consolidate number_of_values tests

ef9d582464f3504990c324760381698e185eb5ca authored over 2 years ago
test(macros): Port optional-value test from derive to arg

15d7f51e882206aafcc13dcf12391711d21994a6 authored over 2 years ago
fix(help): Mark positionals as optional

5eedb03e456a772795b3cfdce28fc9399fbb0ad3 authored over 2 years ago
refactor: Abstract access to min_vals

43aa695ad72f0d2becb797f644656c7243e36848 authored over 2 years ago
chore: Remove dead test file

6e9250d4ab1a1ce140764249ee305324bb4ca044 authored over 2 years ago
fix: Remove unused schema

11883b6fbca4f651b3976802f7786a9d6c9cdbf5 authored over 2 years ago
Merge pull request #3998 from epage/missing

fix(parser)!: Apply default_missing_value per occurrence

586b49a43c02164224c4390d856bab7f4c445fda authored over 2 years ago
fix(parser)!: Apply default_missing_value per occurrence

This both simplifies the code and the model we present to the user,
making more sense.

There is...

67adc4acf99058657d30d51e2060f0d2c9d24ad8 authored over 2 years ago
Merge pull request #3992 from epage/action

docs: Shift focus from takes_value to actions

ee06707c90dce1b613c7cdf4fec9f69f3a42b272 authored over 2 years ago
docs: Shift focus from takes_value to actions

5f20fe19303ba3676635df5269d5a004d4880cb3 authored over 2 years ago
fix: Be explicit on help/version action

8e9c4c6c648472849e40851dcd8c2c62745f25c0 authored over 2 years ago
Merge pull request #3991 from epage/warn

chore: Fix warnings

55f2bb69795d3d475d217bf390744140d499497f authored over 2 years ago
Merge pull request #3990 from epage/external

fix!: Use value parsers for external subcommands

62c75a001b70bbc9f1f984d7c072496ae56a7cbb authored over 2 years ago
chore: Fix warnings

095d7db33e9a2d38bd735840f8be57fe3b0df843 authored over 2 years ago
fix!: Use value parsers for external subcommands

This changes the default type as well to encourage preserving the full
information for shelling ...

8ea1e2d4d31e17656f7537b3eec82b4e725be92e authored over 2 years ago
Merge pull request #3989 from epage/dupe

fix(assert)!: Prevent repeated subcommand names

2d469511f9437b5136254bac4b69ee3ac0a23267 authored over 2 years ago
fix!: Remove PartialEq from Command

This gives us more implementation flexibility

475a0fc0a25238e990a10d8280b7281fefd1c9e5 authored over 2 years ago
fix(assert)!: Prevent repeated subcommand names

Fixes #3888

13e672fb90e967ee2a9ca643c2cbf75c2352031d authored over 2 years ago
Merge pull request #3988 from epage/occur

fix!: Remove multiple occurrences in favor of Append/Count

3610a14e9e41ca51bf320c8443924585cf1d59b0 authored over 2 years ago
chore: Allow releasing from release branches

76c47f66e24b2791bc2383217b2e58e0a005ad6e authored over 2 years ago
docs: Update changelog

9fb9f563ad19f55ccf690b07e97c1bdfc2438103 authored over 2 years ago
fix!: Remove multiple occurrences in favor of Append/Count

For num_vals and friends, this only implements hacks until #2688

Fixes #3021

6f03b4f948af4d862db3343a1fd8b48454404a2f authored over 2 years ago
Merge pull request #3986 from epage/override

fix(assert)!: Disallow self-overrides

8c7fe8bb2fe254801de2a40ac261895a2aa601a0 authored over 2 years ago
Merge pull request #3933 from emersonford/vec-value-enum-default-value-t

feat(clap_derive): Add `default_values_t` and `default_values_os_t` for Vec field types

b47a8453d7d69d0ebafbb1231ffa897819803673 authored over 2 years ago
fix(assert)!: Disallow self-overrides

This will make it easier to drop support for multiple occurrences

ec38212dcb8f112d5d953d8930ddeb71653cbbde authored over 2 years ago
fix(assert)!: Ensure overrides_with IDs are valid

5a8e2046af832808883be358a25d8e7a1a56fa2e authored over 2 years ago
feat(clap_derive): Add `default_values_t` and `default_values_os_t`

04e0ed747451ad9f702fe882ee688074e20c0283 authored over 2 years ago
Merge pull request #3985 from tshepang/master

docs: Remove extraneous words

fe6c0a509e5b28bcc19db2da65bea6855e675220 authored over 2 years ago
docs: Remove extraneous words

2facce8301ac0e877c76a3ad7c8699d71e0237f3 authored over 2 years ago
Merge pull request #3983 from tshepang/master

docs: typo

8e0d6b011afb66b329f557f997f87997d93d84ea authored over 2 years ago
docs: Fix a typo

ec9dcaaf16581601fc97342805ea05b9ad16daed authored over 2 years ago
test: Make version agnostic

732a21b1bfe1a58d8c8b1e4de795d0fc058a30e4 authored over 2 years ago
Merge pull request #3982 from epage/ver

chore: Update version

a8881dfdba725f89f1f8898f1a875296ff953062 authored over 2 years ago
chore: Update version

The main goal is to reduce the risk of people developing on the wrong
release, assuming they are...

8aa7ab3e16249e14b875d8c39a69c2e8a354c1f0 authored over 2 years ago
Merge pull request #3981 from epage/dep

fix!: Remove more deprecated APIs

ae35ff12ffe7a23c6b0f40af94c1de47b7a0585b authored over 2 years ago
docs: Note change in derive behavior

dad2492de0530b4ba50350a5428aca7e069fb901 authored over 2 years ago
fix!: Remove more deprecated APIs

a3356aae43c72ea035290e9140e38e2becbc94e0 authored over 2 years ago
Merge pull request #3978 from epage/perf

perf: Remove some monomorphization bloat

0eaec6085ac0c32b7096bca9fc5b90db80f29595 authored over 2 years ago
Merge pull request #3979 from Lioness100/patch-1

docs: Remove extra bracket typo

7518332e565150bfc95741f65d141a6dee0c1609 authored over 2 years ago