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

Auto merge of #550 - joshtriplett:term-winsize-c, r=kbknapp

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
fix: Declare term::Winsize as repr(C)

The term module uses the struct Winsize directly in a C ioctl call, so
it must use C struct repr...

5d663d905c9829ce6e7a164f1f0896cdd70236dd authored over 8 years ago
Auto merge of #547 - kbknapp:issue-546, r=kbknapp

Issue 546

dc6740a5ff4a98597957e9d2e0ee3784f66f3ab3 authored over 8 years ago
chore: increase version

fa452fad65e6e531d911533104ec4e3be9ea7570 authored over 8 years ago
tests(Options): adds tests to cover new stop parsing vals after spaces with equals or delims

c84834abbb5f672fd33a04e264e8859f94ec5f65 authored over 8 years ago
fix(Options): values using delimiters no longer parse additional values after a trailing space

Imagine two args, an option `-o` which accepts mutliple values, and a positional arg `<file>`.
P...

cdc500bdde6abe238c36ade406ddafc2bafff583 authored over 8 years ago
fix(Options): using options with an = no longer parse args after the trailing space as values

Imagine two args, an options `-o` and a positionanl arg `<file>` where the option allows multipl...

290f61d07177413cf082ada55526d83405f6d011 authored over 8 years ago
Merge pull request #545 from kbknapp/v2.7.0

chore: increase version

518a79ddc1c293e3037d18d743a788f5c906de24 authored over 8 years ago
chore: increase version

[ci skip]

d8de15d1a7ce1725688d23096fba7dd3f0ca0ffa authored over 8 years ago
Auto merge of #544 - kbknapp:issue-543, r=kbknapp

imp(arg_enum!): allows using meta items like repr(C) with arg_enum!s

One can now use more than ...

3d5d865f21132ad827be82204ea99ccf9689a147 authored over 8 years ago
imp(arg_enum!): allows using meta items like repr(C) with arg_enum!s

One can now use more than one meta item, and things like `#[repr(C)]`

Example:

```rust

arg_en...

edf9b2331c17a2cbcc13f961add4c55c2778e773 authored over 8 years ago
Auto merge of #542 - brianp:issue-426, r=kbknapp

imp(ArgGroup): Add multiple ArgGroups per Arg

Add the function `Arg.groups` that can take a `Ve...

18237f403a31a3b7efb6e6ecc90d1066b56fddd4 authored over 8 years ago
Auto merge of #541 - hexjelly:fix-doc-typos, r=kbknapp

docs: fix typos

Just caught a couple of small typos while browsing the documentation, I believe...

3803b94ef05c385a5d185432db2b19ff143c4c68 authored over 8 years ago
imp(ArgGroup): Add multiple ArgGroups per Arg

Add the function `Arg.groups` that can take a `Vec<&'a str>` to add the `Arg` to multiple `ArgGr...

902e182f7a58aff11ff01e0a452abcdbdb2262aa authored over 8 years ago
docs: fix typos

43b3d40b8c38b1571da75af86b5088be96cccec2 authored over 8 years ago
Auto merge of #540 - kbknapp:issues-536_to_539, r=kbknapp

Issues 536 to 539

16c693a6dbd702d7e1b32acda0923af01af36c5b authored over 8 years ago
fix(App): using `App::print_help` now prints the same as would have been printed by `--help` or the like

Using `App::print_help` before wasn't building the default `--help` and `--version` flags proper...

e84cc01836bbe0527e97de6db9889bd9e0fd6ba1 authored over 8 years ago
tests(Usage Strings): updates usage string tests

4f805d53e71d73cf6b23c0919294ae9d6db25136 authored over 8 years ago
imp(Usage Strings): `[FLAGS]` and `[ARGS]` are no longer blindly added to usage strings

In usage strings `[FLAGS]` and `[ARGS]` tags are now only added if there are relevant flags and
...

9b2e45b170aff567b038d8b3368880b6046c10c6 authored over 8 years ago
fix(Help): prevents invoking <cmd> help help and displaying incorrect help message

Previously, if one ran `<cmd> help help` an additional `help` subcommand was created and a help
...

e3d2893f377942a2d4cf3c6ff04524d0346e6fdb authored over 8 years ago
fix(Help): subcommand help messages requested via <cmd> help <sub> now correctly match <cmd> <sub> --help

Prior to this fix, runnning `prog help subcmd` would produce:

```
subcmd

