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(clap_complete_fig): Switch to using `ArgAction`
2b417c8593aa1571c2589d1b272c7b4afd442ac3 authored over 2 years ago85b1b7711ac12009c94c4ece1809fc90a6985acc authored over 2 years ago
Bumps [pre-commit/action](https://github.com/pre-commit/action) from 2.0.3 to 3.0.0.
- [Release ...
doc: Explain why examples are missing
64918b516f2a54431bb835f03a9d189510361999 authored over 2 years agoFixes #3865
7009ae63c822fd1d146619ecfcabc7b151e1d45c authored over 2 years ago6614ffa6c8b90fa93c35c530febb119c7e10ba58 authored over 2 years ago
a67746ecbe21e14dff3be02dfe988978a069cda3 authored over 2 years ago
feat: add `mut_subcommand` method to modify existing subcommands
5ca73f3299054e084591134711db46599ff7f357 authored over 2 years ago
this allows us modify existing subcommands on an existing/already built
Command struct
4cf9f392ae241c54c4193ba9f62fb6e3cfc95564 authored over 2 years ago
0025944d9e90c1b9271999424a3ee2d7cf08e74a authored over 2 years ago
b4a1362486a95309c44f4ba9ef24038f1281f384 authored over 2 years ago
3e80393e4385d6a40ca9a465c3ed0cbf232d7315 authored over 2 years ago
fix(parser): Ensure globals override env vars
f406d99b95b766ae264792db475e8e2e260f1ab4 authored over 2 years ago
This fixes a bug introduced in 4a694f3592b702f86c7a6846b867b61d9feff5fe
when we were trying to m...
f082eb6d4aded355ac70566a252a9e97a653292e authored over 2 years ago
test: Verify auto-traits for core types
9962393c20f2d1521aefdcf2562bef1380b4ccbe authored over 2 years ago
By checking these types, we'll get some other types for free, like
`Command` verifying `Arg`.
T...
3c4e684c8bcb49c7c1ea8db288656cf0d40dd9f5 authored over 2 years agoPut once_cell reexport into __macro_refs
a05f4d34a30f707bf3e6cec17bec85057522746e authored over 2 years ago
Without copyright assignment, everyone owns their own copyright, so
tried to reflect that.
See ...
5ba41d775c7f966eeac038d11de71e1dc936ed0a authored over 2 years ago
When upgrading our company projects from clap 3.1 to clap 3.2 I had
to fix several references to...
Fix spelling of 'APIs' in the derive docs
08d12b6db46700cd9b78fb37ce761a9e5bc09827 authored over 2 years ago7e785ad9d6d6b8afd3c632b753cab864d848a983 authored over 2 years ago
fix(docs): Update deprecations to latest target
b2779f2249d9554168562c2f30a5929060c04e73 authored over 2 years ago
Before, I was mixed on doing this as ideally people would upgrade
through the minor releases, go...
3823df9bbe03efefcb49319834a72cf2cfa2ede9 authored over 2 years ago
8a659bc2b43c33d57597da3c14156f9e2ef4f235 authored over 2 years ago
fix(parser): Don't panic on `--=`
ceb7ee4f54fba8681f418a4d1e92ed3d91f30cbe authored over 2 years ago
This broke when we introduced clap_lex and then did a refactor on top.
We put in guards to say t...
Fix typo in ErrorKind::ValueValidation message
dabb5713d4d60b52deaef21c42c9d9dae57f5def authored over 2 years ago690530a19120e47415026498370ee57d74aad721 authored over 2 years ago
chore: Bump MSRV from 1.56.0 to 1.56.1
ae78f88d48cfd64cd93875d54103a51cdf7e5382 authored over 2 years ago
Being a patch release, I'm fine doing this outside of a minor release.
This avoids us having to ...
chore: trim Cargo manifest fields whose values are defaults
8c28bec3960aebae7eb9ec1509aa8d5ad2760c7f authored over 2 years ago
See...
- https://doc.rust-lang.org/cargo/reference/manifest.html?#the-documentation-field
- http...
fix(parser): Add value_source as a replacement for occurrences_of
5fdc26ee9ad3edd47b516b27460dec876c09f98e authored over 2 years ago
This was an oversight when listing out the options as identified when
looking at oxidecomputer/h...
test(complete): Ensure we infer path completions from value_parser
48d23b4c026ce7013bb50a49da37d8afb851ded3 authored over 2 years agoLooks like I forgot to add a test case for this.
I put this in `clap_complete` because I expect...
ea3bd55993d3ff7437e4ef2374bd60816defe144 authored over 2 years agoa7698e9a1dbaa590568722bde3b778f39c05c4f1 authored over 2 years ago
be2a2c050a9222d384b1bce3b8d62a39e5fd3b1f authored over 2 years ago
docs: Provide a hybrid-flag example
d5bf866a5d0cfc7e77ca6f20cff708823ce8a8e8 authored over 2 years ago
Between
- `ArgAction::SetTrue` storing actual values
- `ArgAction::Set` making it easier for der...
c9988db97f05ef6b0d9ef4fde774e68ef48fedf6 authored over 2 years ago
fix(help): Improve debug output for help
82fd204ab5bd071678c6a0d6c08998edcd759ace authored over 2 years agofix: default_value_os_t
3c9f24ac2937142232782bbea728a25edb3f565a authored over 2 years agoeba753f16288486e21eeb177a3e70fcef588afeb authored over 2 years ago
c443aa0b5d55476e54731949885b0b5260ab07ac authored over 2 years ago
17d975743a318d3f4488cc2247d593e7e4ca2421 authored over 2 years ago
4d521429beecec2058e3aed8b651ee9c68d30813 authored over 2 years ago
b1be436eda87eac5cffd7b34f4df5f9bc2102570 authored over 2 years ago
20358ff295cc6ef98e13d3a5b22950bbd9a56c7d authored over 2 years ago
241a6fcfbc6a9066d10bce1bc140b36d3cb1abc2 authored over 2 years ago
fix(derive): Provide derive-friendly deprecation messages
ffd24af5fe1c8f2aacc7f709daac1e50f18ae4f2 authored over 2 years ago
This is a step towards #3822. I'd say this fixes it but I'd want some
user acceptance before do...
11fe3ce4049973bc6b477df5f7da8f9bbdde628c authored over 2 years ago
ae81b09359775a7a9bc09ced77391f98ab0a91d5 authored over 2 years ago
ce5cc9282023e772273af45e867c2f3a25a3a23d authored over 2 years ago
The main thing that might slip through is `bool`. We'll see if we an
re-introduce that.
63a17a40ad1ea1e70eac14e3d3b96529f0b84268 authored over 2 years ago
d290f11b8d5389d033bcfb550a7fb8717baeafd2 authored over 2 years ago
fix: Allow people to opt-in to deprecations
b619699539fb18b2d62f11d27fafebf7a85cafef authored over 2 years ago
This adds a new `Cargo.toml` feature named `deprecated` that opts
controls whether deprecation w...
refactor: Switch to once_cell
d71e38ebc285d436601ab247b1e4a1bd6c425157 authored over 2 years ago
Though this is changing an API item we export, we do not consider this a
breaking change because...
b541f2c8809f847782442f90ba2d3f370263c5ae authored over 2 years ago
c510c9da19f6e3519718c3d3692d98704f46140a authored over 2 years ago
478609a937917407956111f6602d62b65aa8127a authored over 2 years ago
7836beda058f3ca25f18e9e4d2c5b37fae2d65ef authored over 2 years ago
ea09f67666dd691b6e49dbb6d2464c12c148e66f authored over 2 years ago
a770000e552be79062b6350eb71fd8f2bce39486 authored over 2 years ago
fix(derive): Switch default action/parser for `unstable-v4`
4001db6bdff986adc1b2dab9fa82729fe90cf9ed authored over 2 years agodocs: update return signature for try_from_os_str
1ba6ef908001bc135460b7e9d8f692d5afeca29a authored over 2 years ago0a529c14cc40ee1bddf41df144a0d501d1b67fe0 authored over 2 years ago
0c367104ae382f8e3d91c5dba99728c7f96c4301 authored over 2 years ago
52403cd8cce4be55a942abc013561a997c28e552 authored over 2 years ago
cc76d2881cdc0e2419bcfa4e594ed2ef9cc15710 authored over 2 years ago
With the new `ArgMatches`, we need to know what the inner type is.
Unfortunately, #3142 didn't ...
368624426410af96831cf20238d7c5fa3ecfc543 authored over 2 years agob7668e84f5ed3565579c469dc3e6e7bcd12aeb8f authored over 2 years ago
483b64ee8e38d1032a318d7ddc033611d9554070 authored over 2 years ago
fix(derive): Tweak spans
a96e7cfc7fc155e86f4e08767b934bfcb666b665 authored over 2 years ago
Putting it on the doc comment is weird. We are now putting it on the
field which is a slight im...
0096a4e881518f21463677f3f7f075073797f9ba authored over 2 years ago
9757e38d05603a07c08919e8e448094c0794e652 authored over 2 years ago
650a29c18b9bdc4f9d1e20f4eb4845f9d413e167 authored over 2 years ago
73ea5bc4a9c0ab57d1e6e0b01a53ad02ab79a6c8 authored over 2 years ago
4e56acffcebd6f9b37f0714f3d3b69beacb564b6 authored over 2 years ago
45d8bb1ff450d6f26332fc16ead26254fe83c767 authored over 2 years ago
bd5605432cc83c6e562ae73b792f81bb42f6a911 authored over 2 years ago
Follow up to #3815
d25b80579fe13cafd280f7579abe18da0fb03daf authored over 2 years ago1d053e9b321d49afcd3e83ee5e9b2ed528194d9b authored over 2 years ago
d72b313bf24943ee2b5640a180be6aaab4b13055 authored over 2 years ago
fix(assert): Tweak bad arg panics
c8b45f75b84f566c59f97b752f52b6d62b415288 authored over 2 years ago3eacf5b8b0f1e79955a0e7f94dc18b1f6a6b6502 authored over 2 years ago
a1320754f939f5af1e12b487492b07535b38fbfa authored over 2 years ago
97f80412290d3bfba264cf880f4cebe36e2d4e55 authored over 2 years ago
066c35163981a0ca20f3b484cd8fad807b86effa authored over 2 years ago
docs(parser): Encourage people to read the whole deprecation message
8bb3853eb5e19e9190d142ebb9ae230312da89f1 authored over 2 years agoca2846615cfcc439dd9465990ff0cc69aa6bf991 authored over 2 years ago
feat(parser): Provide updated version of 'is_present'
1c462be57ae2c546141646e0339baa8e0c66e180 authored over 2 years ago