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(suggestions): Replace wrong Jaro-Winkler

Implementation of Jaro-Winkler similarity in the dguo/strsim-rs crate
is wrong, causing strings ...

f5540d264631e725deb5de76a5b1ccce7e740f2c authored about 2 years ago
fix: Add plural s in suggestions

Old: `note: subcommand 'test', 'temp' exist`
New: `note: subcommands 'test', 'temp' exist`
Fixes...

5dcc5c950942e58fd5c7f610824b6a4a54332437 authored about 2 years ago
chore: Release

90c042eeaef36ef6a1718b19cc9ea213ac249f6e authored about 2 years ago
docs: Update changelog

4f638b5c750b724ab1606a2d0b5c2674251c1766 authored about 2 years ago
Merge pull request #4663 from fredrik-jansson-se/master

fix: Make cmd variable (bash completion) local

930a40c1df6a82fddae4fcb7b7faae41f31a4e8e authored about 2 years ago
fix: Bash test cases

3426310d8e9f3387c7c11199ca9e1478487d9786 authored about 2 years ago
fix: Make cmd a local var in bash completion

8b455d28e7d4df5f4be27f906f88a70b830ef789 authored about 2 years ago
test: Remove extraneous to_owned's

3591dc7e848b46a4765de735ee3574d10af5bc91 authored about 2 years ago
Merge pull request #4664 from epage/suggest

test: Verify suggestions

098a7007bb9c0e4e31b43e860c001be7600d58a0 authored about 2 years ago
test: Very best-fit for suggestions

Inspired by #4660

cf970e6d0ed3c473d9310865125019fc4fb06c1f authored about 2 years ago
test: Re-enable suggestion tests

39fc25219669d9c91873887a1b7fdef9ef085b4e authored about 2 years ago
chore: Release

9f4f341604266b82d50b6b71999962585c11b40f authored about 2 years ago
docs: Update changelog

faee38f59d335c1a24bbda9d96f00850e0f2b4a5 authored about 2 years ago
Merge pull request #4659 from epage/flag

docs: Prefer `get_flag` over `get_one::<bool>`

a493bb54f4395cd1cea5eb9a15e3927e75020068 authored about 2 years ago
docs: Prefer `get_flag` over `get_one::<bool>`

Inspired by #4654

9d1de20787f9f8ced9a975dce7123d0edf74f407 authored about 2 years ago
fix(mangen): Avoid spurious value for derive arg

derive arguments like this:

#[arg(long)]
pub flag: bool,

were producing option descrip...

3755c56dcf15ddad94f5957c8a590fe5b909b1ab authored about 2 years ago
Merge pull request #4640 from MariaSolOs/documentation-typo

docs: Typo in tab tag

2a984ab77708bc93831b33f34033c7b0e42566df authored about 2 years ago
docs: Typo in tab tag

bbf9b9c2f5f07bc2344ecadb4ea23a6e6f42f6e4 authored about 2 years ago
chore: Release

74a82d708524ac88941e9fe4318fe5842ed74b68 authored about 2 years ago
docs: Update changelog

06f392a0d2ddbcd371d5dc65bcddbcd565430c4f authored about 2 years ago
Merge pull request #4639 from epage/error

fix(error): Try to soften unexpected argument/value errors

4d913fa4d1efee4391ec185495efb64b4aba0aa7 authored about 2 years ago
fix(error): Try to soften unexpected argument/value errors

Adding "found" might seem minor but I feel it has a slight softening on the message. It also ma...

162a556dbad89ade96ea35052812bebc6c79ddc9 authored about 2 years ago
chore: Release

34d856b449a66719360d10cbc9334e09c9bb2769 authored about 2 years ago
chore: Bump versions for 4.1

889ca7a5372f91b073f9bd1eef593f3c5868af56 authored about 2 years ago
docs(contrib): Define a compatibility policy for help/error output

2bafb9b75d97ec84fa51612c9d6898f33c9a39c8 authored about 2 years ago
docs: Update changelog

a41ca2edb05b429a317dd97215c3eee0e4d3c97f authored about 2 years ago
Merge pull request #4635 from epage/stablize

feat: Stablize `ArgMatches::get_occurrences`

