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
fix: Declare term::Winsize as repr(C)
The term module uses the struct Winsize directly in a C i...
40017ed09198caab62221091654a417b00856d89 authored over 8 years ago
The term module uses the struct Winsize directly in a C ioctl call, so
it must use C struct repr...
Issue 546
dc6740a5ff4a98597957e9d2e0ee3784f66f3ab3 authored over 8 years agofa452fad65e6e531d911533104ec4e3be9ea7570 authored over 8 years ago
c84834abbb5f672fd33a04e264e8859f94ec5f65 authored over 8 years ago
Imagine two args, an option `-o` which accepts mutliple values, and a positional arg `<file>`.
P...
Imagine two args, an options `-o` and a positionanl arg `<file>` where the option allows multipl...
290f61d07177413cf082ada55526d83405f6d011 authored over 8 years agochore: increase version
518a79ddc1c293e3037d18d743a788f5c906de24 authored over 8 years ago[ci skip]
d8de15d1a7ce1725688d23096fba7dd3f0ca0ffa authored over 8 years agoimp(arg_enum!): allows using meta items like repr(C) with arg_enum!s
One can now use more than ...
3d5d865f21132ad827be82204ea99ccf9689a147 authored over 8 years agoOne can now use more than one meta item, and things like `#[repr(C)]`
Example:
```rust
arg_en...
edf9b2331c17a2cbcc13f961add4c55c2778e773 authored over 8 years agoimp(ArgGroup): Add multiple ArgGroups per Arg
Add the function `Arg.groups` that can take a `Ve...
18237f403a31a3b7efb6e6ecc90d1066b56fddd4 authored over 8 years agodocs: fix typos
Just caught a couple of small typos while browsing the documentation, I believe...
3803b94ef05c385a5d185432db2b19ff143c4c68 authored over 8 years agoAdd the function `Arg.groups` that can take a `Vec<&'a str>` to add the `Arg` to multiple `ArgGr...
902e182f7a58aff11ff01e0a452abcdbdb2262aa authored over 8 years ago43b3d40b8c38b1571da75af86b5088be96cccec2 authored over 8 years ago
Issues 536 to 539
16c693a6dbd702d7e1b32acda0923af01af36c5b authored over 8 years agoUsing `App::print_help` before wasn't building the default `--help` and `--version` flags proper...
e84cc01836bbe0527e97de6db9889bd9e0fd6ba1 authored over 8 years ago4f805d53e71d73cf6b23c0919294ae9d6db25136 authored over 8 years ago
In usage strings `[FLAGS]` and `[ARGS]` tags are now only added if there are relevant flags and
...
Previously, if one ran `<cmd> help help` an additional `help` subcommand was created and a help
...
Prior to this fix, runnning `prog help subcmd` would produce:
```
subcmd
USGAE:
[...]
```
Not...
08ad1cff4fec57224ea957a2891a057b323c01bc authored over 8 years agoIssues 533,534
89d208eb7b8416144515e98af2e7430568bc76c2 authored over 8 years agoCloses #534
9e5f4f5d734d630bca5535c3a0aa4fd4f9db3e39 authored over 8 years agoba68caa3d1da7eeb76b92d2b0dd16a0e9d0411d0 authored over 8 years ago
Unlike the previous ArgGroups, which made all args in the group mutually exclusive, one can now ...
33689acc689b217a8c0ee439f1b1225590c38355 authored over 8 years agoIssues 451,516
ce724d8f61f6f6162ff1f131a671e18d3fc978f7 authored over 8 years ago0dbe2ee600424f045396d1c8657c08d5763d95d4 authored over 8 years ago
`before_help` and `after_help` weren't wrapping at the either the specified terminal width, or a...
1f4da7676e6e71aa8dda799f3eeefad105a47819 authored over 8 years ago
Now using `App::set_term_width` will set a wrapping width regardless of terminal size. This can
...
Issues 526,528,529
9088ade4f379e3738d9985d3b87c34d4b061d4ac authored over 8 years agoCloses #528
e468faf3f05950fd9f72d84b69aa2061e91c6c64 authored over 8 years agoeb7521a9967dc387ae12d3ddd97b82c5b8dca054 authored over 8 years ago
Aliases are now displayed after the help text inside a `[aliases: als1, als2, als3]` style box.
...
Issues 521,522
50ca205e3b7338545dcb4ef219df30f9176fc286 authored over 8 years ago2ff981b9be28cae15f580cb6dcdd32425c2bec4e authored over 8 years ago
This commit adds support for visible aliases, which function exactly like aliases except that th...
7b10e7f8937a07fdb8d16a6d8df79ce78d080cd3 authored over 8 years agoImagine subcommand `foo` had alias `bar`, running `myprog help bar` now correctly displays the h...
5354d14b51f189885ba110e01e6b76cca3752992 authored over 8 years agoIssues 511,523
e1d33f8f2219c0f7977dc960980b05f19521baba authored over 8 years agod0fd55a78ad37ebe64ba3d68c0e48f56df05aa21 authored over 8 years ago
1bfae42eaf9257aaaa799cc143c3ee99e9125772 authored over 8 years ago
Closes #523
fe0818b85447dbdbdafef795b21b051c6f1601d0 authored over 8 years agocef4a9fa1f0aaa7cb37f765d7a3cf6aa9618f136 authored over 8 years ago
785ff83a14acfbafdaa977bea2ca57970eee2b87 authored over 8 years ago
One can now use `AppSettings::DontDelimitTrailingValues` to stop clap's default behavior of
deli...
706a7c11b0900be594de6d5a3121938eff197602 authored over 8 years ago
7db45f78d8bb073c3c1e51148ee03a1a84eac813 authored over 8 years ago
Issues 512,518,519
a77c800da78604bd5bfa9b5feba87f42cb9ee566 authored over 8 years ago01e7dfd6c07228c0be6695b3c7bf9370d82860d4 authored over 8 years ago
0d541a25345d6e5e2d4ec8f67c29119730155c15 authored over 8 years ago
17bc17c69910d9217b923231a435ba595ba8d98e authored over 8 years ago
c8cc87ac1022e507e9fbca90ba651ecce3226556 authored over 8 years ago
Closes #514
8f630c6a07e0deb53412c081a5e074b76b9cd292 authored over 8 years agocd4408065014ede411d26055c580249ec4a25cd3 authored over 8 years ago
330e5edf049f8422ac8340ddf878387780fc3a4c authored over 8 years ago
9582b8278952d0e874ca7184cd7f18dc59296e42 authored over 8 years ago
04d27ce803959d0db10bd06ec8ec0a088f6fb4f2 authored over 8 years ago
6e7f3e0556150a6198228641cdfc5ba951b91523 authored over 8 years ago
Instead of blindly printing `[ARGS]` when only a single positional arg is present, it will now
p...
054f8cb433e17e40ddade1c6eee52385b30d809a authored over 8 years ago
Closes #519
e23418351a3b98bf08dfd7744bc14377c70d59ee authored over 8 years agoc5b24c0eb079ae0a7318ce9a32ffdb83567960f9 authored over 8 years ago
cda27469cd8e0ff408360f7701b6fc577ed87a65 authored over 8 years ago
a7401dc6a1a9a43eaf5632d3c8dfec2690435a82 authored over 8 years ago
Color are now only used when outputting to a termainal/TTY. There are three new settings as well...
65c2350aa376eeaeb27d33a7f2aba49d684b6436 authored over 8 years agoQuick issues
Relates to #515 #516 #514
34e608c124f81a7cea9c8e3ef1cb64a53ae0876c authored over 8 years ago638bf11cfe95e8a2ece44fec9e978e4594447093 authored over 8 years ago
05abb534864764102031a0d402e64ac65867aa87 authored over 8 years ago
Closes #514
90d7d6a2ea8240122dd9bf8d82d3c4f5ebb5c703 authored over 8 years ago24423e661ef59141e5d581e9c617b44daa985520 authored over 8 years ago
b3faff6030f76a23f26afcfa6a90169002ed7106 authored over 8 years ago
86e61d19a748fb9870fcf1175308984e51ca1115 authored over 8 years ago
84029aba18ac2b57216b79567ffede50b5cf42c3 authored over 8 years ago
65b1de6d1f5557e80381595a3733d9a7a2e3b545 authored over 8 years ago
921f5f7916597f1d028cd4a65bfe76a01c801724 authored over 8 years ago
7e2e2cbb4a8a0f050bb8072a376f742fc54b8589 authored over 8 years ago
docs: inter-links all types and pages
All doc pages should now be inter-linked between other do...
a86d6aac4b97660e1a7d74dfe8ae6973a5206d83 authored over 8 years ago
All doc pages should now be inter-linked between other doc pages and
Rust documentation.
Closes...
3312893ddaef3f44d68d8d26ed3d08010be50d97 authored over 8 years agodocs: makes all publicly available types viewable in docs
Some types weren't viewable in the do...
d392fd0edc84b5695e42615d9de1efbea45e1874 authored over 8 years ago
Some types weren't viewable in the docs, such as `Values`, `OsValues`,
and `ArgSettings`. All th...
chore: increase version
0c6c4ad743f234774899a9e700d24c794e9aa23e authored over 8 years agod681a5b32cdf4061e3a82a3590ec165a5b5f2dde authored over 8 years ago
test: adds failing alias doc test and example
Hey there,
I tried out the new aliasing feature, ...
ac42f6cf0de6c4920f703807d63061803930b18d authored over 8 years ago
6ba910e89b4c9ff51bd6005c43dfe050398b0595 authored over 8 years ago
V2.5.0
57c8777062fd6c0faad8a8375065d112e4a7166b authored over 8 years ago41a482cf5d9cd4f1bbbff12108ad545a7f820828 authored over 8 years ago
d4cafcc0fc2e35fae06019b6dde6e51170689a1f authored over 8 years ago
Issue 469
1de71c00585043758608f096e256c03666513a16 authored over 8 years agofd8e211895af2a36fac5e5c7f303b1e09eda75a5 authored over 8 years ago
Allows adding a subcommand alias, which function as "hidden" subcommands that automatically
disp...
chore: increase version
b027c659cdb3ae6758a142e63d3c934384a329fe authored over 8 years agob42ca0b5abcf90fc58c8fe96101c3fe7ee72ccd0 authored over 8 years ago
6c7b2da85605bcaa7e4b846b3fcac83d570f3e81 authored over 8 years ago
59152ed500af65004b5460e5ed1d5533cc942c82 authored over 8 years ago
74c8a7f428dfc089452cbb75723ad42e16a0d27d authored over 8 years ago
3ab0bf88267e05e817b8547b091b9545cbd11d52 authored over 8 years ago
Issue 498
~~DO NOT MERGE~~
c8c20a046e9c2ea187fe2f511d5e2326d154025b authored over 8 years ago
For example, if an arg is part of a required group, it will only appear
in the group usage strin...
417dbc30572e75d41bce659bf7e1c978a701db70 authored over 8 years ago
deac597fc678ff8533029289c28441c91bffc990 authored over 8 years ago