Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/clap-rs/clap_generate

Shell Completion Script and Manpage generation
https://github.com/clap-rs/clap_generate

fix(completions/zsh.rs): Don't pass -S to _arguments if Zsh is too old

If you do pass it than _arguments considers -C as a possible option in
the completions.

16b4f143ff466b7ef18a267bc44ade0f9639109b authored almost 7 years ago by Segev Finer <[email protected]>
fix(completions/zsh.rs): Maybe fix completions with mixed positionals and subcommands

Optional positionals mixed with subcommands will still break this, since
I can't see how to tell...

1146f0da154d6796fbfcb09db8efa3593cb0d898 authored almost 7 years ago by Segev Finer <[email protected]>
feat(completions/zsh.rs): Complete positional arguments properly

This changes the way we complete positionals to complete them using
_arguments, as should be don...

e39aeab8487596046fbdbc6a226e5c8820585245 authored almost 7 years ago by Segev Finer <[email protected]>
note-to-self comments

dc0d8ba89c8bc863a7f628377fc98593a6a1ce32 authored almost 7 years ago by Will Murphy <[email protected]>
Fix typos

cc341243f33a99c30842a6df1a7cb5c5f08ebfcc authored almost 7 years ago by Matt Kraai <[email protected]>
Fix typo

b83f387b8065bf280a925e23541db4605b98d6b6 authored almost 7 years ago by Matt Kraai <[email protected]>
fix(completions/zsh.zsh): Remove redundant code from output

Fixes #1142

0e185b922ed1e0fd653de00b4cd8d567d72ff68e authored almost 7 years ago by Segev Finer <[email protected]>
Merge branch 'master' into issue-1135

1ab5c2d3167bb9de782574c60fe05d5403cf010b authored almost 7 years ago by William Murphy <[email protected]>
Merge pull request #1143 from kbknapp/trim-fat

Trim fat

d78341f640f1d8ec142f24782dac9d7e9565cbde authored almost 7 years ago by Kevin K <[email protected]>
docs: fixes typo in docs version

3fef176543daf9cc4109b23b7395d21dde16927a authored almost 7 years ago by Kevin K <[email protected]>
chore: udpates html doc root

3e97085e5828f2eff9aaf1f436ecd2d1efeb1bcc authored almost 7 years ago by Kevin K <[email protected]>
chore: increase version

92caafaf516518f8b5758ee16326896f9577e38c authored almost 7 years ago by Kevin K <[email protected]>
docs: updates contributors list

e1313a5a0f69d8f4016f73b860a63af8318a6676 authored almost 7 years ago by Kevin K <[email protected]>
fix: fixes the ripgrep benchmark by adding a value to a flag that expects it

d26ab2b97cf9c0ea675b440b7b0eaf6ac3ad01f4 authored almost 7 years ago by Kevin K <[email protected]>
perf: further debloating by removing generics from error cases

eb8d919e6f3443db279ba0c902f15d76676c02dc authored almost 7 years ago by Kevin K <[email protected]>
chore: adds .idea project folder to ignore list

6f25b2830a5e5d6b42760c8113d60f973fb2a138 authored almost 7 years ago by Kevin K <[email protected]>
tests: cleans up certain test cases litle by little

7ac5a5af9f5e743aeb6421a980b739d6069b0967 authored almost 7 years ago by Kevin K <[email protected]>
tests: adds a check_output2 function to compare output to one of two possible solutions

79c36396dbdaa0a800063d15cc44326207948d49 authored almost 7 years ago by Kevin K <[email protected]>
perf: debloats clap by deduplicating logic and refactors

This commit removes heavy use of macros in certain functions which
drastically increased code si...

03e413d7175d35827cd7d8908d47dbae15a849a3 authored almost 7 years ago by Kevin K <[email protected]>
Merge pull request #1141 from segevfiner/zsh-long-options-completion-fix

Fix completion of long option values in Zsh

28a55f28a29bfcd4ab6aa6dc8d75732929a57edf authored almost 7 years ago by Kevin K <[email protected]>
Merge branch 'master' into zsh-long-options-completion-fix

