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(builder): Set/Append Actions
b417e62ccd29a81b81ae5e01596d203b5835021a authored over 2 years ago
This round out the new style actions and allow us to start deprecating
occurrences.
As part of ...
95c812b4112f4bb6e63d6501af2298d53d30c0b2 authored over 2 years agofeat(parser): SetTrue/SetFalse/Count Actions
70767524c07565358e22f065301b9f419efa83f7 authored over 2 years agoc58a802a1db62c0521dc8d27065666f824dd81ce authored over 2 years ago
feat(builder): Expose ArgAction
20ed49a535d14afac1972dd3cc3003c97bcc744f authored over 2 years ago2e9e5563596d6c8826630bf24fa12961da56e1ee authored over 2 years ago
4afd1aafe5d7b16c729dd9df8782acd2437a2e37 authored over 2 years ago
Now that we can store constants for flags, we can apply defaults for
flags too.
Fixes #3294
06ea57277051f08275cf445c079ef54eb5fd0039 authored over 2 years ago
This is the minimum set of actions for the derive to move off of
`parse`. These are inspired by...
91480de6d2eaf3cdbe5ae743058a69cfc5b1a31d authored over 2 years ago
7163f8d3e823e06d728812cb11e746aac0801130 authored over 2 years ago
e53dd937bee8bc96f617ded67b01355d288727b9 authored over 2 years ago
b1b5820cb424fc89d7fd5797fa34994652f4ad2f authored over 2 years ago
36680593bec619ad5c506166defabfd65f307d18 authored over 2 years ago
2b9598516163b2fc69643c7d96b9c75595eb4080 authored over 2 years ago
7264bf28c7d6e2819388ed8a89cabaca1e873932 authored over 2 years ago
eeca65369719469d1cd97a77faef6afa526d6944 authored over 2 years ago
fb99d2c625bd808bdececb81968924dc23a19383 authored over 2 years ago
refactor(parser): Extract Actions from Parser
66567d16a49c70f99070ae7cc0ac4f603b27d2ee authored over 2 years ago8af7294a26c3100d392fe9c25ecae85584169dcb authored over 2 years ago
12d145c60de163fd8c9d41c28a53fa3afc9f88a2 authored over 2 years ago
70b633b0ea5f78fe0eca2f4c14b7ffee4b4f7171 authored over 2 years ago
This fixes a compatibility issue introduced in 9805fdad1b17fde2f5860969de84d7eb4d8f2b51
5a55f4a8635a95956029046397dfd9c84ff15d0a authored over 2 years ago
My hope is to add group actions as well, so we need to qualify what kind
of action this is.
If we felt this was important long-term, we should fix this outside of
the Action. Since we mig...
This changes how occurrences and values are grouped for multiple values.
Today, it appears as a ...
bba83cb2afbfc90f3a08ece33956cd27c1b4a4c1 authored over 2 years ago
bf7259d6441573bbc8cefc86913b16e1e76b456f authored over 2 years ago
docs(derive): Make raw attribute more discoverable
e43bd1fa7c6726ebce5ea1417f71790a274aaf3e authored over 2 years agoBased on feedback in #3189
b39d3d4f2bf8bfa6491ab58b16074b7db73606b4 authored over 2 years ago6f5aaab44313b5924c0fca4e95a51f2e29571b90 authored over 2 years ago
When creating `PendingValues`, I can't have the lifetime. I could make
it a `Cow` but decided t...
2d8a15453edf9c4df5800497af7565ae5c764fc3 authored over 2 years ago
There is a default_missing_vals case which is slightly different because
its not actually a defa...
a98075e9cd037ff8e04a3288ff38e301c79d004c authored over 2 years ago
f0b2924f36173c7a0d55cdc86006c5954e8f30bc authored over 2 years ago
e1c5cba5f9d4b4ac4ad3cba983e7f3bd7f8b5683 authored over 2 years ago
b862fe227a53b97b13dcd33892e08319e2914708 authored over 2 years ago
7b6bb3298577bc83aa1a5c17887604f80f930f7e authored over 2 years ago
e4271d09d914aaf9f4c3a5b8cce820097ddcd348 authored over 2 years ago
fix(parser): Make behavior more consistent
54a153021b39803843c45a0fa976bc5ea0898bda authored over 2 years agoe41a65d5407b62ebbd69737a85710e57c5014d59 authored over 2 years ago
Especially important is not inferring intent from occurrences as
hopefully that will change with...
2a409be7a5ba5a42f8283177c4e10a91fa08e5bc authored over 2 years ago
ac8320ddb23b7ce20c0e70607664384fe882d65d authored over 2 years ago
Before, if we were in trailing values that aren't delimite, we wouldn't
respect this flag and en...
e268dbfbe9f672f4ce76e8c1e7eada881cc25a63 authored over 2 years ago
I wrote these tests expecting to highlight a bug but it turns out things
were structured just ri...
fix cargo.toml link
92287c81810fc08b95f90e9c70dadf6755be186d authored over 2 years ago3fd5e4bc33b47b851005ec6c61b9925ab7a226cc authored over 2 years ago
Doesn't make sense to respect how the command line ended
302bf63678b63b028fdae569a3c06ed1d9d2ba7b authored over 2 years agoFixes #3761
ccc809a9df18541297a3be758200ddb277e5cd19 authored over 2 years ago
We were independently starting occurrences and starting value groups.
Now we do them at the same...
Inferred flags can make it hard for a future action to trigger behavior
off of the selected alia...
fix: Remove deprecation warning
03ed233ca7d6fab41e72150cad54bbf133b17ac6 authored over 2 years agoThis is a step towards user-visible actions
868320097ee0bc708070eedf5efbaaf6e6bff251 authored over 2 years agof082f499ea93d0c814450b92ff039d9e774a3b86 authored over 2 years ago
refactor(parser): Remove dead code
f2f9aa12249df91819625898fbc72321e14410a8 authored over 2 years agoe8e5890f0814cd0190a9ca2df0f38ac37914056c authored over 2 years ago
fix(validator): Deprecate validator_regex
d7879f107cd2bcf99013b70023ca268a4a0e94e0 authored over 2 years agoFixes #3743
ae97550638caf9cc655244c6578f84139ec70fc4 authored over 2 years agofeat(parser): Allow people to plug into 'value_parser' macro
52c1841d878cc5a0f883ab81d5a0770956d66cb0 authored over 2 years ago
For most users, this won't be worth doing, they can just specify the
parser if needed. Where th...
fix: Deprecate value_parser predecesor
999647f6a07c4af9638f861bfc522ea328abc5d3 authored over 2 years ago408ca3c5d770cd81698ba7a23206c21599d8f316 authored over 2 years ago
814d30b1defea27e78f320ad41cc0c2406552480 authored over 2 years ago
f15a1aab1a17976b099df47a47577c15cb3aec84 authored over 2 years ago
a712adefcd83d279d99abb51af9540a0d040afc8 authored over 2 years ago
9b5b49ceec66781d64ccf39e0cbff390145c3d82 authored over 2 years ago
256643f8d3bc67e7c0ff85f33323d68efa03b994 authored over 2 years ago
573d496bc6bacc757aedf98d50a2cfd4ea391fd5 authored over 2 years ago
`validator_regex` is being ignored for now as I await on a comment
period for #3743
5b6d68f24738f1484dacdd99e6bb44fd958cd1bb authored over 2 years ago
fix(parser): Improve panic messages for get_one, etc
a9b3acfc409fdee75bb22d3bceb0ea81d260b2f8 authored over 2 years agoa1df333ccd69b3222d1bfb385650b559b90babc9 authored over 2 years ago
fix(parser): Simplify the common getter API
ef3121cbdf938fef9a6b2dc199bc15998043939a authored over 2 years agobac68e5d308e172c6aee228a6d046ea763c609df authored over 2 years ago
18793d9db7e4f4f8ce2b02283ee04d84177d5776 authored over 2 years ago
21be77c8543e46dbb49bc66834f2bf2f3d4e77ba authored over 2 years ago
Clap has focused on reporting development errors through assertions
rather than mixing user erro...
fix(parser): Switch to concrete iterators
5aea9adbb64a9c5b46e3c8e0f3656aa15775ca63 authored over 2 years ago53948db66f117e2efeaa0a6969e520213968e126 authored over 2 years ago
78b6f1ee644408077e5636f6c58c0869d7c47c91 authored over 2 years ago
2891a73b2e31ef670090406799e5e76c50e3b5eb authored over 2 years ago
a4e8cc96f9603ac1a060b1b66294a556d1b6eafb authored over 2 years ago
fix(parser): Clean up remove types
0c4a4f17de918beb5602b0cf9521daaca2a3da8f authored over 2 years ago
The remove functions no longer return `Arc` but the core type, at the
cost of requiring `Clone`....
fix(parser): Increase compatibility between old/new approach
bf86f763064cd053bb5fecdfbfc8caf394c5ae59 authored over 2 years ago33e94df2123b695b8447f2dcb23e429bc4123a07 authored over 2 years ago
9a913c40e1ed038c0e5c509d59ef70bad1a3ac44 authored over 2 years ago
a997ee7e10c8ea96128e470512f81a2332b16a2e authored over 2 years ago
c6a3871544cc76b38f3631b8771c056c19eebad9 authored over 2 years ago
30f28798248deacaab95a64cb710a99861b2445b authored over 2 years ago
b3847d12f0fbccb27adfd89d47e3d74fe2b4fff6 authored over 2 years ago
When to show usage? We are currently mixed about it. For `validator`,
we didn't show it at all...
feat(derive): Allow users to opt-in to `ValueParser`
19dac49fab853f154477c9d8f7208fc2946faab8 authored over 2 years agoe23800e10e104084a06e030b205b27620d230415 authored almost 3 years ago
852a1b15d477b78eac8b900b74b79030aacb0ce0 authored almost 3 years ago
5b4ea8e56ee5906d75fe38ee69555a98b987f2c1 authored almost 3 years ago
2fba6155ecd6dfc5ed7b7d07eeb64ecf123733f0 authored almost 3 years ago