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
Implementation of Jaro-Winkler similarity in the dguo/strsim-rs crate
is wrong, causing strings ...
Old: `note: subcommand 'test', 'temp' exist`
New: `note: subcommands 'test', 'temp' exist`
Fixes...
90c042eeaef36ef6a1718b19cc9ea213ac249f6e authored about 2 years ago
4f638b5c750b724ab1606a2d0b5c2674251c1766 authored about 2 years ago
fix: Make cmd variable (bash completion) local
930a40c1df6a82fddae4fcb7b7faae41f31a4e8e authored about 2 years ago3426310d8e9f3387c7c11199ca9e1478487d9786 authored about 2 years ago
8b455d28e7d4df5f4be27f906f88a70b830ef789 authored about 2 years ago
3591dc7e848b46a4765de735ee3574d10af5bc91 authored about 2 years ago
test: Verify suggestions
098a7007bb9c0e4e31b43e860c001be7600d58a0 authored about 2 years agoInspired by #4660
cf970e6d0ed3c473d9310865125019fc4fb06c1f authored about 2 years ago39fc25219669d9c91873887a1b7fdef9ef085b4e authored about 2 years ago
9f4f341604266b82d50b6b71999962585c11b40f authored about 2 years ago
faee38f59d335c1a24bbda9d96f00850e0f2b4a5 authored about 2 years ago
docs: Prefer `get_flag` over `get_one::<bool>`
a493bb54f4395cd1cea5eb9a15e3927e75020068 authored about 2 years agoInspired by #4654
9d1de20787f9f8ced9a975dce7123d0edf74f407 authored about 2 years agoderive arguments like this:
#[arg(long)]
pub flag: bool,
were producing option descrip...
3755c56dcf15ddad94f5957c8a590fe5b909b1ab authored about 2 years agodocs: Typo in tab tag
2a984ab77708bc93831b33f34033c7b0e42566df authored about 2 years agobbf9b9c2f5f07bc2344ecadb4ea23a6e6f42f6e4 authored about 2 years ago
74a82d708524ac88941e9fe4318fe5842ed74b68 authored about 2 years ago
06f392a0d2ddbcd371d5dc65bcddbcd565430c4f authored about 2 years ago
fix(error): Try to soften unexpected argument/value errors
4d913fa4d1efee4391ec185495efb64b4aba0aa7 authored about 2 years agoAdding "found" might seem minor but I feel it has a slight softening on the message. It also ma...
162a556dbad89ade96ea35052812bebc6c79ddc9 authored about 2 years ago34d856b449a66719360d10cbc9334e09c9bb2769 authored about 2 years ago
889ca7a5372f91b073f9bd1eef593f3c5868af56 authored about 2 years ago
2bafb9b75d97ec84fa51612c9d6898f33c9a39c8 authored about 2 years ago
a41ca2edb05b429a317dd97215c3eee0e4d3c97f authored about 2 years ago
feat: Stablize `ArgMatches::get_occurrences`
523adc20e7ae1a4c5bf7caa261671b2ded814ac8 authored about 2 years ago
This let's you get an arguments values, grouped by the occurrence of the
argument.
Note: this d...
b4f111a978fb9d1d07a05940fc92802029d9df23 authored about 2 years agoPrefer ok_or to ok_or_else in README example
72749a3a0958c74490b8bd78c50dbd340837c773 authored about 2 years agoAs suggested by clippy when using the example code.
84314614fbd18cf4d924f373190d2a224ddc4972 authored about 2 years agorefactor(derive): Clean up unnecessary noop parsing
37d03bb20185dcd0b01f9811a0817093a4d98499 authored about 2 years ago
My guess is this was left over from switching to using the type based
API. The generated code fo...
fix(doc): Fix typos in document of `ArgMatches` methods
5345d6c332e52eeda6c7a52ae5d974bbd5c0fe5c authored about 2 years ago4b1f79b470713a34203ea9d37985fe34403684c8 authored about 2 years ago
zsh completions for commands that have multiple Vec arguments require
special care.
We can have...
170bd59111e42fc4aa8249d5bd3bd82d20e5aef0 authored about 2 years agofix(completion): emit value terminators on zsh
b86c259ed05ac231a6b7a936f246d5c4f7a6c3b8 authored about 2 years agoe576c65dee9d852fa753b6d785422a01e86d9ef9 authored about 2 years ago
Add support for deriving grouped options for Vec<Vec<T>>
084991f70a7ae51c25364e1696523f865aedb4c2 authored about 2 years ago
Emit the user-defined value terminator into the zsh completion pattern
to avoid doubled rest-arg...
Expose get_value_terminator() for use by clap_complete.
Related-to: #3022
Signed-off-by: David ...
fix(derive): Allow update_from when explicit requireds used
d0adade3dd6fe83bbc0c6d5c420a2cf633d443e1 authored about 2 years ago50f033e6bc2a5e08ed8e6a0a5de33cdc9e86339b authored about 2 years ago
Fixes #4617
af71ada3f408a2aaaf70fa91896067d5d420d650 authored about 2 years agob9ae787d6b5ce3285505b447949f1fc69b944235 authored about 2 years ago
7b69dea24f46dff480a2e0473dcc7465387c71f9 authored about 2 years ago
9aa76fa12fc71ea484f12ce68272e51876ceacf1 authored about 2 years ago
chore: Bump MSRV to 1.64.0
a2e8791bc44c75dfaed6e2213e26b9fa8e3e96f6 authored about 2 years ago082d54a9dcd718987f41301a2f9a6f33bfef1316 authored about 2 years ago
fa021110928c09060940638a0107ff892cb4427c authored about 2 years ago
f25fe5b3e014fcfa58b965ccfb5b607a33c3402b authored about 2 years ago
test(builder): Fix failing test
fda2a961cba8166438923528a3a202ba6d1585ab authored about 2 years agod745c32f4fff7655dc229c4fcef9d19f4bf35c70 authored about 2 years ago
73df3d1a1eaacc0f79261d932c4239b7c4f80ede authored about 2 years ago
ccce3c3db5ce9f59d52012c0a0e22988de2f9b9a authored about 2 years ago
Relates-To: #2924
eaa9273f9198c44bc35015562a86454a12576052 authored about 2 years agoFix example that as runtime panic. Relates to #3864
ac6b4cdf3430e09b762e0722e2f888749dbbc297 authored about 2 years agoRelevant comment: https://github.com/clap-rs/clap/issues/3864#issuecomment-1374297155
c062182e1e4e0e549aacade2af5f2ebd08780cba authored about 2 years agofix(error): Try to polish/clarify messages
7d57df5c892007d5d148063ab491f215d941c755 authored about 2 years ago
In text communication you need to balance
- Scannability, putting the most important information...
3e7ca92173f3f86f007f1068f0f38f37293ca77e authored about 2 years ago
fix(error): More closely match rustc's error style
689c77a6820297c937693bfe0efc39e68bbbfc3f authored about 2 years ago68a7740fdc8f83f6ab3cf6d63e60722f28fb7906 authored about 2 years ago
This matches the rustc error style
c2efb60a5fe15cdb1b6cb7ff6922985df89e70ec authored about 2 years agofix(error): Be consistent with rustc diagnostic guidelines
e7d58b3daf99c2e629a7234eb62027aaec1e3574 authored about 2 years agodocs: Present other environment variable alternatives to `crate_name!`
7229047d783fe1997ea81248596027c6778e429a authored about 2 years agofix(help): Remove extraneous text from built-ins
206d2e47a6da1f24eb4aa4d7cb2e8391ee36c53c authored about 2 years ago
This is an intermediate solution for #4408. As there were no agreeed
upon goals, I went with wh...
chore(ci): Force setting of toolchain target
e7033f775f5a435a827c9a16fc7f1538db2f31e7 authored about 2 years ago67864a4bb8d8ec5bdb60c9a65de103361c243e79 authored about 2 years ago
09b51b58a22b346efacb84fea68e23e98515a007 authored about 2 years ago
Some of our testing infrastructure isn't wasm friendly.
38872b604c0bf5e7c63bf7ed4b24aaf13dde5bc6 authored about 2 years ago2ef5ecd15a69d4e69154184aa739ca7e851f6a44 authored about 2 years ago
Fixes #4599
a87b55900d6c60e9bf76b61fb31efc07078f147b authored about 2 years agoFix typo in clap-derive error message
2ce5f46f5ca0a3f6876ad1c52e6b1f0f6953490c authored about 2 years agoI assume "litersl" should be "literals"?
1b320874188df2d72b829fd16cdb682895afbe0f authored about 2 years agochore(deps): update compatible (dev)
ce1634e3b08de17428bc8df4df80545e441b055c authored about 2 years agoacfc493a357581884856f8401511789ac2448c1b authored about 2 years ago
ec4ccf005da8dc5acf5c89aac306bf9d6c9f4a91 authored about 2 years ago
13fdb839b7549cb03468d61cb60f3e8e1e0b1b33 authored about 2 years ago
fix(parser): Override required when parent group has conflict
b877345769b7fda9e2f79ce0fdfddee8d25271e7 authored about 2 years agoFixes #4569
85ecb3e895d17ff391be6dc43a8e9944cb318cef authored about 2 years agod145b8b166ce0d7ac1c49cda2138d2b5c862e6ea authored about 2 years ago
0eccd556ac694cdb68251f758e9b80574be349a8 authored about 2 years ago
1e37c25f5eb5d59c315208f7a6db25aea423aa3b authored about 2 years ago
perf(parser): Reduce lookups for conflicts
dcd5fecab0f6f4e9617f0b8205ad0c6cb5d283d9 authored about 2 years agodde22e74ca5442d904f29fd4833f1cc902d3e7f8 authored about 2 years ago
Didn't actually see much of a gain because this isn't in a hot loop but
thought I'd keep it.
We already need to lookup every present-arg for conflicts, so we might
as well cache it ahead of...
removed {bin} variable from help_template
9242e1dd0023d75ec2f152e4b871c184b7d4715d authored about 2 years agob72ad5892c30f10f5bf843a8a46ae8d99d5c8a0c authored about 2 years ago
c6058dee6ed463e4f8de2c5c76c63eb576ca8cbe authored about 2 years ago
a7a8241487c8a336e272eef21e5c704654e2d694 authored about 2 years ago
a42204243a3b25f2f2f17b98666e3bf20a3bfa51 authored about 2 years ago
Update grouped_values_of to use typed API and add support in derive
957288c3f564ee60cae571ea272224e8ccaae4b4 authored about 2 years ago
Change it to be more consistent with get_one and get_many and related
functions.
Relates-To: #2924
6abc2cfc3be18a854bbf482c7a67c3675b76269e authored about 2 years agod2d022248ba3946fbec4b67df0eafe9a01915326 authored about 2 years ago
56a0bb624f0d601d0a0a6ed33cc04669ba852e41 authored about 2 years ago
fix(parser): Be less confusing with args/subcommand conflicts
b941a3eaef4d246ee335da8272fb5dab3daabba5 authored about 2 years agoThe new error message still isn't great but its better than the old one.
Reported at https://ha...
453ac0bfb9311e666fab159ec251248ae8bc11aa authored about 2 years ago2a374db6391bbd28b25ac1c56ea6fa1342aea164 authored about 2 years ago