eac4ca7898bc51fcd767f80a1248a4621fc79538 authored almost 7 years ago by Kevin K <[email protected]>
Merge pull request #1138 from cldershem/fixDocLinks

docs: fixes broken links.

f3cd07bf6a377d6e1d7c4fdc6f77b5f02a604b92 authored almost 7 years ago by Kevin K <[email protected]>
Merge branch 'master' into fixDocLinks

a23135a46a7c88f3a9eec5da8bb094c5d44a095a authored almost 7 years ago by Kevin K <[email protected]>
Merge pull request #1130 from fluffysquirrels/master

Fix for issue #1129: "Bug: Bash completion is broken when sub-commands have hyphens"

666c5184d56903e7d55c04767109dce0df2c01c6 authored almost 7 years ago by Kevin K <[email protected]>
fix(completions/zsh.rs): Fix completion of long option values

Long options take their argument either in the next word or after an
equals sign, but the Zsh co...

46365cf8be5331ba04c895eb183e2f230b5aad51 authored almost 7 years ago by Segev Finer <[email protected]>
docs: fixes broken links.

Small correction to add a link to the source in the documentation, previously
it was a placehold...

56e734b839303d733d2e5baf7dac39bd7b97b8e4 authored almost 7 years ago by Cameron Dershem <[email protected]>
Test for Issue 1135

It looks like required_unless_one has incorrect behavior if the
argument it applies to also has ...

63cc4bc6a75fae6fee6b4686ea8985db27df15d8 authored almost 7 years ago by Will Murphy <[email protected]>
fix(bash completion): Change the bash completion script code generation to support hyphens.

ba7f1d18eba7a07ce7f57e0981986f66c994b639 authored about 7 years ago by Alex Helfet <[email protected]>
tests(auto-completion): Update build_app_special_commands to include a sub-command with a hypen.

The tests pass but the bash completion script won't work yet.

b446a561cef1b8054bb5f4c3451b888771680cf7 authored about 7 years ago by Alex Helfet <[email protected]>
tests(auto-completion): Normalise names in tests/completions.rs

From -> To
===========================================
with_underscore -> (with_)?spe...

09d1d4a5681961e4d8dfe909f196ee1277c58a98 authored about 7 years ago by Alex Helfet <[email protected]>
Merge pull request #1124 from Enet4/arg_enum_trailing_comma

Support trailing comma in arg_enum! fields

e0f8479e0f6522af24484abc79aee24d60b939d2 authored about 7 years ago by Kevin K <[email protected]>
Support trailing comma in arg_enum! fields

dde7fcf1cab569241c55211d8eccf94919786baf authored about 7 years ago by Eduardo Pinho <[email protected]>
Merge pull request #1123 from rom1v/readme

Update default features in README

f38cb1dbb724a5e990bd93e59aef4c2925c7ea74 authored about 7 years ago by Kevin K <[email protected]>
Update default features in README

Since commit ac97edde9042203771e905be9c429d36b39df277, feature
"wrap_help" is not enabled by def...

d954b3c73464b1449f8510ca94d4519e1920282e authored about 7 years ago by Romain Vimont <[email protected]>
Merge pull request #1122 from kbknapp/hide-env-vars

Hide env vars

4442af96c61a7e29acd3d70d768663cd63e324b7 authored about 7 years ago by Kevin K <[email protected]>
chore: increase version

e962f2ceced8c04105ad12a4ca719daf2942667b authored about 7 years ago by Kevin K <[email protected]>
tests: adds tests for both showing and hiding the values inside ENV vars

ebc35bdc9180fc0c9275537c623b11ef0414a3b4 authored about 7 years ago by Kevin K <[email protected]>
api(Arg): adds Arg::hide_env_values(bool) which allows one to hide any current env values and display only the key in help messages

fb41d062eedf37cb4f805c90adca29909bd197d7 authored about 7 years ago by Kevin K <[email protected]>
Merge pull request #1121 from ignatenkobrain/patch-4

bump lazy_static to 1

a652db08eb869048e6bd1fb8c5244431eba26926 authored about 7 years ago by Kevin K <[email protected]>
bump lazy_static to 1

