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
816b0d49c45f6669c5aae748396e9551f2e30a96 authored over 8 years ago
86828a50240a8d5e27468eb0457613ee6c7fc62f authored over 8 years ago
996fc381763a48d125c7ea8a58fed057fd0b4ac6 authored over 8 years ago
835f75e3ba20999117363ed9f916464d777f36ef authored over 8 years ago
* Clap has dependencies even with all features disabled.
* The "nightly" feature does nothing, s...
else you get another warning!
da88fd254b6f09bb7e5b495178b26dcd21bbf265 authored over 8 years ago
Also adds a blank line between variants and
wraps markdown lines at punctuation when it makes se...
Closes #506
4c27f0ade9a912cf7e695805e4f298bf1668f883 authored over 8 years agoaf9e1a393ce6cdda46a03c8a4f48df222b015a24 authored over 8 years ago
0ba9f4b123f281952581b6dec948f7e51dd22890 authored over 8 years ago
330a376a46394866c7b57f894eefb677da31b0e9 authored over 8 years ago
Removing an unused import is the only visible change.
8c0f55516f4910c78c9f8a2bdbd822729574f95b authored over 8 years agodf2c40804d2ade1d95521a74b6824219e65fafa6 authored over 8 years ago
* InvalidSubcommand requires feature="suggestions".
* UnknownArgument can also be caused by unre...
fix(Completions): fish completions for nested subcommands
Fix #685
e151bfc2e8cf13f6c20e1068ee064b02f50e92d0 authored over 8 years agoa61eaf8aade76cfe90ccc0f7125751ebf60e3254 authored over 8 years ago
Fix warnings in code enabled by yaml, !color or !suggestions
95bde3635383b4ec5750323736e9ee04c35c751e authored over 8 years ago
clippy doesn't check doc-tests and `include!()`d files,
so there might bee more un-reported lint.
7f797e68d8f721dff9553ba0ba5616efc456ebb5 authored over 8 years ago
102fb7d2ce9df949e9b332fa87437c0ee31de760 authored over 8 years ago
I say "apparently" because it's listed on https://manishearth.github.io/rust-clippy/master/
and ...
chore: increase version
3cb747d84570126f577e0f6d3398bc6de9751028 authored over 8 years agobbe457e993077d647b6e7f6e197018cf74fdb4cf authored over 8 years ago
Fix the behavior of require_delimiter
42d8aba1a1791c69689e92a9eb4ad21e31d8ae56 authored over 8 years ago8cd120c2305581801cb3aede8059523db72bdaea authored over 8 years ago
tests(correctness): No longer use App::get_matches() in some places
Use `App::get_matches_from(...
50011f5b8b97810bde11e594ec943c669de646a8 authored over 8 years ago
Use App::get_matches_from(vec![""]) instead not to fail when flags are
passed to the test binary...
Some refactors / cleanups
I was fixing the clippy errors, but saw afiuna had already fixed them...
2472bb2f549bc497b974d4d7778431f13f05f912 authored over 8 years agoa214a34529fbe19ad25465bc8043946cff2a5c1e authored over 8 years ago
9679713a30988fd1bbd0afd89e1fb4b4e47b0a75 authored over 8 years ago
7455d73404d61fac8da0eed4fefbbc058e66f8c8 authored over 8 years ago
feat(arg_aliases): Ability to alias arguments
There are some cases where you need to have an ar...
4e7466ccce0c03a7a56602aa83847bc9ac51a20b authored over 8 years agoSigned-off-by: Salim Afiune <[email protected]>
e5d9760bea8bd2cca643c7664567b262282848fa authored over 8 years ago
The new version of rustc 1.14.0-nightly (144af3e97 2016-10-02) has new
linting warnings/errors. ...
There are some cases where you need to have an argument to have an
alias, an example could be wh...
Added same alias funtionality for flags, now you can do:
```
Arg::with_name("flg")
.long("fl...
Handle non-ascii names / options in from_usage().
Closes #664 and should make it faster too.
W...
4c0ed77601aabc799ac656424094a970ce85b193 authored over 8 years agoIn many cases this makes the assert fit on one line, but the double references are a bit awkward.
fd4c0870bef23c57f5f5b00203550c69f40ba4c6 authored over 8 years ago42a6d232d4a8557d0030fd4b5595d8f0de605276 authored over 8 years ago
bb1fa0d694d926316784cc920c34f8590f00a602 authored over 8 years ago
This should also speeds up the parser (except maybe for short options).
Multi-codepoint characte...
docs: typo
5c7a2190ccd244bb36014421d3133e9298539c4c authored over 8 years agobac417fa1cea3d32308334c7cccfcf54546cd9d8 authored over 8 years ago
Issues 418,666
7483cec06ca04587a4e0327f1c0e24e23744957a authored over 8 years ago325610eb041e97b634d46b8464eca0df36a808c0 authored over 8 years ago
Closes #418
6b9bd215c1cecfb2ca731ce92081806b7f02ad9d authored over 8 years agoaad171d3e159020e16d1803fc7d54ee53e7a8d01 authored over 8 years ago
d12649fd7b932899958ce138b226bc00be0c936b authored over 8 years ago
c81bc722ebb8a86d22be89b5aec98df9fe222a08 authored over 8 years ago
Now if one wishes to use value delimiters, they must explicitly set `Arg::use_delimiter(true)` o...
09d4d0a9038d7ce2df55c2aec95e16f36189fcee authored over 8 years agoIssue 661
ecc6d89244d504767854574cf69243eecb7cfd81 authored over 8 years ago44742844bc91099256d5d9f331d32cb966d1cd67 authored over 8 years ago
5c29448d5409c01359200e22274bcd8b21c97438 authored over 8 years ago
1ea9bef20d8af12ad771a2900046ec4b39fef9e6 authored over 8 years ago
As of this commit, one can use the old newline character `{n}` or the new `\n`
Closes #661
92ac353b48b7caa2511ad2a046d94da93c236cf6 authored over 8 years agoIssue 588
804a60f7813db98ec8dbef7ce9613dd3404b7fc0 authored over 8 years agofd4414768d20b7c408f4b67d5d1fa07ceea842db authored over 8 years ago
Closes #588
a9699e4d7cdc9a06e73b845933ff1fe6d76f016a authored over 8 years ago0dcfc77daec278f0ca28b091c75ddec2b5681791 authored over 8 years ago
Issue 640
703b001d066525eb79e2e063f294bdcacadaac5f authored over 8 years ago8ffd7b827c173d6e93ec70e003a8fcaf6e896557 authored over 8 years ago
Document AppSetting::DisableVersion
Closes #589
317402d9e122a8e8d613d14ca9b6ee72086233ca authored over 8 years agoCloses #589
945019654d2ca67eb2b1d6014fdf80b84d528d30 authored over 8 years ago4c8ae08e4cd6063feff8dbb224cfe8f70e3393fa authored over 8 years ago
Previously one could only hide the possible values of an argument application or command wide, a...
9151ef739871f2e74910c342299c0de196b95dec authored over 8 years agoIssue 655
82234fa93f829bba4b648b73fc7441f932cc9f74 authored over 8 years agof9d17a060aa53f10d0a6e1a7eed5d989d1a59533 authored over 8 years ago
Prior to this change, values were always delimited by default. This was causing issues with code...
f9e692548e8c94de15f909432de301407d6bb834 authored over 8 years ago9881a4a23ac3234e11f764e8e8c452e142705997 authored over 8 years ago
Allow for limiting detected term width
Closes #653
3834063d10d021bf3a73b018695ab06677ee58b4 authored over 8 years agoUseful when, e.g., the terminal is fullscreen
Closes #653
a43e28af85c9a9deaedd5ef735f4f13008daab29 authored over 8 years agoFix redundant contains() checks
Addresses comments on https://github.com/kbknapp/clap-rs/commit...
377b5f20da8fc9ce83bad0b3ea22ccc9c266bce1 authored over 8 years agoAddresses comments from https://github.com/kbknapp/clap-rs/commit/c76785239fd42adc8ca04f9202b6fe...
a8afed7428bf0733f8e93bb11ad6c00d9e970fcc authored over 8 years agochore: increase version
59bee8413b9fd4f09e5cdc4a16b1f40e0a6f922a authored over 8 years agoaded9abdc593f363bb599d1fce2d2a98c897f490 authored over 8 years ago
Issue 617
345e0e333fc0ea16ab29c173befd59376fcdad49 authored over 8 years ago2e99e22630002861d7de793432e08f3aec4de1e6 authored over 8 years ago
934094d7c59b01a8bbb44fb67f55b8f5576496b2 authored over 8 years ago
c5a2b352ca600f5b802290ad945731066cd53611 authored over 8 years ago
Prior to this commit, clap would mangle help messages with hard newlines
(see #617). After this ...
imp(YAML): supports setting Arg::require_delimiter from YAML
Seems this is missing from 920b559.
fed1ff5a31ee43363a741de0c076baaaf6098759 authored over 8 years agob9b55a39dfebcdbdc05dca2692927e503db50816 authored over 8 years ago
0d503504d2a61da06bcc89cf5c4839329bfee471 authored over 8 years ago
Help imps
fa5f853469a48af82f22e911da3c8dfbfe0b2bd9 authored over 8 years ago60de29a7ef89846842efe1a3e24359bff09de526 authored over 8 years ago
e4f194c82b4ce2db698cf145e56b55f40b019cb5 authored over 8 years ago
5658b117aec3e03adff9c8c52a4c4bc1fcb4e1ff authored over 8 years ago
01cae7990a33167ac35103fb36c811b4fe6eb98f authored over 8 years ago
Issue 638
7e21b443ba54c0b67be039bd57eb8ed1dbe9af4d authored over 8 years ago3617a1d4939a8fe6aae658e338509933986101c9 authored over 8 years ago
c28d093076f6275cb113ee7410e11904ed609ceb authored over 8 years ago
df06ea61eed98efefccd710f59ccaee79a95553d authored over 8 years ago
b246be1a4b772fdab65e439d6ce0f4b770de9177 authored over 8 years ago
In some cases settings were only propogated down one level deep, this
commit ensures settings ar...
Vks custom error
48bc038e5a98d338595e58aaff277fa00dc3ae7b authored over 8 years ago07e6e8ea3137960650e2729896fec011b5c99e8f authored over 8 years ago
c6219ec5ed2dfc2119fc343ffffd9882127e867d authored over 8 years ago
956965cc9403dd5e74165214ec08e53883926699 authored over 8 years ago
24a6c61cf8151c3122472e79997619972932430e authored over 8 years ago
This is useful if a more meaningful message can be displayed to the
user with `Error::exit`. For...