USGAE:
[...]
```

Not...

08ad1cff4fec57224ea957a2891a057b323c01bc authored over 8 years ago
Auto merge of #535 - kbknapp:issues-533,534, r=kbknapp

Issues 533,534

89d208eb7b8416144515e98af2e7430568bc76c2 authored over 8 years ago
docs(Groups): vastly improves ArgGroup docs by adding better examples

Closes #534

9e5f4f5d734d630bca5535c3a0aa4fd4f9db3e39 authored over 8 years ago
tests(Groups): adds test for groups with multiple allowed

ba68caa3d1da7eeb76b92d2b0dd16a0e9d0411d0 authored over 8 years ago
feat(Groups): one can now specify groups which require AT LEAST one of the args

Unlike the previous ArgGroups, which made all args in the group mutually exclusive, one can now ...

33689acc689b217a8c0ee439f1b1225590c38355 authored over 8 years ago
Merge pull request #531 from kbknapp/issues-451,516

Issues 451,516

ce724d8f61f6f6162ff1f131a671e18d3fc978f7 authored over 8 years ago
chore: increase version

0dbe2ee600424f045396d1c8657c08d5763d95d4 authored over 8 years ago
fix(Help): `App::before_help` and `App::after_help` now correctly wrap

`before_help` and `after_help` weren't wrapping at the either the specified terminal width, or a...

1f4da7676e6e71aa8dda799f3eeefad105a47819 authored over 8 years ago
feat(Help): allows wrapping at specified term width (Even on Windows!)

Now using `App::set_term_width` will set a wrapping width regardless of terminal size. This can
...

1761dc0d27d0d621229d792be40c36fbf65c3014 authored over 8 years ago
Auto merge of #530 - kbknapp:issues-526,528,529, r=kbknapp

Issues 526,528,529

9088ade4f379e3738d9985d3b87c34d4b061d4ac authored over 8 years ago
fix(YAML): adds missing YAML methods for App and Arg

Closes #528

e468faf3f05950fd9f72d84b69aa2061e91c6c64 authored over 8 years ago
tests(Aliases): adds tests for alias help output

eb7521a9967dc387ae12d3ddd97b82c5b8dca054 authored over 8 years ago
imp(Aliases): improves readability of asliases in help messages

Aliases are now displayed after the help text inside a `[aliases: als1, als2, als3]` style box.
...

ca511de71f5b8c2ac419f1b188658e8c63b67846 authored over 8 years ago
Auto merge of #525 - kbknapp:issues-521,522, r=kbknapp

Issues 521,522

50ca205e3b7338545dcb4ef219df30f9176fc286 authored over 8 years ago
tests: adds tests for visible aliases

2ff981b9be28cae15f580cb6dcdd32425c2bec4e authored over 8 years ago
feat(Subcommands): adds support for visible aliases

This commit adds support for visible aliases, which function exactly like aliases except that th...

7b10e7f8937a07fdb8d16a6d8df79ce78d080cd3 authored over 8 years ago
fix(Subcommands): subcommands with aliases now display help of the aliased subcommand

Imagine subcommand `foo` had alias `bar`, running `myprog help bar` now correctly displays the h...

5354d14b51f189885ba110e01e6b76cca3752992 authored over 8 years ago
Auto merge of #524 - kbknapp:issues-511,523, r=kbknapp

Issues 511,523

e1d33f8f2219c0f7977dc960980b05f19521baba authored over 8 years ago
chore: updates pinned nightly version for TravisCI

d0fd55a78ad37ebe64ba3d68c0e48f56df05aa21 authored over 8 years ago
refactor: clippy run

1bfae42eaf9257aaaa799cc143c3ee99e9125772 authored over 8 years ago
chore: unpins clippy version

Closes #523

fe0818b85447dbdbdafef795b21b051c6f1601d0 authored over 8 years ago
chore: deletes accidental file

cef4a9fa1f0aaa7cb37f765d7a3cf6aa9618f136 authored over 8 years ago
tests(Settings): adds tests for DontDelimitTrailingValues

785ff83a14acfbafdaa977bea2ca57970eee2b87 authored over 8 years ago
feat(Settings): adds new setting to stop delimiting values with -- or TrailingVarArg

One can now use `AppSettings::DontDelimitTrailingValues` to stop clap's default behavior of
deli...

fc3e0f5afda6d24cdb3c4676614beebe13e1e870 authored over 8 years ago
fix(Settings): fixes bug where new color settings couldn't be converted from strs

706a7c11b0900be594de6d5a3121938eff197602 authored over 8 years ago
chore: removes extra debug statements

7db45f78d8bb073c3c1e51148ee03a1a84eac813 authored over 8 years ago
Auto merge of #520 - kbknapp:issues-512,518,519, r=kbknapp

Issues 512,518,519

a77c800da78604bd5bfa9b5feba87f42cb9ee566 authored over 8 years ago
fix(Windows): fixes a failing windows build

01e7dfd6c07228c0be6695b3c7bf9370d82860d4 authored over 8 years ago
Merge branch 'master' into issues-512,518,519

0d541a25345d6e5e2d4ec8f67c29119730155c15 authored over 8 years ago
tests(Settings): adds tests for global subcommands

17bc17c69910d9217b923231a435ba595ba8d98e authored over 8 years ago
tests: updates help tests to remove extra newline

c8cc87ac1022e507e9fbca90ba651ecce3226556 authored over 8 years ago
fix: fixes bug where one can't override version or help flags

Closes #514

8f630c6a07e0deb53412c081a5e074b76b9cd292 authored over 8 years ago
fix: fixes bug where args are printed out of order with templates

cd4408065014ede411d26055c580249ec4a25cd3 authored over 8 years ago
fix: fixes issue where before_help wasn't printed

330e5edf049f8422ac8340ddf878387780fc3a4c authored over 8 years ago
tests: adds test to check for before_help

9582b8278952d0e874ca7184cd7f18dc59296e42 authored over 8 years ago
chore: increase version

04d27ce803959d0db10bd06ec8ec0a088f6fb4f2 authored over 8 years ago
tests(Usage Strings): adds tests for single positional arg usage strings

6e7f3e0556150a6198228641cdfc5ba951b91523 authored over 8 years ago
imp(Usage Strings): improves the default usage string when only a single positional arg is present

Instead of blindly printing `[ARGS]` when only a single positional arg is present, it will now
p...

ec86f2dada1545a63fc72355e22fcdc4c466c215 authored over 8 years ago
imp: removes extra newline from help output

054f8cb433e17e40ddade1c6eee52385b30d809a authored over 8 years ago
feat(Settings): one can now set an AppSetting which is propogated down through child subcommands

Closes #519

e23418351a3b98bf08dfd7744bc14377c70d59ee authored over 8 years ago
tests: removes extra newline from version output tests

c5b24c0eb079ae0a7318ce9a32ffdb83567960f9 authored over 8 years ago
imp: removes extra newline when printing version

cda27469cd8e0ff408360f7701b6fc577ed87a65 authored over 8 years ago
imp: allows printing version to any io::Write object

a7401dc6a1a9a43eaf5632d3c8dfec2690435a82 authored over 8 years ago
feat: colors dont get sent to pipes by default

Color are now only used when outputting to a termainal/TTY. There are three new settings as well...

65c2350aa376eeaeb27d33a7f2aba49d684b6436 authored over 8 years ago
Auto merge of #517 - kbknapp:quick-issues, r=kbknapp

Quick issues

Relates to #515 #516 #514

34e608c124f81a7cea9c8e3ef1cb64a53ae0876c authored over 8 years ago
chore: increase version

638bf11cfe95e8a2ece44fec9e978e4594447093 authored over 8 years ago
fix: fixes bug where args are printed out of order with templates

05abb534864764102031a0d402e64ac65867aa87 authored over 8 years ago
fix: fixes bug where one can't override version or help flags

Closes #514

90d7d6a2ea8240122dd9bf8d82d3c4f5ebb5c703 authored over 8 years ago
tests: adds test to check for before_help

24423e661ef59141e5d581e9c617b44daa985520 authored over 8 years ago
fix: fixes issue where before_help wasn't printed

b3faff6030f76a23f26afcfa6a90169002ed7106 authored over 8 years ago
imp: removes extra newline from help output

86e61d19a748fb9870fcf1175308984e51ca1115 authored over 8 years ago
tests: updates help tests to remove extra newline

84029aba18ac2b57216b79567ffede50b5cf42c3 authored over 8 years ago
tests: removes extra newline from version output tests

65b1de6d1f5557e80381595a3733d9a7a2e3b545 authored over 8 years ago
imp: allows printing version to any io::Write object

921f5f7916597f1d028cd4a65bfe76a01c801724 authored over 8 years ago
imp: removes extra newline when printing version

7e2e2cbb4a8a0f050bb8072a376f742fc54b8589 authored over 8 years ago
Auto merge of #508 - kbknapp:issue-505, r=kbknapp

docs: inter-links all types and pages

All doc pages should now be inter-linked between other do...

a86d6aac4b97660e1a7d74dfe8ae6973a5206d83 authored over 8 years ago
docs: inter-links all types and pages

All doc pages should now be inter-linked between other doc pages and
Rust documentation.

Closes...

3312893ddaef3f44d68d8d26ed3d08010be50d97 authored over 8 years ago
Auto merge of #507 - kbknapp:issue-505, r=kbknapp

docs: makes all publicly available types viewable in docs

Some types weren't viewable in the do...

d392fd0edc84b5695e42615d9de1efbea45e1874 authored over 8 years ago
docs: makes all publicly available types viewable in docs

Some types weren't viewable in the docs, such as `Values`, `OsValues`,
and `ArgSettings`. All th...

52ca6505b4fec7b5c2d53d160c072d395eb21da6 authored over 8 years ago
Merge pull request #504 from kbknapp/v2.5.1

chore: increase version

0c6c4ad743f234774899a9e700d24c794e9aa23e authored over 8 years ago
chore: increase version

d681a5b32cdf4061e3a82a3590ec165a5b5f2dde authored over 8 years ago
Auto merge of #503 - hoodie:master, r=kbknapp

test: adds failing alias doc test and example

Hey there,
I tried out the new aliasing feature, ...

11270d68d583ae34ee151ed2536a186025731eee authored over 8 years ago
Fix: SubCommand::aliases lifetime errors

ac42f6cf0de6c4920f703807d63061803930b18d authored over 8 years ago
test: adds failing doc test

6ba910e89b4c9ff51bd6005c43dfe050398b0595 authored over 8 years ago
Merge pull request #502 from kbknapp/v2.5.0

V2.5.0

57c8777062fd6c0faad8a8375065d112e4a7166b authored over 8 years ago
imp(SubCommand Aliases): adds feature to yaml configs too

41a482cf5d9cd4f1bbbff12108ad545a7f820828 authored over 8 years ago
chore: increase version

d4cafcc0fc2e35fae06019b6dde6e51170689a1f authored over 8 years ago
Auto merge of #501 - kbknapp:issue-469, r=kbknapp

Issue 469

1de71c00585043758608f096e256c03666513a16 authored over 8 years ago
tests(Subcommand Aliases): adds tests for new aliases

fd8e211895af2a36fac5e5c7f303b1e09eda75a5 authored over 8 years ago
feat(SubCommands): adds support for subcommand aliases

Allows adding a subcommand alias, which function as "hidden" subcommands that automatically
disp...

66b4dea65c44d8f77ff522238a9237aed1bcab6d authored over 8 years ago
Auto merge of #500 - kbknapp:v2.4.1, r=kbknapp

chore: increase version

b027c659cdb3ae6758a142e63d3c934384a329fe authored over 8 years ago
chore(Tests): had to remove external clap-test crate...sad face

b42ca0b5abcf90fc58c8fe96101c3fe7ee72ccd0 authored over 8 years ago
chore: increase ghost version

6c7b2da85605bcaa7e4b846b3fcac83d570f3e81 authored over 8 years ago
chore: updates clap-test to solve chicken and egg api issue

59152ed500af65004b5460e5ed1d5533cc942c82 authored over 8 years ago
chore: moved clap-test to it's own repo

74c8a7f428dfc089452cbb75723ad42e16a0d27d authored over 8 years ago
chore: increase version

3ab0bf88267e05e817b8547b091b9545cbd11d52 authored over 8 years ago
Auto merge of #499 - kbknapp:issue-498, r=kbknapp

Issue 498

~~DO NOT MERGE~~

c8c20a046e9c2ea187fe2f511d5e2326d154025b authored over 8 years ago
fix(Usage Strings): now properly dedups args that are also in groups

For example, if an arg is part of a required group, it will only appear
in the group usage strin...

3ca0947c166b4f8525752255e3a4fa6565eb9689 authored over 8 years ago
test: adds test for new group deduping

417dbc30572e75d41bce659bf7e1c978a701db70 authored over 8 years ago
chore: updates dep graph

deac597fc678ff8533029289c28441c91bffc990 authored over 8 years ago