f74e2dc45faa817589abfd0aed56ffaa530bb86f authored about 7 years ago by Igor Gnatenko <[email protected]>
Merge pull request #1119 from kbknapp/case-insensitive

Case insensitive

bc9ab21934cf657723633ee5b94e77f11a2884f7 authored about 7 years ago by Kevin K <[email protected]>
chore: increase version

58a57d901be9579fcc5741b5fdb69202e0e83309 authored about 7 years ago by Kevin K <[email protected]>
docs: updates the contributors list

4e2881c3d23479d8c20e3c58e953838202f59b69 authored about 7 years ago by Kevin K <[email protected]>
api: Adds Arg::case_insensitive(bool) which allows matching Arg::possible_values without worrying about ASCII case

When used with `Arg::possible_values` it allows the argument value to pass validation even if
th...

80993357e12b4b3a07bcd819c1f2151eba3801c3 authored about 7 years ago by Kevin K <[email protected]>
style: rustfmt run

8c0cc5c386340bb8f44969c2252f5b22091a0be0 authored about 7 years ago by Kevin K <[email protected]>
tests: adds tests for using possible_values with Arg::case_insensitive

612ccaf14e21fa08e3256527c8bdf04478200bd8 authored about 7 years ago by Kevin K <[email protected]>
Merge pull request #1117 from kbknapp/clap_derive

Clap derive

e53c33d6b9614998be369837c71d612f9fb09cb3 authored about 7 years ago by Kevin K <[email protected]>
docs: changes the demo version to 2.28 to stay in sync

ce6ca492c7510ab6474075806360b96081b021a9 authored about 7 years ago by Kevin K <[email protected]>
chore: increase version

9ef3d82bd0678966fac6a5a4d658b30e81207425 authored about 7 years ago by Kevin K <[email protected]>
api: Adds the traits to be used with the clap-derive crate to be able to use Custom Derive

Currently to use these traits clap must be built with the `unstable` feature. This does not
requ...

6f4c3412415e882f5ca2cc3fbd6d4dce79440828 authored about 7 years ago by Kevin K <[email protected]>
style: changes the display of the env var from 'env:VAR: value' to 'env: VAR=value'

8a26ff07b00c8ac9031cfa773571ee11a36d37a3 authored about 7 years ago by Kevin K <[email protected]>
Merge pull request #1114 from ignatenkobrain/bash-comp

use .bash as extension for bash completions

4740cde404121a443c64d644eb4a0722c0b0a823 authored about 7 years ago by Kevin K <[email protected]>
use .bash as extension for bash completions

* bash-completions have code to use only `foo`, `foo.bash` and `_foo`
files for completion
* /us...

bfcf5dd0762de092764db273926791789cb3452a authored about 7 years ago by Igor Gnatenko <[email protected]>
Merge pull request #1113 from kbknapp/issue-1112

Issue 1112

c2c2a56a30e1aa025897583ccc1ddb92377d96c5 authored about 7 years ago by Kevin K <[email protected]>
tests: adds tests to guard against --help and -h being overridable

89c0ed03281ac70c33daab7140632b24fd219f59 authored about 7 years ago by Kevin K <[email protected]>
fix: Fixes a regression where --help couldn't be overridden

Closes #1112

a283d69fc08aa016ae1bf9ba010012abecc7ba69 authored about 7 years ago by Kevin K <[email protected]>
Merge pull request #1111 from ignatenkobrain/patch-3

bump version-sync to 0.5

a224cdcc87fc32996cc65f04c221af366fbf1775 authored about 7 years ago by Kevin K <[email protected]>
bump version-sync to 0.5

6b98b6ab7d3da00f989062957f862d437ea9e652 authored about 7 years ago by Igor Gnatenko <[email protected]>
Merge pull request #1063 from Eijebong/bitflags

Update bitflags to 1.0 and bump version

53864b5d7221492aa36046cf6ef0e55d2c50266e authored about 7 years ago by Kevin K <[email protected]>
Update bitflags to 1.0 and bump version

a6593410c1b0ec53c681724ae91307d466590e9e authored about 7 years ago by Bastien Orivel <[email protected]>
Update the minimum version of rust 1.20.0

