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

style: dis-`allow()` untriggered lints

816b0d49c45f6669c5aae748396e9551f2e30a96 authored over 8 years ago
chore(debug): fix a single typo in a debug message

86828a50240a8d5e27468eb0457613ee6c7fc62f authored over 8 years ago
docs: fix tests that fail when the "suggestions" feature is disabled

996fc381763a48d125c7ea8a58fed057fd0b4ac6 authored over 8 years ago
fix(features): Make lints not enable other nightly-requiring features

835f75e3ba20999117363ed9f916464d777f36ef authored over 8 years ago
docs: Improve documentation around features

* Clap has dependencies even with all features disabled.
* The "nightly" feature does nothing, s...

4ee85b95d2d16708a016a3ba4e6e2c93b89b7fad authored over 8 years ago
style: only ignore clippy warning if lints are enabled

else you get another warning!

da88fd254b6f09bb7e5b495178b26dcd21bbf265 authored over 8 years ago
docs: reword docs for ErrorKind and app::Settings

Also adds a blank line between variants and
wraps markdown lines at punctuation when it makes se...

3ccde7a4b8f7a2ea8b916a5415c04a8ff4b5cb7a authored over 8 years ago
tests: run OsString-using doc-tests on unix platforms

Closes #506

4c27f0ade9a912cf7e695805e4f298bf1668f883 authored over 8 years ago
docs: fix the OsString-using doc-tests

af9e1a393ce6cdda46a03c8a4f48df222b015a24 authored over 8 years ago
docs: tag non-rust code blocks as such instead of ignoring them

0ba9f4b123f281952581b6dec948f7e51dd22890 authored over 8 years ago
tests: run or compile some currently ignored doc-tests

330a376a46394866c7b57f894eefb677da31b0e9 authored over 8 years ago
docs(yaml): make sure the doc-tests don't fail before "missing file"

Removing an unused import is the only visible change.

8c0f55516f4910c78c9f8a2bdbd822729574f95b authored over 8 years ago
chore(travis): test more feature combinations and remove the "travis" --feature

df2c40804d2ade1d95521a74b6824219e65fafa6 authored over 8 years ago
docs(ErrorKind): improve some errors about subcommands

* InvalidSubcommand requires feature="suggestions".
* UnknownArgument can also be caused by unre...

9f6217a424da823343d7b801b9c350dee3cd1906 authored over 8 years ago
Auto merge of #687 - wdv4758h:issue_685, r=kbknapp

fix(Completions): fish completions for nested subcommands

Fix #685

e151bfc2e8cf13f6c20e1068ee064b02f50e92d0 authored over 8 years ago
fix(Completions): fish completions for nested subcommands

a61eaf8aade76cfe90ccc0f7125751ebf60e3254 authored over 8 years ago
Auto merge of #681 - tormol:fix_werrnings, r=kbknapp

Fix warnings in code enabled by yaml, !color or !suggestions

95bde3635383b4ec5750323736e9ee04c35c751e authored over 8 years ago
style: remove the `.ok()` in `result.ok().expect("...")`

clippy doesn't check doc-tests and `include!()`d files,
so there might bee more un-reported lint.

5778871951e92cb2d0f747b6de9d241dfed6013c authored over 8 years ago
style: fix lints in code that's not compiled if the opt-out feature "color" is set

7f797e68d8f721dff9553ba0ba5616efc456ebb5 authored over 8 years ago
style: fix lints in yaml-related functions

102fb7d2ce9df949e9b332fa87437c0ee31de760 authored over 8 years ago
style: remove #[allow("warning that apparently doesn't exist")]

I say "apparently" because it's listed on https://manishearth.github.io/rust-clippy/master/
and ...

215677bfa7648faea32fec6586eb4984f074e43f authored over 8 years ago
Auto merge of #680 - kbknapp:v2.14.0, r=kbknapp

chore: increase version

3cb747d84570126f577e0f6d3398bc6de9751028 authored over 8 years ago
chore: increase version

bbe457e993077d647b6e7f6e197018cf74fdb4cf authored over 8 years ago
Auto merge of #679 - kbknapp:pull-677, r=kbknapp

Fix the behavior of require_delimiter

42d8aba1a1791c69689e92a9eb4ad21e31d8ae56 authored over 8 years ago
Fix the behavior of require_delimiter

8cd120c2305581801cb3aede8059523db72bdaea authored over 8 years ago
Auto merge of #678 - nabijaczleweli:master, r=kbknapp

tests(correctness): No longer use App::get_matches() in some places