523adc20e7ae1a4c5bf7caa261671b2ded814ac8 authored about 2 years ago
feat: Stablize `ArgMatches::get_occurrences`

This let's you get an arguments values, grouped by the occurrence of the
argument.

Note: this d...

b4f111a978fb9d1d07a05940fc92802029d9df23 authored about 2 years ago
Merge pull request #4630 from eguiraud/patch-1

Prefer ok_or to ok_or_else in README example

72749a3a0958c74490b8bd78c50dbd340837c773 authored about 2 years ago
docs: prefer ok_or to ok_or_else in README example

As suggested by clippy when using the example code.

84314614fbd18cf4d924f373190d2a224ddc4972 authored about 2 years ago
Merge pull request #4627 from tmccombs/macro-cleanup

refactor(derive): Clean up unnecessary noop parsing

37d03bb20185dcd0b01f9811a0817093a4d98499 authored about 2 years ago
refactor(derive): Clean up unnecessary noop parsing

My guess is this was left over from switching to using the type based
API. The generated code fo...

65f9e0d74782251737507d9ca234f6322f921002 authored about 2 years ago
Merge pull request #4625 from rhysd/fix-is-is

fix(doc): Fix typos in document of `ArgMatches` methods

5345d6c332e52eeda6c7a52ae5d974bbd5c0fe5c authored about 2 years ago
fix(doc): Fix typos in `ArgMatches` methods

4b1f79b470713a34203ea9d37985fe34403684c8 authored about 2 years ago
fix(complete): Handle multi-valued arguments

zsh completions for commands that have multiple Vec arguments require
special care.

We can have...

170bd59111e42fc4aa8249d5bd3bd82d20e5aef0 authored about 2 years ago
Merge pull request #4624 from davvid/value-terminators

fix(completion): emit value terminators on zsh

b86c259ed05ac231a6b7a936f246d5c4f7a6c3b8 authored about 2 years ago
style: Make clippy happy

e576c65dee9d852fa753b6d785422a01e86d9ef9 authored about 2 years ago
Merge pull request #4600 from tmccombs/groups-derive

Add support for deriving grouped options for Vec<Vec<T>>

084991f70a7ae51c25364e1696523f865aedb4c2 authored about 2 years ago
fix(complete): Emit value terminators on zsh

Emit the user-defined value terminator into the zsh completion pattern
to avoid doubled rest-arg...

58b0c504d83d7ec9585b228651ffc45670333cf8 authored about 2 years ago
feat(api): Add Arg::get_value_terminator()

Expose get_value_terminator() for use by clap_complete.

Related-to: #3022
Signed-off-by: David ...

0b0306cc79b0f16883303ffb053793504056bed4 authored about 2 years ago
Merge pull request #4618 from epage/update

fix(derive): Allow update_from when explicit requireds used

d0adade3dd6fe83bbc0c6d5c420a2cf633d443e1 authored about 2 years ago
fix(derive): Allow users to override arg_required_else_help on sub-sub commands

50f033e6bc2a5e08ed8e6a0a5de33cdc9e86339b authored about 2 years ago
fix(derive): Allow `update_from` when explicit requireds used

Fixes #4617

af71ada3f408a2aaaf70fa91896067d5d420d650 authored about 2 years ago
test(derive): Show update_from bug with explicit required

b9ae787d6b5ce3285505b447949f1fc69b944235 authored about 2 years ago
test(derive): Unwrap, don't exit

7b69dea24f46dff480a2e0473dcc7465387c71f9 authored about 2 years ago
docs: Update changelog

9aa76fa12fc71ea484f12ce68272e51876ceacf1 authored about 2 years ago
Merge pull request #4615 from epage/MSRV

chore: Bump MSRV to 1.64.0

a2e8791bc44c75dfaed6e2213e26b9fa8e3e96f6 authored about 2 years ago
style: Update for clippy 1.64

082d54a9dcd718987f41301a2f9a6f33bfef1316 authored about 2 years ago
chore: Switch to workspace inheritance

fa021110928c09060940638a0107ff892cb4427c authored about 2 years ago
chore: Bump MSRV to 1.64.0