dc00ec85ebfe89fe824e05fd63145ba0b060f5d7 authored about 7 years ago by Bastien Orivel <[email protected]>
Merge pull request #1109 from kbknapp/issue-1105

Issue 1105

c4d67d326316442590e7ab58bbcfb753897c3d06 authored about 7 years ago by Kevin K <[email protected]>
Merge pull request #1108 from focusaurus/issue-1106

docs: Fix URL path to github hosted files

0842fd1bcd9dd5715d8fe254e939298421516c72 authored about 7 years ago by Kevin K <[email protected]>
tests: adds tests to guard aginst issue 1105 and empty values in options

17a4d8a860d9a418a28c5fd0b0190d76467443c4 authored about 7 years ago by Kevin K <[email protected]>
fix: fixes a bug that allowed options to pass parsing when no value was provided

Since options have `empty_values(true)` by default, so long as another valid flag
or option came...

2fb758219c7a60d639da67692e100b855a8165ac authored about 7 years ago by Kevin K <[email protected]>
chore: silences unused macro warning for debug macros

46c131720301155ab60d083f8fa849475165fdd5 authored about 7 years ago by Kevin K <[email protected]>
docs: Fix URL path to github hosted files

Closes #1106

ce72aada56a9581d4a6cb4bf9bdb861c3906f8df authored about 7 years ago by Peter Lyons <[email protected]>
Merge pull request #1107 from ignatenkobrain/patch-2

bump version-sync to 0.4

39fae92997d6970f83f2bb9b735d98a6b88daea5 authored about 7 years ago by Kevin K <[email protected]>
bump version-sync to 0.4

5cfafe4dcd40c33fecaab990dee20737f697514b authored about 7 years ago by Igor Gnatenko <[email protected]>
Merge pull request #1102 from kbknapp/issue-1095-take2

chore: fixes the attribute to allow unused imports on nightly

528a7cb571b8f536db8d291b32a8017a06a2154f authored about 7 years ago by Kevin K <[email protected]>
chore: fixes the attribute to allow unused imports on nightly

Closes #1095

3f1d23934dd89583519b0ba917e2e2ad00912a99 authored about 7 years ago by Kevin K <[email protected]>
Merge pull request #1101 from ignatenkobrain/patch-1

bump ansi_term to 0.10

6cd43c23616c43257e6e03a07cc8e7b065bbf67a authored about 7 years ago by Kevin K <[email protected]>
bump ansi_term to 0.10

Signed-off-by: Igor Gnatenko <[email protected]>

851fad43c09e4bb35dfa01a3823352ec3dde59e9 authored about 7 years ago by Igor Gnatenko <[email protected]>
Merge pull request #1100 from jfrankenau/fix-typo

docs: fix typo

de7b236dd2ee62cd0e14ef69a36a9d15391c3930 authored about 7 years ago by Kevin K <[email protected]>
docs: fix typo

002b07fc98a1c85acb66296b1eec0b2aba906125 authored about 7 years ago by Johannes Frankenau <[email protected]>
Merge pull request #1096 from kbknapp/issues-1093,1095

Issues 1093,1095

38fe447292ddfa39920ae0727fa41341259cfd20 authored about 7 years ago by Kevin K <[email protected]>
imp: adds '[SUBCOMMAND]' to usage strings with only AppSettings::AllowExternalSubcommands is used with no other subcommands

Closes #1093

e78bb757a3df16e82d539e450c06767a6bfcf859 authored about 7 years ago by Kevin K <[email protected]>
refactor: removes unused imports on nightly via cfg directive

If one is using a nightly Rust compiler they should compile clap
with the `nightly` feature.

``...

fb08bb5dd5760d2932e9f673abe23ea0df858aa2 authored about 7 years ago by Kevin K <[email protected]>
Merge pull request #1091 from kbknapp/contrib-update

chore: updates CONTRIBUTORS.md

284d01bded1970416e299ccc2e9e8309c40e278a authored about 7 years ago by Kevin K <[email protected]>
chore: updates CONTRIBUTORS.md

4ee2dfccff988a3d8c2e1a6c1bc046b9a15eafd9 authored about 7 years ago by Kevin K <[email protected]>
Merge pull request #1090 from kbknapp/readme-update