Use `App::get_matches_from(...

50011f5b8b97810bde11e594ec943c669de646a8 authored over 8 years ago
tests(correctness): No longer use App::get_matches() in some places

Use App::get_matches_from(vec![""]) instead not to fail when flags are
passed to the test binary...

7b7aa87ddf5acb6deed44a888bedb4bbdbd55d91 authored over 8 years ago
Auto merge of #675 - tormol:fix_werrnings, r=kbknapp

Some refactors / cleanups

I was fixing the clippy errors, but saw afiuna had already fixed them...

2472bb2f549bc497b974d4d7778431f13f05f912 authored over 8 years ago
refactor(app::Parser) Replace `continue` and `.push()` with iterator adaptors

a214a34529fbe19ad25465bc8043946cff2a5c1e authored over 8 years ago
refactor(app::Help): Use map.values() and don't do `if !foo` when there is an `else`

9679713a30988fd1bbd0afd89e1fb4b4e47b0a75 authored over 8 years ago
refactor(app::Help): Replace str.split('\n') with str.lines()

7455d73404d61fac8da0eed4fefbbc058e66f8c8 authored over 8 years ago
Auto merge of #674 - afiune:afiune/arg-aliases, r=kbknapp

feat(arg_aliases): Ability to alias arguments

There are some cases where you need to have an ar...

4e7466ccce0c03a7a56602aa83847bc9ac51a20b authored over 8 years ago
Added Arg::(visible_)alias(es) docs

Signed-off-by: Salim Afiune <[email protected]>

e5d9760bea8bd2cca643c7664567b262282848fa authored over 8 years ago
Fix linting errors from rustc 1.14.0

The new version of rustc 1.14.0-nightly (144af3e97 2016-10-02) has new
linting warnings/errors. ...

905d3b97775e1208645919beeda9e23d4b9c3231 authored over 8 years ago
feat(arg_aliases): Ability to alias arguments

There are some cases where you need to have an argument to have an
alias, an example could be wh...

33b5f6ef2c9612ecabb31f96b824793e46bfd3dd authored over 8 years ago
feat(flag_aliases): Ability to alias flags

Added same alias funtionality for flags, now you can do:
```
Arg::with_name("flg")
.long("fl...

40d6dac973927dded6ab423481634ef47ee7bfd7 authored over 8 years ago
Auto merge of #670 - tormol:parse_nonascii_usage, r=kbknapp

Handle non-ascii names / options in from_usage().

Closes #664 and should make it faster too.

W...

4c0ed77601aabc799ac656424094a970ce85b193 authored over 8 years ago
refactor(UsageParser tests) Use VecMap's .values() instead of .iter().map(|(_,&v)| v)

In many cases this makes the assert fit on one line, but the double references are a bit awkward.

fd4c0870bef23c57f5f5b00203550c69f40ba4c6 authored over 8 years ago
refactor(UsageParser::parse) merge two ifs

42a6d232d4a8557d0030fd4b5595d8f0de605276 authored over 8 years ago
refactor(UsageParser) Make the functions passed to .stop_at() straightforward

bb1fa0d694d926316784cc920c34f8590f00a602 authored over 8 years ago
fix(UsageParser): Handle non-ascii names / options.

This should also speeds up the parser (except maybe for short options).
Multi-codepoint characte...

1d6a7c6e7e6aadc527346aa822f19d8587f714f3 authored over 8 years ago
Auto merge of #668 - nicompte:patch-2, r=kbknapp

docs: typo

5c7a2190ccd244bb36014421d3133e9298539c4c authored over 8 years ago
docs: typo

bac417fa1cea3d32308334c7cccfcf54546cd9d8 authored over 8 years ago
Auto merge of #667 - kbknapp:issues-418,666, r=kbknapp

Issues 418,666

7483cec06ca04587a4e0327f1c0e24e23744957a authored over 8 years ago
docs: updates README.md with new website information and updated video tutorials info

325610eb041e97b634d46b8464eca0df36a808c0 authored over 8 years ago
docs(Default Values): adds better examples on using default values

Closes #418

6b9bd215c1cecfb2ca731ce92081806b7f02ad9d authored over 8 years ago
chore: increase version

aad171d3e159020e16d1803fc7d54ee53e7a8d01 authored over 8 years ago
tests: adds tests for value delimiters

d12649fd7b932899958ce138b226bc00be0c936b authored over 8 years ago
docs: updates the docs about removing implicit value_delimiter(true)

c81bc722ebb8a86d22be89b5aec98df9fe222a08 authored over 8 years ago
fix(Value Delimiters): fixes the confusion around implicitly setting value delimiters. (default is now `false`)

Now if one wishes to use value delimiters, they must explicitly set `Arg::use_delimiter(true)` o...

09d4d0a9038d7ce2df55c2aec95e16f36189fcee authored over 8 years ago
Auto merge of #662 - kbknapp:issue-661, r=kbknapp

Issue 661

ecc6d89244d504767854574cf69243eecb7cfd81 authored over 8 years ago
chore: increase version

44742844bc91099256d5d9f331d32cb966d1cd67 authored over 8 years ago
tests(AllowLeadingHyphen): adds test issue 588 AllowLeadingHyphen not recognizing valid args

5c29448d5409c01359200e22274bcd8b21c97438 authored over 8 years ago
test(Help Wrapping): adds tests for the old newline characters

1ea9bef20d8af12ad771a2900046ec4b39fef9e6 authored over 8 years ago
fix(Help Wrapping): fixes a regression-bug where the old {n} newline char stopped working

As of this commit, one can use the old newline character `{n}` or the new `\n`

Closes #661

92ac353b48b7caa2511ad2a046d94da93c236cf6 authored over 8 years ago
Auto merge of #660 - kbknapp:issue-588, r=kbknapp

Issue 588

804a60f7813db98ec8dbef7ce9613dd3404b7fc0 authored over 8 years ago
chore: increase version

fd4414768d20b7c408f4b67d5d1fa07ceea842db authored over 8 years ago
fix(AllowLeadingHyphen): fixes a bug where valid args aren't recognized with this setting

Closes #588

a9699e4d7cdc9a06e73b845933ff1fe6d76f016a authored over 8 years ago
tests(Debugging): standardizes certain debugging calls

0dcfc77daec278f0ca28b091c75ddec2b5681791 authored over 8 years ago
Auto merge of #658 - kbknapp:issue-640, r=kbknapp

Issue 640

703b001d066525eb79e2e063f294bdcacadaac5f authored over 8 years ago
Merge branch 'master' into issue-640

8ffd7b827c173d6e93ec70e003a8fcaf6e896557 authored over 8 years ago
Auto merge of #659 - nabijaczleweli:docs/appsettings/disableversion-doc, r=kbknapp

Document AppSetting::DisableVersion

Closes #589

317402d9e122a8e8d613d14ca9b6ee72086233ca authored over 8 years ago
docs(appsettings): Document AppSetting::DisableVersion

Closes #589

945019654d2ca67eb2b1d6014fdf80b84d528d30 authored over 8 years ago
tests(Help): adds tests for per argument hiding of possible values

4c8ae08e4cd6063feff8dbb224cfe8f70e3393fa authored over 8 years ago
feat(Help): adds ability to hide the possible values on a per argument basis

Previously one could only hide the possible values of an argument application or command wide, a...

9151ef739871f2e74910c342299c0de196b95dec authored over 8 years ago
Auto merge of #657 - kbknapp:issue-655, r=kbknapp

Issue 655

82234fa93f829bba4b648b73fc7441f932cc9f74 authored over 8 years ago
docs(Value Delimiters): updates the docs for the Arg::multiple method WRT value delimiters and default settings

f9d17a060aa53f10d0a6e1a7eed5d989d1a59533 authored over 8 years ago
imp(Value Delimiters): changes the default value delimiter rules

Prior to this change, values were always delimited by default. This was causing issues with code...

f9e692548e8c94de15f909432de301407d6bb834 authored over 8 years ago
tests(Value Delimiters): updates tests to new value delimiter rules

9881a4a23ac3234e11f764e8e8c452e142705997 authored over 8 years ago
Auto merge of #654 - nabijaczleweli:feature/help/term-width-override, r=kbknapp

Allow for limiting detected term width

Closes #653

3834063d10d021bf3a73b018695ab06677ee58b4 authored over 8 years ago
feat(help): allow for limiting detected terminal width

Useful when, e.g., the terminal is fullscreen

Closes #653

a43e28af85c9a9deaedd5ef735f4f13008daab29 authored over 8 years ago
Auto merge of #652 - nabijaczleweli:perf/help/remove-redundant-contains, r=kbknapp

Fix redundant contains() checks

Addresses comments on https://github.com/kbknapp/clap-rs/commit...

377b5f20da8fc9ce83bad0b3ea22ccc9c266bce1 authored over 8 years ago
perf(help): fix redundant contains() checks

Addresses comments from https://github.com/kbknapp/clap-rs/commit/c76785239fd42adc8ca04f9202b6fe...

a8afed7428bf0733f8e93bb11ad6c00d9e970fcc authored over 8 years ago
Auto merge of #651 - kbknapp:v2.11.3, r=kbknapp

chore: increase version

59bee8413b9fd4f09e5cdc4a16b1f40e0a6f922a authored over 8 years ago
chore: increase version

aded9abdc593f363bb599d1fce2d2a98c897f490 authored over 8 years ago
Auto merge of #650 - kbknapp:issue-617, r=kbknapp

Issue 617

345e0e333fc0ea16ab29c173befd59376fcdad49 authored over 8 years ago
Merge branch 'master' into issue-617

2e99e22630002861d7de793432e08f3aec4de1e6 authored over 8 years ago
tests: updates tests for new help wrapping rules

934094d7c59b01a8bbb44fb67f55b8f5576496b2 authored over 8 years ago
docs(Help Wrapping): removes the verbage about using `'{n}'` to insert newlines in help text

c5a2b352ca600f5b802290ad945731066cd53611 authored over 8 years ago
imp(Help Wrapping): clap now ignores hard newlines in help messages and properly re-aligns text, but still wraps if the term width is too small

Prior to this commit, clap would mangle help messages with hard newlines
(see #617). After this ...

c76785239fd42adc8ca04f9202b6fec615aa9f14 authored over 8 years ago
Auto merge of #649 - AluisioASG:yaml-require-delimiter, r=kbknapp

imp(YAML): supports setting Arg::require_delimiter from YAML

Seems this is missing from 920b559.

fed1ff5a31ee43363a741de0c076baaaf6098759 authored over 8 years ago
imp(YAML): supports setting Arg::require_delimiter from YAML

b9b55a39dfebcdbdc05dca2692927e503db50816 authored over 8 years ago
Merge branch 'master' of github.com:kbknapp/clap-rs

0d503504d2a61da06bcc89cf5c4839329bfee471 authored over 8 years ago
Auto merge of #648 - kbknapp:help-imps, r=kbknapp

Help imps

fa5f853469a48af82f22e911da3c8dfbfe0b2bd9 authored over 8 years ago
tests: updates test to new help improvements

60de29a7ef89846842efe1a3e24359bff09de526 authored over 8 years ago
chore: increase version

e4f194c82b4ce2db698cf145e56b55f40b019cb5 authored over 8 years ago
imp(Help Wrapping): makes some minor changes to when next line help is automatically used

5658b117aec3e03adff9c8c52a4c4bc1fcb4e1ff authored over 8 years ago
imp(Help Wrapping): makes some minor changes to when next line help is automatically used

01cae7990a33167ac35103fb36c811b4fe6eb98f authored over 8 years ago
Auto merge of #647 - kbknapp:issue-638, r=kbknapp

Issue 638

7e21b443ba54c0b67be039bd57eb8ed1dbe9af4d authored over 8 years ago
test: updates app_settings tests for new bug fixes

3617a1d4939a8fe6aae658e338509933986101c9 authored over 8 years ago
chore: increase version

c28d093076f6275cb113ee7410e11904ed609ceb authored over 8 years ago
chore: updates ansi_term dep

df06ea61eed98efefccd710f59ccaee79a95553d authored over 8 years ago
style: rustfmt run

b246be1a4b772fdab65e439d6ce0f4b770de9177 authored over 8 years ago
fix(Settings): fixes an issue where settings weren't propogated down through grand-child subcommands

In some cases settings were only propogated down one level deep, this
commit ensures settings ar...

b3efc107515d78517b20798ff3890b8a2b04498e authored over 8 years ago
Auto merge of #646 - kbknapp:vks-custom-error, r=kbknapp

Vks custom error

48bc038e5a98d338595e58aaff277fa00dc3ae7b authored over 8 years ago
style: rustfmt run

07e6e8ea3137960650e2729896fec011b5c99e8f authored over 8 years ago
chore: re-establish beta and udpate clippy nightly pin

c6219ec5ed2dfc2119fc343ffffd9882127e867d authored over 8 years ago
chore: clippy run

956965cc9403dd5e74165214ec08e53883926699 authored over 8 years ago
chore: updates term_size dep

24a6c61cf8151c3122472e79997619972932430e authored over 8 years ago
feat(Errors): Errors with custom description

This is useful if a more meaningful message can be displayed to the
user with `Error::exit`. For...

58512f2fcb430745f1ee6ee8f1c67f62dc216c73 authored over 8 years ago