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

docs: Update changelog

9069755919800f1e04226200942eff97ab061a1f authored over 2 years ago
Merge pull request #4255 from anshulrgoyal/master

[clap_mangen]fix: use proper sub-command name in manpages

d24e723bb495182332e06068feb90af312ee1540 authored over 2 years ago
chore: Remove .vscode folder

47790e62bfdc90df9e15fb87fe8a17cdbb53889d authored over 2 years ago
fix: Add test for subcommand

cdcf9aad3409a0a12de1fc68b991fea655ec49cf authored over 2 years ago
chore: Release

80fb67edaa93b44c2697126c15f7ffc287c65c74 authored over 2 years ago
docs: Update changelog

83db04c0c3750126f2190b56690e187f68c6a18f authored over 2 years ago
Merge pull request #4289 from martinvonz/generate-subcommand-alias

Generate subcommand alias

cdaa8a18a511e1aa2218f4de5a0ac996c92b7205 authored over 2 years ago
fix(complete): Fix `git diff log <TAB>` for Bash

This continues the work started with the fix for #4273. There was
another bug caused by using th...

9ee45f7f3dc659b3c7b283d2e863c3ca280db70d authored over 2 years ago
fix(complete): Fix command alias and Bash

With the previous fixes for #4273 and #4280 in place, it's now easy to
add support for subcomman...

33fa7c4c19302829b5af3392194d5e7d77044f4c authored over 2 years ago
test(complete): Include a visible command alias

Only zsh includes completion for visible aliases of subcommands. Let's
show that in tests.

8d0ef124e0b956c08aacb198d42e7ca2b0765413 authored over 2 years ago
refactor(complete): Remove unnecessary early return

There seems to be little reason to return early with an empty list
when there are no subcommands...

9c59c69bb01b622f0147ca38f258204d10deead3 authored over 2 years ago
fix(complete): Fix `git diff git <TAB>` for Bash

Early in the Bash-completion script, we build up a string that
identifies the command or subcomm...

ea264fde169b91c0f0cf0728efc5e6c287b54501 authored over 2 years ago
refactor(complete): Remove an always-true check

The `text` variable here is clearly never empty, so don't check if it
is.

35b5f9b2765f78a95edc98849a6475779da230af authored over 2 years ago
refactor(complete): Add an alias for the subcommand

I want to add support for completion of arguments for aliased
subcommands so it's nice to have a...

5020d739d51dc7e541d521fa41c5fdd67c7f9043 authored over 2 years ago
refactor(complete): Add a subcommand to examples

It's useful when testing to have a subcommand in the examples.

6bc8d2632c6e9e7aef2d815a82497e6970aad209 authored over 2 years ago
fix(complete): Make the two examples consistent

The derive-based example has a `///` comment on one argument, which
ends up as a description for...

8b33da3138f24c6dd9f103a61746869686f72f28 authored over 2 years ago
fix(complete): Make example commands match binary

The example binaries were renamed in 89c2b3bb0d88, but the commands in
them were not, making the...

59270b1c811b923db6536bfe845d80847a430038 authored over 2 years ago
chore: Release

9f30493e5fdb1a9105b17828b8b47908eac9fa43 authored over 2 years ago
docs: Update changelog

5cab144f72511e1eb2e976b6e3348f34a9f5f0f5 authored over 2 years ago
Merge pull request #4288 from epage/conflict

fix(error): Specialize the self-conflicts error

7ea950a9ae8056dd268943bf5a1fb3c9fc98c477 authored over 2 years ago
fix(error): Specialize the self-conflicts error

Inspired by rust-lang/cargo#11159

4e9f3cca2c27debe1920ada55d80199bb94c4a71 authored over 2 years ago
test(error): Self-conflict

2c097814e4a6c745cd584b2cd0d26bffd1e6b5f6 authored over 2 years ago
chore: Release

337a9e089b6f15ab3c98a060af55b09dab925ea6 authored over 2 years ago
docs: Update changelog

