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
feat(error): Allow reproducing clap's errors
233a6be7dcf705ff0343fb8d211f076377123b1b authored over 2 years agoFixes #4362
502bb93e5b4dd3726cdc1d05b410843622cacd11 authored over 2 years ago5b763e957cada2918aa836910461ab6e6fd8b188 authored over 2 years ago
docs: Fix formatting in docs of value_parser! macro
a482b8a87b7fad7f60cefebfb48afd895a7b82cc authored over 2 years agoFixes #4357
fd411410716daaf1471db384e142d590a5151266 authored over 2 years agoFixes #4359
59bf166183893d968aa98b14a8ee2e65aaad4ae3 authored over 2 years agoec3fdc4a4298193eb9230a0d8d279ae9b30b0550 authored over 2 years ago
ec57becef6d1b642ac9c2f866406c00b7d746b29 authored over 2 years ago
fix(clap): line wrap on strings that contain ascii control characters
db7439ff1f136521c284575664c1ac506603c544 authored over 2 years ago
counting ascii control sequences lead to unpredictable and early
line breaks on colorized inputs...
counting ascii control sequences lead to unpredictable and early
line breaks on colorized inputs...
a867ddb6cdc1f40e88970994f1a5c1d5fc815413 authored over 2 years ago
docs(cookbook): PossibleValues with custom types
93648df1538c1027c35d4017b9435be79189ff4f authored over 2 years ago
This used to be more magical in clap 3 and people are having a hard time
discovering how to get ...
af1234a0c22254fe3425596c5531df24a88721d6 authored over 2 years ago
f921281f428b75e9b0b4b95781b821bf729c2559 authored over 2 years ago
feat(derive): Support `Option` when flattening
f86cd0f2ec36691de77be8ba55aaa2245462c544 authored over 2 years ago
If the inner type never implemented `group_id()`, then it won't work and
people will be confused...
06d20499311b359ab73a52029d531e8e0006e59e authored over 2 years ago
33db640dd503a27daabbbff9ff1d7d0550ea551e authored over 2 years ago
f121a8bdf6cffd1c5f1a3bb4f25eaffb42a6d209 authored over 2 years ago
4f17f998cb7c196b7e0b0eec8d859ae02c20a3ef authored over 2 years ago
Documenting the `skip` attribute for the `ValueEnum` derive macro promptly, as it's not mentione...
232d91b96e74de797c041d2e822fc073d390cec9 authored over 2 years agoClarify that the "body" part of the doc comment on a `ValueEnum` is ignored
9c217941c29ed0e88a3f3642fee59e4417045b92 authored over 2 years agoe644a5ef66896cf039b8de6169bd8c9d36f9c105 authored over 2 years ago
b03b60edd161f6d0d56985f4279e203de3df5259 authored over 2 years ago
476a8af4e20c80b5067dc0278cd18978f49bc475 authored over 2 years ago
b1c05bcecb50be81fb08056af63c11fd132b5cb0 authored over 2 years ago
Add missing backtick in changelog
39fe46e650e478627a3df72fd3ca7fdeac507032 authored over 2 years agoaa5269d8d039b1c5a5775f75a0e6ac802a0deeaf authored over 2 years ago
1d533bb31ff4bb2c09a5af9e286ec0d1d2df8e35 authored over 2 years ago
46c96df187212f9278caca6942f8f4259923b0fb authored over 2 years ago
fix(derive): Apply doc comments for `#[command(subcommand)]`
a9cc73ce4f2a236e813f072a2f72622c39d9c6c1 authored over 2 years ago
This was broken in 8a5a9ba931dd45a4976a5600eb24a91b202472f3. I had
missed this case for parsing...
39b1ef076e6e1200f0c249359de894cae9a0f334 authored over 2 years ago
Fixes #4228
7f98947c0451285e997ca6a8b9f1003917390458 authored over 2 years agochore(deps): bump trycmd from 0.13.6 to 0.13.7
969d22e4e7c3fb33f9fe7a06bad0cd6cdb062d60 authored over 2 years agofix: Hide clap_derive
ee16d782b6d6d2d57ba5fca653f24760f423f44d authored over 2 years ago
This was a bug that this wasn't done before and improves the `cargo add`
behavior.
chore: Upgrade criterion
68da825e62f71ce79573525f38ad6cd762163fc1 authored over 2 years ago86c90df15ea7ab6dac6a8bb39a0ee7bc34b7ed41 authored over 2 years ago
Bumps [trycmd](https://github.com/assert-rs/trycmd) from 0.13.6 to 0.13.7.
- [Release notes](htt...
chore(deps): bump trybuild from 1.0.64 to 1.0.65
f1fe5705bed9e5fe8ae31455b54feb6acac735c1 authored over 2 years agochore(deps): bump snapbox from 0.3.3 to 0.4.0
54f835b708540e4b9626c4e348b0881dc4602273 authored over 2 years ago
Bumps [snapbox](https://github.com/assert-rs/trycmd) from 0.3.3 to 0.4.0.
- [Release notes](http...
261fb792a4460ea8cbe26c577699a42b8353dc86 authored over 2 years ago
05bf0504f088817795b5f3f6f50303f12ee889a3 authored over 2 years ago
56f4ef7b8068dd4888ec0a3f7c04bcd66fdc0a43 authored over 2 years ago
fix(parser): Allow defaults for Help/Version
cc0da321ddc42ab545fad818e4cc9eb9306daec7 authored over 2 years agodoc(fix typo): add missing "l" in "toml"
5cd74610ce97b733b924ae7f79d9338bdd225fd6 authored over 2 years ago
These didn't make sense for the builder but are helpful for the derive.
The assert was assuming ...
39cf3e7124da11c5408cac8285423bcae87f49a0 authored over 2 years ago
Bumps [trybuild](https://github.com/dtolnay/trybuild) from 1.0.64 to 1.0.65.
- [Release notes](h...
docs(cookbook): Provide example of --color[=WHEN]
8a124db11383ff8629bb4b5ad45d18d7184af35b authored over 2 years ago6615003c467df7e9671920f5e115a43111aef9b2 authored over 2 years ago
Fixes #4314
03085e9dd1e1e5bc669363f8cc2eace5c408e76d authored over 2 years agodocs: Fix outdated short comment
a34e187da8c1852464318da61312b403d038c5d8 authored over 2 years agoNoticed as part of #4311
46e238febbb28cfab26f424958f2022495ec1aec authored over 2 years ago0bea4f252bf6782010d9874cffb444cbc12c6c85 authored over 2 years ago
b654130b14f8f79113d144633ff9c6c98fceac77 authored over 2 years ago
fix(derive): Support 'group' attribute with Parser
2ea94555f1b4c3b961d36bcd0b52df775f8760a8 authored over 2 years ago5f145a23e922a7a1c5866b4fd0d6eb9b1f2a545b authored over 2 years ago
docs: Fix a few items
106d8f5e90952edf77f53f19ab0041712175267d authored over 2 years ago16e5599b7137610acdef9d50eb1e171023ac9314 authored over 2 years ago
This was supposed to be captured by a deprecation but
- We missed the deprecation on that line
-...
4eb3da20f788614e95c4a8530cf723fca12f6603 authored over 2 years ago
These were copied over from the original `AppSettings` and never updated
despite never being rel...
973f30fb224fc8070296ea0bf918cafd8073ad32 authored over 2 years ago
e53447835c3a7f02041485d3eacc169e98e53941 authored over 2 years ago
feat(assert): Help people know about implicit ArgGroups
6328c14c0c1ef256f7b40024289123da9dc2f40d authored over 2 years agoe9c7ee4f5fdf42641f0aac16d99f6cc08f76967a authored over 2 years ago
1065d6c36bb60c430ed285940d279fd6fd2acf58 authored over 2 years ago
feat(derive): Report the group id
59562f0b9719e4ce97a9b21ae03497c46e2b0548 authored over 2 years agoc16fdbedc17a7ccac6ebc1bdfa195d8215182256 authored over 2 years ago
This will be needed when we support flattening for #3165
42122787d75cff83a7ce97a7dd2129b9a4d8cd69 authored over 2 years agofeat(derive): Implicitly populate groups from some structs
1877e31c211346d767d6acbe1f3c4b40384eaf2b authored over 2 years agofix(error): Improve errors when groups are involved
8f8558a32db29e92808c3a18bb5fb0da47ac5a9a authored over 2 years ago
This implements the basics for #3165, just missing
- `flatten` support (waiting on improved grou...
5017f0d720bcc2d27b8bc91f189e0ec6af9e2ff1 authored over 2 years ago
e1b02a11cc1e9a43655e311452bdfb659eff990a authored over 2 years ago
Ideally, a conflict caused by a group itself would show the relevant
group but that is less impo...
76b75793412c0fbc764e1a8b4d710b93eaaa7ad4 authored over 2 years ago
993b0a88d70432eae7be82448761b28ddd45c180 authored over 2 years ago
470140f41ef5dc9c5350dbcebbec0e35ff7a1f80 authored over 2 years ago
2780a875f0295197a546e8bac791be44942f6778 authored over 2 years ago
feat(derive): Allow skipping the implicit ArgGroup
9ed78ae79385decaa6311ff3463616b6e4b734ed authored over 2 years ago
This was prioritized to allow users to workaround problems when the
implicit `ArgGroup` is getti...
35eeba0b63d6863016b6349a33880d18e011969d authored over 2 years ago
Still doesn't support any attributes within it yet.
6ca0569baa1226c032949d3896ea8edc41c6018b authored over 2 years agodoc(fix typo): no close bracket in example
72469e7e54186b87eef2498fa1821c87860d5fc7 authored over 2 years ago2912a6436f43191c01ba3ab6e3ff9e75d2ac8dc8 authored over 2 years ago
b814c785efcbf0fbad8972820c0c8ec317f434d1 authored over 2 years ago
Tutorials (derive, builder > Tutorials (derive, builder)
71be5463e557c6e70495bd131383adf495897a80 authored over 2 years agofeat: Add ArgGroup::is_required_set
5885cc7f0c83faa432557b7618ee8fcd15720d51 authored over 2 years agoThis is a part of #4228
I thought I needed this for another change but it turned out I didn't.
8fc8b5f2735e596cff8548052774e9c80de1be6f authored over 2 years agoeeafb2574b09deb7bd3147c741a11dfdf36056a6 authored over 2 years ago
refactor: Use getters internally
1e2b7910499a879374fb27f8d45536bdfc0ca6b7 authored over 2 years ago
This originally stemmed from wrapping `Arg` in a `Box`, but we had to
smash it with a hammer as ...
This matches what we hope is the right behavior, see #4283
84055f41e46f0b3aad0a4fb82f674a91d6a6a991 authored over 2 years ago668c021419cf65b2362eaabe05e43fb2d0700cce authored over 2 years ago