f25fe5b3e014fcfa58b965ccfb5b607a33c3402b authored about 2 years ago
Merge pull request #4614 from epage/fix

test(builder): Fix failing test

fda2a961cba8166438923528a3a202ba6d1585ab authored about 2 years ago
test(builder): Fix failing test

d745c32f4fff7655dc229c4fcef9d19f4bf35c70 authored about 2 years ago
chore: Put Vec<Vec<_>> behave for derive behind unstable-v5 flag

73df3d1a1eaacc0f79261d932c4239b7c4f80ede authored about 2 years ago
test: Add test for opting out of Vec<Vec<T>> derive

ccce3c3db5ce9f59d52012c0a0e22988de2f9b9a authored about 2 years ago
feat: Add support for deriving grouped options for Vec<Vec<T>>

Relates-To: #2924

eaa9273f9198c44bc35015562a86454a12576052 authored about 2 years ago
Merge pull request #4610 from tgross35/patch-1

Fix example that as runtime panic. Relates to #3864

ac6b4cdf3430e09b762e0722e2f888749dbbc297 authored about 2 years ago
docs: fix example that as runtime panic. Relates to #3864

Relevant comment: https://github.com/clap-rs/clap/issues/3864#issuecomment-1374297155

c062182e1e4e0e549aacade2af5f2ebd08780cba authored about 2 years ago
Merge pull request #4609 from epage/error

fix(error): Try to polish/clarify messages

7d57df5c892007d5d148063ab491f215d941c755 authored about 2 years ago
fix(error): Try to polish/clarify messages

In text communication you need to balance
- Scannability, putting the most important information...

762b06fba48533169c36a1b60c364657c06800de authored about 2 years ago
chore: Upgrade trycmd

3e7ca92173f3f86f007f1068f0f38f37293ca77e authored about 2 years ago
Merge pull request #4602 from epage/errors2

fix(error): More closely match rustc's error style

689c77a6820297c937693bfe0efc39e68bbbfc3f authored about 2 years ago
fix(error): Match rustc for giving more information

68a7740fdc8f83f6ab3cf6d63e60722f28fb7906 authored about 2 years ago
fix(error): Lowercase the start of error messages

This matches the rustc error style

c2efb60a5fe15cdb1b6cb7ff6922985df89e70ec authored about 2 years ago
Merge pull request #4385 from epage/errors

fix(error): Be consistent with rustc diagnostic guidelines

e7d58b3daf99c2e629a7234eb62027aaec1e3574 authored about 2 years ago
Merge pull request #4514 from noritada/notes-on-cargo-env-vars

docs: Present other environment variable alternatives to `crate_name!`

7229047d783fe1997ea81248596027c6778e429a authored about 2 years ago
Merge pull request #4601 from epage/short

fix(help): Remove extraneous text from built-ins

206d2e47a6da1f24eb4aa4d7cb2e8391ee36c53c authored about 2 years ago
fix(help): Remove extraneous text from built-ins

This is an intermediate solution for #4408. As there were no agreeed
upon goals, I went with wh...

36bc641648e108d839b7bb6f218a66ca47003f51 authored about 2 years ago
Merge pull request #4515 from epage/wasm

chore(ci): Force setting of toolchain target

e7033f775f5a435a827c9a16fc7f1538db2f31e7 authored about 2 years ago
chore(ci): Disable color for wasm

67864a4bb8d8ec5bdb60c9a65de103361c243e79 authored about 2 years ago
chore: Update terminal_size

09b51b58a22b346efacb84fea68e23e98515a007 authored about 2 years ago
chore(ci): Don't check tests for wasm

Some of our testing infrastructure isn't wasm friendly.

38872b604c0bf5e7c63bf7ed4b24aaf13dde5bc6 authored about 2 years ago
chore(ci): Force setting of toolchain target

2ef5ecd15a69d4e69154184aa739ca7e851f6a44 authored about 2 years ago
doc(derive): Clarify default_value_t reqs

Fixes #4599

a87b55900d6c60e9bf76b61fb31efc07078f147b authored about 2 years ago
Merge pull request #4596 from orf/patch-2

Fix typo in clap-derive error message