d25d5b696da3e89288b02763b9aa15e6a92cad3c authored over 2 years ago
Merge pull request #4287 from epage/usage

fix(error): Polish up errors a little

2583b8473d981f8ef139e38f0954489c53e57251 authored over 2 years ago
docs: Clarify support policy

1a8ffc2a78678afce7f4ba367e4c85ed811d77c4 authored over 2 years ago
fix(error): Quote literals consistently

5399f4957234883e543047bc4cc582f4b4b887e7 authored over 2 years ago
fix(error): Stylize escape suggestions

2d86f96d64b9d483204119a8b896a120d0efd27d authored over 2 years ago
fix(error): Format help suggestion as literal

549911a84a208d74e7b670166fafdb4f3472d2d0 authored over 2 years ago
chore: Release

45241277043f2a8cc64230e18574b88b005e765c authored over 2 years ago
docs: Update changelog

d279f7f4e6e25fcb979c2d88622255edbad7cc4b authored over 2 years ago
Merge pull request #4281 from epage/override

fix(parser): Allow one-off self-overrides

929c87c5b85517b21ef237cbcf9b0a0e3c39bd22 authored over 2 years ago
fix(parser): Allow one-off self-overrides

bat needed this.

See also #4261

3683e2c791f8b8fcfd25a958f2fc5eebde4a52ed authored over 2 years ago
fix(parser): SetFalse should also not allow self-override

2d7874948f303d979c20fbb4e184c8b50dfaab15 authored over 2 years ago
chore: Release

bf42ff04d54a66e91f3b624be5c567dc52374753 authored over 2 years ago
docs: Update changelog

824f6589ad7cbd3cc9b0507a67a09612e6a6454d authored over 2 years ago
Merge pull request #4278 from intgr/zsh-completion-fix-multiple-args-handling

fix(complete): Fix zsh handling of multiple arguments

7b886d2c637697008a4a84683a447a69acd4e465 authored over 2 years ago
fix(complete): Fix handling of multiple arguments

89cae3a2b3a56f7e02fcfef3b05625a30c235a08 authored over 2 years ago
chore: Release

f6602c573c7040ef2206f25d74c33c70478dc297 authored over 2 years ago
docs: Update changelog

1e171cfef6afb72f4c61012295de06dd7781c3b7 authored over 2 years ago
Merge pull request #4277 from epage/help

docs(complete): Ensure examples work

f1dffa1446d31bc9489807228c0786782dcb1ccf authored over 2 years ago
Merge pull request #4276 from epage/derive

fix(derive): Ensure clap/structopt attributes still work

31e58cc45bbb605e3904d07b50dc4c8322157137 authored over 2 years ago
Merge pull request #4275 from wolthom/patch-1

Fix inline code snippet typos

cad5cde3e9601c0a759cfbdd25bb881a700952fa authored over 2 years ago
docs(complete): Ensure examples work

Fixes #4272

8aafddff0157dea9683a1d1d42bac781f5d253db authored over 2 years ago
fix(derive): Ensure clap/structopt attributes still work

The problem with updating all code to use non-deprecated APIs, there
aren't tests for the old wa...

24be631f8695ab0090384f5986956f132750f571 authored over 2 years ago
fix(derive): Quote the attribute in the error

79ba02daa5a00c7a141e3c881d374b32bc6f6090 authored over 2 years ago
Fix inline code snippet typos

There are a couple of typos where a backtick is missing / too much which results in slightly bro...

0f45ac723538aaf1f8c87d302a30b703a271d966 authored over 2 years ago
Merge branch 'master' into HEAD

5d9920480cc7cabbfcab8d7eb5fb3c5d82d2fe2c authored over 2 years ago
chore: Release

3a74d8237634979275d364c48228371e50bf8407 authored over 2 years ago
Merge pull request #4271 from tahmid-23/mangen-hide-fix

fix(mangen): Respect more hide values

eed6aec50309699445fa3bc477f01c9cb2921182 authored over 2 years ago
fix(mangen): Respect more hide values

