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
9069755919800f1e04226200942eff97ab061a1f authored over 2 years ago
[clap_mangen]fix: use proper sub-command name in manpages
d24e723bb495182332e06068feb90af312ee1540 authored over 2 years ago47790e62bfdc90df9e15fb87fe8a17cdbb53889d authored over 2 years ago
cdcf9aad3409a0a12de1fc68b991fea655ec49cf authored over 2 years ago
80fb67edaa93b44c2697126c15f7ffc287c65c74 authored over 2 years ago
83db04c0c3750126f2190b56690e187f68c6a18f authored over 2 years ago
Generate subcommand alias
cdaa8a18a511e1aa2218f4de5a0ac996c92b7205 authored over 2 years ago
This continues the work started with the fix for #4273. There was
another bug caused by using th...
With the previous fixes for #4273 and #4280 in place, it's now easy to
add support for subcomman...
Only zsh includes completion for visible aliases of subcommands. Let's
show that in tests.
There seems to be little reason to return early with an empty list
when there are no subcommands...
Early in the Bash-completion script, we build up a string that
identifies the command or subcomm...
The `text` variable here is clearly never empty, so don't check if it
is.
I want to add support for completion of arguments for aliased
subcommands so it's nice to have a...
It's useful when testing to have a subcommand in the examples.
6bc8d2632c6e9e7aef2d815a82497e6970aad209 authored over 2 years ago
The derive-based example has a `///` comment on one argument, which
ends up as a description for...
The example binaries were renamed in 89c2b3bb0d88, but the commands in
them were not, making the...
9f30493e5fdb1a9105b17828b8b47908eac9fa43 authored over 2 years ago
5cab144f72511e1eb2e976b6e3348f34a9f5f0f5 authored over 2 years ago
fix(error): Specialize the self-conflicts error
7ea950a9ae8056dd268943bf5a1fb3c9fc98c477 authored over 2 years agoInspired by rust-lang/cargo#11159
4e9f3cca2c27debe1920ada55d80199bb94c4a71 authored over 2 years ago2c097814e4a6c745cd584b2cd0d26bffd1e6b5f6 authored over 2 years ago
337a9e089b6f15ab3c98a060af55b09dab925ea6 authored over 2 years ago
d25d5b696da3e89288b02763b9aa15e6a92cad3c authored over 2 years ago
fix(error): Polish up errors a little
2583b8473d981f8ef139e38f0954489c53e57251 authored over 2 years ago1a8ffc2a78678afce7f4ba367e4c85ed811d77c4 authored over 2 years ago
5399f4957234883e543047bc4cc582f4b4b887e7 authored over 2 years ago
2d86f96d64b9d483204119a8b896a120d0efd27d authored over 2 years ago
549911a84a208d74e7b670166fafdb4f3472d2d0 authored over 2 years ago
45241277043f2a8cc64230e18574b88b005e765c authored over 2 years ago
d279f7f4e6e25fcb979c2d88622255edbad7cc4b authored over 2 years ago
fix(parser): Allow one-off self-overrides
929c87c5b85517b21ef237cbcf9b0a0e3c39bd22 authored over 2 years agobat needed this.
See also #4261
3683e2c791f8b8fcfd25a958f2fc5eebde4a52ed authored over 2 years ago2d7874948f303d979c20fbb4e184c8b50dfaab15 authored over 2 years ago
bf42ff04d54a66e91f3b624be5c567dc52374753 authored over 2 years ago
824f6589ad7cbd3cc9b0507a67a09612e6a6454d authored over 2 years ago
fix(complete): Fix zsh handling of multiple arguments
7b886d2c637697008a4a84683a447a69acd4e465 authored over 2 years ago89cae3a2b3a56f7e02fcfef3b05625a30c235a08 authored over 2 years ago
f6602c573c7040ef2206f25d74c33c70478dc297 authored over 2 years ago
1e171cfef6afb72f4c61012295de06dd7781c3b7 authored over 2 years ago
docs(complete): Ensure examples work
f1dffa1446d31bc9489807228c0786782dcb1ccf authored over 2 years agofix(derive): Ensure clap/structopt attributes still work
31e58cc45bbb605e3904d07b50dc4c8322157137 authored over 2 years agoFix inline code snippet typos
cad5cde3e9601c0a759cfbdd25bb881a700952fa authored over 2 years agoFixes #4272
8aafddff0157dea9683a1d1d42bac781f5d253db authored over 2 years ago
The problem with updating all code to use non-deprecated APIs, there
aren't tests for the old wa...
79ba02daa5a00c7a141e3c881d374b32bc6f6090 authored over 2 years ago
There are a couple of typos where a backtick is missing / too much which results in slightly bro...
0f45ac723538aaf1f8c87d302a30b703a271d966 authored over 2 years ago5d9920480cc7cabbfcab8d7eb5fb3c5d82d2fe2c authored over 2 years ago
3a74d8237634979275d364c48228371e50bf8407 authored over 2 years ago
fix(mangen): Respect more hide values
eed6aec50309699445fa3bc477f01c9cb2921182 authored over 2 years agoe6cd07643854fbaa353edf44fa5fa9b9f82b5e34 authored over 2 years ago
fix(error): Polish `--flag=bad-value` error
9cd193953516c91cbbf8345e47a0cee09d5001a0 authored over 2 years agocb1cd6700985add94cb9f6b6c88948007904aa74 authored over 2 years ago
12d76d649ad3e66147bf3ef03029e1d1d20f13de authored over 2 years ago
3a8d2a579bce8e3a1555a7e905fdd796fee591d2 authored over 2 years ago
docs: Update multiline usage override rules
c7dd03e7eaef033af22522c47ed369732ad7e679 authored over 2 years ago
When we restuctured the examples, we lost the notes on how they should
be structured, so this ad...
The styling of usage has changed in #4188 such that the usage string is on
the same line as the ...
a0c8c7dbd5ac8da8585832603360603d36bfe93a authored over 2 years ago
01672f8359f6046f61d2cbcd69270cf2eb859fc7 authored over 2 years ago
fix(parser): Conflict-with-self is back on by default
a5ce7a01875c7ea4425f2ccc6b21a63d10617c55 authored over 2 years agoSee #4261 for more details
9bccded7ed879e8dbbcd0f31ed0add9fdb008c6c authored over 2 years agoperf: Drop use of Into::into for '?'
7998669219510246c9cacb96ab88351a678e3d39 authored over 2 years agoFor binary size, this only dropped 0.2 KiB
For performance, before:
- parse_rustup_with_sc t...
c4b3a4f4916ab6610d4d297d5729266263b0181b authored over 2 years ago
fix(help)!: Wrapping is behind wrap_help
18ed37ee6767c3d1ac5cc1ac289d0e91cd71a3d0 authored over 2 years ago
If users don't want `wrap_help` feature, they can put newlines in where
needed. Seems odd to su...
bac3eb328005bf1c975ab2bf1fd71b824d7a111e authored over 2 years ago
2f93c1790f6aa722294be697d153cd4d1cb1fc7a authored over 2 years ago
3772bdf041bbb38310c47ded9479289e37a35f8a authored over 2 years ago
feat(parser): Support more types with `value_parser!`
c5c3c00735c3a31ca5cd5307da4eab686bb21b5f authored over 2 years agobd6b67c60505ce13e447d65e5323d4633655ce91 authored over 2 years ago
31f9234cc7e608dc77c501a224596a22b48144a5 authored over 2 years ago
931b6338f1258a12df29bfc8dbb3c5e839295258 authored over 2 years ago
76ec238b455945eca5600f5cb56984ccf2383ad7 authored over 2 years ago
9f49c0c63022e04c5218fb5f0ff89ce42cb3f62c authored over 2 years ago
Last time I tried this, I wasn't able to resolve the lifetime issues. I
seemed to have gotten i...
637e7be3a4477e6f5e7a5e3674c5b05fdcf6fc4c authored over 2 years ago
6436d19b686190d8389066c511dd3388ec0c996c authored over 2 years ago
feat: Allow users to render usage, help, and errors with ANSI
0380d8deca285a7baa87e5dd2c446e19ead60579 authored over 2 years ago
This gives users the control over where clap outputs while still getting
colors. For users who ...
a2272a2c50c7d644ca0a5e859a4b72dcc64e6dda authored over 2 years ago
This will open us up to providing the user with access to the styled
version in the future.
The writer is less convenient and isn't offering any performance
benefits of avoidign the extra ...
doc(changelog): error-context, help and usage feature flags
8e510650a98a528d3c016cfdfddbe67ae3a470a5 authored over 2 years agoe5ced8bae6448a547b0f3e8f627748752458a065 authored over 2 years ago
a76f622d17737296652ee0f0d18f142d60755e34 authored over 2 years ago
b44dbdf09d4279493ea851165a4d4ea0ef0a7c8e authored over 2 years ago
docs: Clarify value parser
32637d4d09792381a3cf3bebb5901f1bdb91c9ce authored over 2 years ago
Things that tripped up a user
- Derive reference was misunderstood to say that the only alternat...
This was missed in the migration to the reference being on docs.rs. Not
feeling its worth findi...
16c46b4b3b54dcb5ad2126f87dc9201a6b2d2b38 authored over 2 years ago
a82029c70759f5469ab76c6700ddfec5935ba297 authored over 2 years ago
af64699912401443786d84fe040f5d93761300d1 authored over 2 years ago
21e1cf039b02d757d8a9684831fab72c37145a9f authored over 2 years ago
docs: a comma felt wrong there
f27769810e15093dba68f5812055581fde4ae695 authored over 2 years agob0027b5943011362e13eb96961dc48141dbb8c0b authored over 2 years ago
a6822a27b43426c7f9dc5339725ba01bcacfd927 authored over 2 years ago
fix(error): Use a non-generic Error alias
ba56ac770c5c34cf80bb0f4d4eddeb9b6793fd35 authored over 2 years ago
The likelihood of using this is a lot lower now with `KindFormatter` and
`error-context` feature...