2ce5f46f5ca0a3f6876ad1c52e6b1f0f6953490c authored about 2 years ago
Fix typo in clap-derive error message

I assume "litersl" should be "literals"?

1b320874188df2d72b829fd16cdb682895afbe0f authored about 2 years ago
Merge pull request #4593 from clap-rs/renovate/compatible-(dev)

chore(deps): update compatible (dev)

ce1634e3b08de17428bc8df4df80545e441b055c authored about 2 years ago
chore(deps): update compatible (dev)

acfc493a357581884856f8401511789ac2448c1b authored about 2 years ago
chore: Release

ec4ccf005da8dc5acf5c89aac306bf9d6c9f4a91 authored about 2 years ago
docs: Update changelog

13fdb839b7549cb03468d61cb60f3e8e1e0b1b33 authored about 2 years ago
Merge pull request #4573 from epage/conflict

fix(parser): Override required when parent group has conflict

b877345769b7fda9e2f79ce0fdfddee8d25271e7 authored about 2 years ago
fix(parser): Override required when parent group has conflict

Fixes #4569

85ecb3e895d17ff391be6dc43a8e9944cb318cef authored about 2 years ago
test(parser): Demonstrate required-overload bug

d145b8b166ce0d7ac1c49cda2138d2b5c862e6ea authored about 2 years ago
chore: Release

0eccd556ac694cdb68251f758e9b80574be349a8 authored about 2 years ago
docs: Update changelog

1e37c25f5eb5d59c315208f7a6db25aea423aa3b authored about 2 years ago
Merge pull request #4572 from epage/group

perf(parser): Reduce lookups for conflicts

dcd5fecab0f6f4e9617f0b8205ad0c6cb5d283d9 authored about 2 years ago
style: Update for latest clippy

dde22e74ca5442d904f29fd4833f1cc902d3e7f8 authored about 2 years ago
perf(parser): Reduce duplicate lookups

Didn't actually see much of a gain because this isn't in a hot loop but
thought I'd keep it.

dd8435d8f34d8343db2a1bda76f05b699e08fbb3 authored about 2 years ago
perf(parser): Reduce lookups for conflicts

We already need to lookup every present-arg for conflicts, so we might
as well cache it ahead of...

4a34b9dd43ffc349cedd4be6d8928b625a06f096 authored about 2 years ago
Merge pull request #4566 from hitenkoku/fix/4565

removed {bin} variable from help_template

9242e1dd0023d75ec2f152e4b871c184b7d4715d authored about 2 years ago
fix: Added cfg in help_template

b72ad5892c30f10f5bf843a8a46ae8d99d5c8a0c authored about 2 years ago
fix(help_template): Added cfg

c6058dee6ed463e4f8de2c5c76c63eb576ca8cbe authored about 2 years ago
docs(command): Added deprecated suffix in help string

a7a8241487c8a336e272eef21e5c704654e2d694 authored about 2 years ago
fix(help_template): Remove {bin} variable

a42204243a3b25f2f2f17b98666e3bf20a3bfa51 authored about 2 years ago
Merge pull request #4544 from tmccombs/group-action

Update grouped_values_of to use typed API and add support in derive

957288c3f564ee60cae571ea272224e8ccaae4b4 authored about 2 years ago
feat: Add get/remove API for getting grouped values

Change it to be more consistent with get_one and get_many and related
functions.

Relates-To: #2924

6abc2cfc3be18a854bbf482c7a67c3675b76269e authored about 2 years ago
chore: Release

d2d022248ba3946fbec4b67df0eafe9a01915326 authored about 2 years ago
docs: Update changelog

56a0bb624f0d601d0a0a6ed33cc04669ba852e41 authored about 2 years ago
Merge pull request #4567 from epage/error

fix(parser): Be less confusing with args/subcommand conflicts

b941a3eaef4d246ee335da8272fb5dab3daabba5 authored about 2 years ago
fix(parser): Be less confusing with args/subcommand conflicts

The new error message still isn't great but its better than the old one.

Reported at https://ha...

453ac0bfb9311e666fab159ec251248ae8bc11aa authored about 2 years ago
test(parser): Show bad behavior

2a374db6391bbd28b25ac1c56ea6fa1342aea164 authored about 2 years ago