e6cd07643854fbaa353edf44fa5fa9b9f82b5e34 authored over 2 years ago
Merge pull request #4269 from epage/usage

fix(error): Polish `--flag=bad-value` error

9cd193953516c91cbbf8345e47a0cee09d5001a0 authored over 2 years ago
fix(error): Include failed arg in usage in --flag=bad-value error

cb1cd6700985add94cb9f6b6c88948007904aa74 authored over 2 years ago
fix(error): Include 'Usage:' title in --flag=bad-value error

12d76d649ad3e66147bf3ef03029e1d1d20f13de authored over 2 years ago
test(parser): Verify existing --flag=bad-value case

3a8d2a579bce8e3a1555a7e905fdd796fee591d2 authored over 2 years ago
Merge pull request #4267 from jpgrayson/override-usage-help-4

docs: Update multiline usage override rules

c7dd03e7eaef033af22522c47ed369732ad7e679 authored over 2 years ago
docs: Clarify how to use examples

When we restuctured the examples, we lost the notes on how they should
be structured, so this ad...

f925ca84b66f9ae736ce38a600d86d746df783ac authored over 2 years ago
docs: Update multiline usage override rules

The styling of usage has changed in #4188 such that the usage string is on
the same line as the ...

7dd216b1e634559982d5601b9d14cabdc2f439d9 authored over 2 years ago
docs: Clean up StyledStr entries

a0c8c7dbd5ac8da8585832603360603d36bfe93a authored over 2 years ago
chore: Release

01672f8359f6046f61d2cbcd69270cf2eb859fc7 authored over 2 years ago
Merge pull request #4262 from epage/conflict

fix(parser): Conflict-with-self is back on by default

a5ce7a01875c7ea4425f2ccc6b21a63d10617c55 authored over 2 years ago
fix(parser): Conflict-with-self is back on by default

See #4261 for more details

9bccded7ed879e8dbbcd0f31ed0add9fdb008c6c authored over 2 years ago
Merge pull request #4259 from epage/try

perf: Drop use of Into::into for '?'

7998669219510246c9cacb96ab88351a678e3d39 authored over 2 years ago
perf: Drop use of Into::into for '?'

For binary size, this only dropped 0.2 KiB

For performance, before:
- parse_rustup_with_sc t...

4a1552cc0e72333bfd3b0813fa48998ef62617a9 authored over 2 years ago
refactor: Remove use of '?'

c4b3a4f4916ab6610d4d297d5729266263b0181b authored over 2 years ago
Merge pull request #4258 from epage/features

fix(help)!: Wrapping is behind wrap_help

18ed37ee6767c3d1ac5cc1ac289d0e91cd71a3d0 authored over 2 years ago
fix(help)!: Wrapping is behind wrap_help

If users don't want `wrap_help` feature, they can put newlines in where
needed. Seems odd to su...

3c9bca5ead286fb250fad210aa024b4a285d6dd4 authored over 2 years ago
docs: Raise visibility of 'string' feature

bac3eb328005bf1c975ab2bf1fd71b824d7a111e authored over 2 years ago
docs: Help migrate with default features

2f93c1790f6aa722294be697d153cd4d1cb1fc7a authored over 2 years ago
docs: Update changelog

3772bdf041bbb38310c47ded9479289e37a35f8a authored over 2 years ago
Merge pull request #4257 from epage/os_str

feat(parser): Support more types with `value_parser!`

c5c3c00735c3a31ca5cd5307da4eab686bb21b5f authored over 2 years ago
style: Make clippy happy

bd6b67c60505ce13e447d65e5323d4633655ce91 authored over 2 years ago
feat(parser): Add From<str> and From<String>

31f9234cc7e608dc77c501a224596a22b48144a5 authored over 2 years ago
refactor(parser): Clarify FromStr from future FromStr

931b6338f1258a12df29bfc8dbb3c5e839295258 authored over 2 years ago
docs: Clarify value_parser implementation

76ec238b455945eca5600f5cb56984ccf2383ad7 authored over 2 years ago
feat(parser): Support From<OsString> for value_parser

