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
fix!: Remove `Arg::rwquire_value_delimiter`
dc5ce00162bfcad3cd88a13e54092e36ad9592d1 authored over 2 years agofix(parser)!: Split on value delimiter after validating num_args
5d1ec08199e1a68bea1975d0673c059a493ba2b8 authored over 2 years agoThis will allow `num_args(0..=1).value_delimiter(',')` to work properly.
This hacks in support ...
6b3a5bde6dabe97788e7742de7d4028b31d54c2a authored over 2 years agorefactor(parser): Prep for more #2688 work
b731b6a82663f67547b49ca7c29d433aa7736395 authored over 2 years ago53836f583ce9645b07a7c8a6a33802b7261a1272 authored over 2 years ago
fix!: num_args controls user args rather than parsed values
012de8daa2541fd0d8a0962108fa798a0e66c2ed authored over 2 years ago
In clap v3, `require_value_delimiter` activated an alternative parse
mode where
- `multiple_valu...
69c4628b162d65480d6995166a14106d4cbc6143 authored over 2 years ago
deba6bdda5b3d602d1b6fa2ca241135257ab4e45 authored over 2 years ago
1352be3d8878984572bdc5738de766e5c7059b84 authored over 2 years ago
e6577b284e38afb7c60551d4e91c88366150292b authored over 2 years ago
03f747ba8be1ff572767d468fcb0b0f434a0f24d authored over 2 years ago
This mostly impacts use of delimiters.
6dddf119ceef74c868d2530b983cd558361eb913 authored over 2 years agoba15b5f43013cb96286072e5102c282da2a6cb7f authored over 2 years ago
fix!: Remove Arg::use_value_delimiter in favor of Arg::value_delimiter
3bcde19b1849466a2c40219020a4aebb77af2684 authored over 2 years ago0664c6db37f0fecda12e5f192a0579a6fd369db4 authored over 2 years ago
fix!: Replace multiple_values with number_of_values
fafb2d5763f63da1f179be24a56b0880eb5952a9 authored over 2 years agoDelete seemingly stray cargo_example_derive file
f40447bc26e4b773bf090cfe68ce2b863ff79089 authored over 2 years ago10137fbd33901b7df1c9c9a3da91f647f04e1290 authored over 2 years ago
This reduces ambiguity in how the different "multiple" parts of the API
interact and lowrs the a...
fix!: Remove rest of deprecated APIs
8f6231010ab9939821e5fd19d63e559ac55e3134 authored over 2 years agoFixes #4009
76bff6f34e676b736839bebba2fb06250ddbfb25 authored over 2 years ago[Documentation] fix typo in arg.rs
686d174e280bbc22a0ca7b1c0c3330f458513d9a authored over 2 years ago823e5664cdf5cd4c04c263ac2591ae68d17277d2 authored over 2 years ago
chore(deps): bump proc-macro2 from 1.0.40 to 1.0.42
3ac2afd824776f012ad6df80e53000e6fc8f54e7 authored over 2 years agochore(deps): bump terminal_size from 0.1.17 to 0.2.1
3d65d5701e319276376c084cdfde686db0672283 authored over 2 years ago
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.40 to 1.0.42.
- [Release no...
Bumps [terminal_size](https://github.com/eminence/terminal-size) from 0.1.17 to 0.2.1.
- [Releas...
9037e93c72c3b07cb2d3899ec7fddc456147dbb7 authored over 2 years ago
fix(parser): Include required argument in message
957709fe8ac5bfaef09fda982deff33408e545c8 authored over 2 years ago
When suggesting required arguments, we wanted to avoid an argument
showing up in both a group an...
d001952ac4643bc517e88fd931f8c9fcd5861bc7 authored over 2 years ago
e2a6bbfa95ed79590f405b440d49c223addf3cee authored over 2 years ago
39e5a86391c12cba06b2843492faea60763ca8ab authored over 2 years ago
b47464955c5f8d3ded18099556c7c044d7c92656 authored over 2 years ago
fix(help): Show when a flag 'ArgAction::Count's
edc7ac359fda218f82bedbdfe519ca57b8fe155c authored over 2 years agofix(help): Remove '...' for optional values
7b8da030144a2eb6b1a0dc30c00031466856bfae authored over 2 years ago81bc351cfccdfad59e95b7067d06bf22afd7b701 authored over 2 years ago
7cf25008d5b832faed0258673289e9e42f53780f authored over 2 years ago
ac32c831fcee7efac4aea1dde539834695004f09 authored over 2 years ago
fix!: Simplify min_values/max_values into number_of_values (per occurrence)
ddef1cbf1080c29ed8e3798f8d1a8a003826f675 authored over 2 years agoeee31e2e31295e10de138dfdb56d15fada9d5091 authored over 2 years ago
30f5b11d063e1ce1a4b76aac84cd9259efb67c6d authored over 2 years ago
ccf35ff70cc4aa3da009693494761ae29d6b5fda authored over 2 years ago
cf8e1fc319cf5af51bdfacbcf26ad4f026c08bb7 authored over 2 years ago
Before we did 0..=1 across all occurrences when what we really wanted
was 0..=1 per occurrence. ...
41535d5c46bf2e2af9f0c4f442b3ab32d8b30050 authored over 2 years ago
b4dfdcea15cfea06508ee6715b458f41879b4726 authored over 2 years ago
Making sure we cover the expected experience from multiple perspectives
ae803e1410dc624b8918ab95545e48dbc186eb4b authored over 2 years ago
This has the downside of a regression in `--help`. We expect to fix
that soon-ish.
5444b60361292122fba34b65a6590df178313001 authored over 2 years ago
630a4894b39c6ce1c6f522e0df4d678a3901197f authored over 2 years ago
fix(parser): Rely on default_missing_value for flag actions
81faa8b34b54629fc2c42608380ff004c57e455c authored over 2 years ago
In the short term, this just provides a back door to custom actions.
Longer term, we can explore...
Multiple values can only happen from env variables when configured by
the user, so let's not go ...
fix: Misc clean up in prep for #2688
4887695aca79e35480a88ca0f2c745084e7b9273 authored over 2 years ago8aa960c9847888af0db767762541446a45996567 authored over 2 years ago
Rendering of usage is not in a critical path, so should be more worried
about binary size than p...
a7a96e02fa8aa133cd2f79d533de3cc8b10f5474 authored over 2 years ago
With `number_of_values` being per-occurrence now, its doesn't make sense
for `number_of_values(0...
2be2924f91bd6044cf7d1e089483200edd5cde52 authored over 2 years ago
ef9d582464f3504990c324760381698e185eb5ca authored over 2 years ago
15d7f51e882206aafcc13dcf12391711d21994a6 authored over 2 years ago
5eedb03e456a772795b3cfdce28fc9399fbb0ad3 authored over 2 years ago
43aa695ad72f0d2becb797f644656c7243e36848 authored over 2 years ago
6e9250d4ab1a1ce140764249ee305324bb4ca044 authored over 2 years ago
11883b6fbca4f651b3976802f7786a9d6c9cdbf5 authored over 2 years ago
fix(parser)!: Apply default_missing_value per occurrence
586b49a43c02164224c4390d856bab7f4c445fda authored over 2 years ago
This both simplifies the code and the model we present to the user,
making more sense.
There is...
67adc4acf99058657d30d51e2060f0d2c9d24ad8 authored over 2 years agodocs: Shift focus from takes_value to actions
ee06707c90dce1b613c7cdf4fec9f69f3a42b272 authored over 2 years ago5f20fe19303ba3676635df5269d5a004d4880cb3 authored over 2 years ago
8e9c4c6c648472849e40851dcd8c2c62745f25c0 authored over 2 years ago
chore: Fix warnings
55f2bb69795d3d475d217bf390744140d499497f authored over 2 years agofix!: Use value parsers for external subcommands
62c75a001b70bbc9f1f984d7c072496ae56a7cbb authored over 2 years ago095d7db33e9a2d38bd735840f8be57fe3b0df843 authored over 2 years ago
This changes the default type as well to encourage preserving the full
information for shelling ...
fix(assert)!: Prevent repeated subcommand names
2d469511f9437b5136254bac4b69ee3ac0a23267 authored over 2 years agoThis gives us more implementation flexibility
475a0fc0a25238e990a10d8280b7281fefd1c9e5 authored over 2 years agoFixes #3888
13e672fb90e967ee2a9ca643c2cbf75c2352031d authored over 2 years agofix!: Remove multiple occurrences in favor of Append/Count
3610a14e9e41ca51bf320c8443924585cf1d59b0 authored over 2 years ago76c47f66e24b2791bc2383217b2e58e0a005ad6e authored over 2 years ago
9fb9f563ad19f55ccf690b07e97c1bdfc2438103 authored over 2 years ago
For num_vals and friends, this only implements hacks until #2688
Fixes #3021
6f03b4f948af4d862db3343a1fd8b48454404a2f authored over 2 years agofix(assert)!: Disallow self-overrides
8c7fe8bb2fe254801de2a40ac261895a2aa601a0 authored over 2 years agofeat(clap_derive): Add `default_values_t` and `default_values_os_t` for Vec field types
b47a8453d7d69d0ebafbb1231ffa897819803673 authored over 2 years agoThis will make it easier to drop support for multiple occurrences
ec38212dcb8f112d5d953d8930ddeb71653cbbde authored over 2 years ago5a8e2046af832808883be358a25d8e7a1a56fa2e authored over 2 years ago
04e0ed747451ad9f702fe882ee688074e20c0283 authored over 2 years ago
docs: Remove extraneous words
fe6c0a509e5b28bcc19db2da65bea6855e675220 authored over 2 years ago2facce8301ac0e877c76a3ad7c8699d71e0237f3 authored over 2 years ago
docs: typo
8e0d6b011afb66b329f557f997f87997d93d84ea authored over 2 years agoec9dcaaf16581601fc97342805ea05b9ad16daed authored over 2 years ago
732a21b1bfe1a58d8c8b1e4de795d0fc058a30e4 authored over 2 years ago
chore: Update version
a8881dfdba725f89f1f8898f1a875296ff953062 authored over 2 years ago
The main goal is to reduce the risk of people developing on the wrong
release, assuming they are...
fix!: Remove more deprecated APIs
ae35ff12ffe7a23c6b0f40af94c1de47b7a0585b authored over 2 years agodad2492de0530b4ba50350a5428aca7e069fb901 authored over 2 years ago
a3356aae43c72ea035290e9140e38e2becbc94e0 authored over 2 years ago
perf: Remove some monomorphization bloat
0eaec6085ac0c32b7096bca9fc5b90db80f29595 authored over 2 years agodocs: Remove extra bracket typo
7518332e565150bfc95741f65d141a6dee0c1609 authored over 2 years ago