docs(README.md): updates the readme and pulls out some redundant sect…

fb8f88be74d5df47743abfb1eb2dc54050985a99 authored about 7 years ago by Kevin K <[email protected]>
docs(README.md): updates the readme and pulls out some redundant sections

db6caf8663747e679d2f4ed3bd127f33476754aa authored about 7 years ago by Kevin K <[email protected]>
Merge pull request #1087 from durka/propag-depr

fix: ignore PropagateGlobalValuesDown deprecation warning

d5423a48ee5549eb7e260380b0f099b19a98f64e authored about 7 years ago by Kevin K <[email protected]>
fix: ignore PropagateGlobalValuesDown deprecation warning

Fixes #1086.

f61ce3f55fe65e16b3db0bd4facdc4575de22767 authored about 7 years ago by Alex Burka <[email protected]>
Merge pull request #1084 from kbknapp/issue-1083

Issue 1083

fc4bd87853475146191c8d4d9a09df842c65a5e3 authored about 7 years ago by Kevin K <[email protected]>
chore: increase version

67170a8bd7dcd3e133a25935871f5b3c455dd310 authored about 7 years ago by Kevin K <[email protected]>
chore: adds term_size as an optional dep

0246960bdcefe2c854b7a0575b673791a2e0c28f authored about 7 years ago by Kevin K <[email protected]>
Merge pull request #1081 from kbknapp/kbknapp-patch-1

Fix typo in minimum required Rust version

554083ffc5ebd95da8fc6b8bae8aa8069b9fe48b authored about 7 years ago by Kevin K <[email protected]>
Fix typo in minimum required Rust version

bbd0589c199cd6e457fb37926da4c440d1a24dcf authored about 7 years ago by Kevin K <[email protected]>
Merge pull request #1080 from kbknapp/kbknapp-patch-1

chore: fix copy paste typo

794ac237de8961e4e6cdf6c32c889e96f01b697b authored about 7 years ago by Kevin K <[email protected]>
chore: fix copy paste typo

385596f6f652c2c675d2f92488311595afc74577 authored about 7 years ago by Kevin K <[email protected]>
Merge pull request #1079 from kbknapp/issues-1031,1050,1056,1066,1071

Issues 1031,1050,1056,1066,1071

fe814b88e3e021e5e51bb89118f415f3d6da83d6 authored about 7 years ago by Kevin K <[email protected]>
docs: fixes some typo mistakes

3a471b72ce7951b3d39ea8ac8fba7989d2b02b81 authored about 7 years ago by Kevin K <[email protected]>
chore: increase version

e3eaf56b36bd387ab29e2597e29d86b671d6d971 authored about 7 years ago by Kevin K <[email protected]>
tests: adds tests to guard against allowing invalid args accidentally

2558083fe9d2043ce991afe118d4ce3003799785 authored about 7 years ago by Kevin K <[email protected]>
fix: fixes a bug where using AppSettings::AllowHyphenValues would allow invalid arguments even when there is no way for them to be valid

Prior to this commit, using `AppSettings::AllowHyphenValues` would allow
ANY argument to pass, e...

77ed46841fc0263d7aa32fcc5cc49ef703b37c04 authored about 7 years ago by Kevin K <[email protected]>
tests: adds tests to make sure args are preferred over matching subcommands when values are possible

9435b2a58937567b90f9c082c4e00d65f01bce9e authored about 7 years ago by Kevin K <[email protected]>
docs: adds addtional blurbs about using multiples with subcommands

03455b7751a757e7b2f6ffaf2d16168539c99661 authored about 7 years ago by Kevin K <[email protected]>
fix: when an argument requires a value and that value happens to match a subcommand name, its parsed as a value

**This commit contains a breaking change in order to fix a bug.**

The only users affected are t...

0c223f54ed46da406bc8b43a5806e0b227863b31 authored about 7 years ago by Kevin K <[email protected]>
tests: adds tests to ensure number_of_values and default_value can be used together

b399ee2604ea31637bbe8c9d39b9903116352fa2 authored about 7 years ago by Kevin K <[email protected]>