9f49c0c63022e04c5218fb5f0ff89ce42cb3f62c authored over 2 years ago
feat(parser): Support From<&OsStr> types for `value_parser!`

Last time I tried this, I wasn't able to resolve the lifetime issues. I
seemed to have gotten i...

e64ed91a4ee0a6251e280f87c700d0d0cdd47b51 authored over 2 years ago
fix: Format with rustfmt

637e7be3a4477e6f5e7a5e3674c5b05fdcf6fc4c authored over 2 years ago
fix: Use proper sub-command name in manpages

6436d19b686190d8389066c511dd3388ec0c996c authored over 2 years ago
Merge pull request #4248 from epage/ansi

feat: Allow users to render usage, help, and errors with ANSI

0380d8deca285a7baa87e5dd2c446e19ead60579 authored over 2 years ago
feat: Expose ANSI styling to the user

This gives users the control over where clap outputs while still getting
colors. For users who ...

037b07577cfc9c3f9f15e32b9294216e4870aaaf authored over 2 years ago
feat(error): Add a 'render' method

a2272a2c50c7d644ca0a5e859a4b72dcc64e6dda authored over 2 years ago
fix(help)!: Provide styled usage to user

This will open us up to providing the user with access to the styled
version in the future.

652e71d6166d9beeb6dfd6f4f6c5d1e283d98651 authored over 2 years ago
fix(help): Replace help writers with renderers

The writer is less convenient and isn't offering any performance
benefits of avoidign the extra ...

4280fdfcbddd9a255fd15e568eb4b3739e715b1d authored over 2 years ago
Merge pull request #4247 from YC/master

doc(changelog): error-context, help and usage feature flags

8e510650a98a528d3c016cfdfddbe67ae3a470a5 authored over 2 years ago
docs: Changelog - error-context, help, usage flags

e5ced8bae6448a547b0f3e8f627748752458a065 authored over 2 years ago
docs: Clarify when quoting is required for arg

a76f622d17737296652ee0f0d18f142d60755e34 authored over 2 years ago
chore: Release

b44dbdf09d4279493ea851165a4d4ea0ef0a7c8e authored over 2 years ago
Merge pull request #4244 from epage/docs

docs: Clarify value parser

32637d4d09792381a3cf3bebb5901f1bdb91c9ce authored over 2 years ago
docs: Clarify value parser

Things that tripped up a user
- Derive reference was misunderstood to say that the only alternat...

2bbb81f311fa379ae656a6e361e95b3e64eb433e authored over 2 years ago
docs(ref): Remove dead example

This was missed in the migration to the reference being on docs.rs. Not
feeling its worth findi...

99dfe7404a41cdfdec5d09352e8ec21af57be450 authored over 2 years ago
chore: Release

16c46b4b3b54dcb5ad2126f87dc9201a6b2d2b38 authored over 2 years ago
chore: Release

a82029c70759f5469ab76c6700ddfec5935ba297 authored over 2 years ago
chore: Release

af64699912401443786d84fe040f5d93761300d1 authored over 2 years ago
docs(lex): Update changelog

21e1cf039b02d757d8a9684831fab72c37145a9f authored over 2 years ago
Merge pull request #4240 from tshepang/patch-1

docs: a comma felt wrong there

f27769810e15093dba68f5812055581fde4ae695 authored over 2 years ago
docs: Further clarify the text

b0027b5943011362e13eb96961dc48141dbb8c0b authored over 2 years ago
a comma felt wrong there

a6822a27b43426c7f9dc5339725ba01bcacfd927 authored over 2 years ago
Merge pull request #4239 from epage/alias

fix(error): Use a non-generic Error alias

ba56ac770c5c34cf80bb0f4d4eddeb9b6793fd35 authored over 2 years ago
fix(error): Remove RawFormatter

The likelihood of using this is a lot lower now with `KindFormatter` and
`error-context` feature...

4674e434935196241e1c3341d9a3e5ec59386de9 authored over 2 years ago