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

tests: removes old python tests and replaces with rust tests

Closes #166

852e58156c884b8da9c26ddedf4d594b28bc032b authored over 8 years ago
fix(Usage Strings): removes duplicate groups from usage strings

f574fb8a7cde4d4a2fa4c4481d59be2d0f135427 authored over 8 years ago
tests(Groups): adds tests for positional arg formatting in groups

a0a56318d06d9e61593ea89fb1f58e1ac85a3bcc authored over 8 years ago
imp(Groups): formats positional args in groups in a better way

fef11154fb7430d1cbf04a672aabb366e456a368 authored over 8 years ago
tests(Help): changes formatting for positional arguments

250ed41f107f7c909ac1b3b9d82f45b23a3ca9e4 authored over 8 years ago
imp(Help): moves positionals to standard <> formatting

03dfe5ceff1d63f172788ff688567ddad9fe119b authored over 8 years ago
Auto merge of #497 - kbknapp:rustfmt, r=kbknapp

style: rustfmt run

cff94579c177854a4a63bc541ad130c353f7a054 authored almost 9 years ago
chore: clippy update and run

2efd81ebbc43bac5db437319e29363de8f48cfc2 authored almost 9 years ago
style: rustfmt run

ffde90f2ba3aef7c9fd8e1c9513d2c98fffe53b8 authored almost 9 years ago
Auto merge of #496 - kbknapp:issue-494, r=kbknapp

Issue 494

b5841d207a4450e12fef2b148ee6a8de18b412db authored almost 9 years ago
tests(Help): changes default help string to new version

1628964a2595a1b9e7af829b121d5c78a810db38 authored almost 9 years ago
imp(Help): default help subcommand string has been shortened

Closes #494

5b7fe8e4161e43ab19e2e5fcf55fbe46791134e9 authored almost 9 years ago
Merge pull request #493 from kbknapp/v2.4.0

V2.4.0

dae2d93bdd5d1bf1094acc23ecb8c23f8bb27776 authored almost 9 years ago
chore: increase version

89db52a965eef901231b60655a6f838d3c530d23 authored almost 9 years ago
fix(Required Args): fixes issue where missing required args are sometimes duplicatd in error messages

Closes #492

5b0120088a2d49f2ead1dffdef6a2d0e0894d67e authored almost 9 years ago
feat(Help): adds support for displaying info before help message

Can now use the `App::before_help` method to add additional information
that will be displayed p...

d8e4dbc9616a1af5da1865c534e4f73e75620389 authored almost 9 years ago
docs(required_unless): adds docs and examples for required_unless

7c89fc55ff5eb99e7913f930a7bb59d4e3dd54ea authored almost 9 years ago
tests: adds tests for required_unless settings

9fdad2e970b84fb25db0cade6a3a42df2e87572e authored almost 9 years ago
feat(Required): adds allowing args that are required unless certain args are present

Adds three new methods of `Arg` which allow for specifying three new
types of rules.

* `Arg::re...

6987f37e71513a8eff31707dd43d191d9d8e3ac3 authored almost 9 years ago
Merge pull request #490 from nvzqz/master

chore: Fix typos in README.md

84381b577e5931fa8f2643932e157e8c2990ffbd authored almost 9 years ago
docs: hides formatting from docs

cb708093a7cd057f08c98b7bd1ed54c2db86ae7e authored almost 9 years ago
chore: removes unused imports

4fe133d9ce00008623247f2dc0537769eda2ea2e authored almost 9 years ago
chore: Fix typos in README.md

e6cb68709d87724940eb175ef781f55222b9943b authored almost 9 years ago
Auto merge of #488 - flying-sheep:patch-1, r=kbknapp

Revert accidental pasting

There was an URL accidentally pasted at the wrong position in 8a95dac...

94b33c5aea1c6050d3af18a641ff6e42d1e6ff0e authored almost 9 years ago
Revert accdental pasting

There was an URL accidentally pasted at the wrong position in 8a95dace62a3556fd1b9dca402435852aa...

bd13ab02d7aa6057c9d5d06718028d6181da12b8 authored almost 9 years ago
feat(HELP): implements optional colored help messages

To enable, ensure `clap` is compiled with `color` cargo feature.

Then in code use `AppSettings:...

770397bcb22e2f5f8fc282c24bbcccd01bf8eb4e authored almost 9 years ago
chore: updates contributors

c4ffd2a9ce049a703d36be08e049faa2b60254b9 authored almost 9 years ago
chore: increase version

ee41482608219f24b54d378caff31977b808bba0 authored almost 9 years ago
Auto merge of #487 - kbknapp:issue-483, r=kbknapp

Issue 483

25d5cbc2385f1093459000030641179dc950b706 authored almost 9 years ago
Auto merge of #478 - hgrecco:template, r=kbknapp

A new Help Engine with templating capabilities

This set of commits brings a new Help System to ...

fdbd12e83069386234d3ead0d7d8e70fb09b3551 authored almost 9 years ago
Auto merge of #482 - rtaycher:authors, r=kbknapp

feat(Authors Macro): adds a crate_authors macro

Adds a crate_authors! macro that fetches
crate ...

93a07e36f7ea7ea92242cbdd25261de8fb04c0ae authored almost 9 years ago
refactor(HELP): Removed code for old help system and tests that helped with the transitions

627ae38dc0c382c37deb371d1c5dda5d632ab7bf authored almost 9 years ago
refactor(HELP): A new Help Engine

The largest organizational change is that methods used to generate the help are
implemented by t...

04b5b074d1f16a8e62a5ca59deaf0506b47ba88b authored almost 9 years ago
feat(HELP): Add a Templated Help system.

The strategy is to copy the template from the the reader to wrapped stream
until a tag is found....

81e121edd616f7285593f11120c63bcccae0d23e authored almost 9 years ago
fix(HELP): Adjust Help to semantic changes introduced in 6933b84

8d23806bd67530ad412c34a1dcdcb1435555573d authored almost 9 years ago
imp(parser.rs): Make Parser's create_usage public allowing to have function outside the parser to generate the help

d51945f8b82ebb0963f4f40b384a9e8335783091 authored almost 9 years ago
imp(src/args): Exposes argument display order by introducing a new Trait

This commit introduces a new trait (`DispOrder`) with a single function
(`fn disp_order(&self) -...

1321630ef56955f152c73376d4d85cceb0bb4a12 authored almost 9 years ago
imp(srs/args): Added longest_filter to AnyArg trait

This function allows providing an extra filter to remove elements when finding
the longest element.

65b3f667532685f854c699ddd264d326599cf7e5 authored almost 9 years ago
imp(parser.rs): Expose Parser's flags, opts and positionals argument as iterators

Writing the help requires read only access to Parser's flags, opts
and positionals. This commit ...

9b23e7ee40e51f7a823644c4496be955dc6c9d3a authored almost 9 years ago
imp(parser.rs): Provide a way to create a usage string without the USAGE: title

a91d378ba0c91b5796457f8c6e881b13226ab735 authored almost 9 years ago
imp(macros.rs): Added write_nspaces macro (a new version of write_spaces)

`write_nspaces` has three differences with `write_spaces`

1. Accepts arguments with attribute...

9d757e8678e334e5a740ac750c76a9ed4e785cba authored almost 9 years ago
minor comment fixes

d0f1d204a0eb3c17f8cef6a8a8f90eefe5a75f64 authored almost 9 years ago
move import inside function to avoid conditional compilation warning

ac468643818a52c949c6fab20923ef685088f190 authored almost 9 years ago
feat(Authors Macro): adds a crate_authors macro

Adds a crate_authors! macro that fetches
crate authors from a (recently added)
cargo enviromenta...

38fb59abf480eb2b6feca269097412f8b00b5b54 authored almost 9 years ago
chore: increase version

8a95dace62a3556fd1b9dca402435852aab2705c authored almost 9 years ago
Auto merge of #481 - kbknapp:v2.2.6, r=kbknapp

chore: increase version

d9372d09bf21b512fa9ba3c3fe7adc90d9aa9471 authored almost 9 years ago
Auto merge of #479 - kbknapp:issue-476, r=kbknapp

Issue 476

From #477

Closes #476

eb5b29912f57e85439110db81f2052c3297a4e47 authored almost 9 years ago
tests(Groups): removes tests causing issues that werent required

c3795ad404a8368a7a0c207426bfacabc9dd0ee3 authored almost 9 years ago
Fix off-by-one-error in ArgGroup printing

3019a685eee747ccbe6be09ad5dddce0b1d1d4db authored almost 9 years ago
Auto merge of #475 - kbknapp:updates, r=kbknapp

chore: updates deps

1dd7e56632cf50db476a283344e0f6b675e91737 authored almost 9 years ago
chore: updates deps

00d5a3e0b26a6db0dba29cc2068211c42d13c95c authored almost 9 years ago
Auto merge of #474 - kbknapp:issue-472, r=kbknapp

Issue 472

bad00f62ed240fd6cf8e48c16f4a4e54721a013a authored almost 9 years ago
Auto merge of #473 - SirVer:fix_result, r=kbknapp

Use ::std::result::Result to make macro hygienic.

I ran into an error using

```
struct Error {...

336d76e030d6e4f87a69d03bafb6f1a436052c3a authored almost 9 years ago
chore: increase version

616e80332168d527e644c2867a2bde355c0118e2 authored almost 9 years ago
test(Help Message): adds test to prevent issue-472

0e69314e533bf1a7c1391b9a7dc489f1390791b5 authored almost 9 years ago
fix(Help Message): fixes bug where arg name is printed twice

Closes #472

71acf1d576946658b8bbdb5ae79e6716c43a030f authored almost 9 years ago
Use ::std::result::Result to make macro hygienic.

4c676c06e8b19b3c7b9d59a91019e6c4d1a7f598 authored almost 9 years ago
Auto merge of #471 - kbknapp:issue-470, r=kbknapp

Issue 470

Relates to [multirust-rs 190](https://github.com/rust-lang-nursery/multirust-rs/issue...

fa02d3b33bde3ce2c5c2110abb976df1382c2e61 authored almost 9 years ago
chore: increase version'

e923c2c1531fa1ed1a8f6db39fbde3b4be973853 authored almost 9 years ago
tests(Empty Values): adds tests for empty values

baf0e1809542594bf70daf11b49ba58bb0ad8fe2 authored almost 9 years ago
fix(Empty Values): fixes bug where empty values weren't stored

Passing empty values, such as `--feature ""` now stores the empty string
correctly as a value (a...

885d166f04eb3fb581898ae5818c6c8032e5a686 authored almost 9 years ago
fix: fixes compiling with debug cargo feature

d4b554509928031ac0808076178075bb21f8c1da authored almost 9 years ago
Auto merge of #467 - kbknapp:issue-466, r=kbknapp

fix(Help Subcommand): fixes issue where help and version flags weren'…

…t properly displayed

C...

157f981b09edf44c2ae38dd93ef7f70e1acb0f39 authored almost 9 years ago
Merge branch 'master' into issue-466

34ffba280368fbcbc507094a1a895dec639fa4dd authored almost 9 years ago
Auto merge of #468 - Bilalh:patch-1, r=kbknapp

docs: fix spelling in Readme.md

a65b82269b37102120b554da86a9ddf73f15de77 authored almost 9 years ago
docs: fix spelling in Readme.md

73ad3ff23b4eac8dd2d2fd34e9c174a635fa6730 authored almost 9 years ago
chore: increase version

cebb889ebced3644031630f20a6aabd479585dff authored almost 9 years ago
fix(Help Subcommand): fixes issue where help and version flags weren't properly displayed

Closes #466

205b07bf2e6547851f1290f8cd6b169145e144f1 authored almost 9 years ago
Merge pull request #464 from kbknapp/dep-graph-update

chore: updates dep graph

72ccf0cf6e9955d06d1d75fd88dc4137e07f0f68 authored almost 9 years ago
chore: updates dep graph

[ci skip]

2a00522dfadf3c3611bc994b417564cb71832e92 authored almost 9 years ago
Merge pull request #463 from kbknapp/issue-456

Issue 456 and 461

5d5f4248a3eadaffe4db76d0590308ef26699802 authored almost 9 years ago
chore: increase version

f2cf2f8a0dc2d4e680013423abeddcc2afcb63c5 authored almost 9 years ago
fix(Help Message): fixes bug with wrapping in the middle of a unicode sequence

Closes #456

05365ddcc252e4b49e7a75e199d6001a430bd84d authored almost 9 years ago
fix(Usage Strings): fixes small bug where -- would appear needlessly in usage strings

Closes #461

6933b8491c2a7e28cdb61b47dcf10caf33c2f78a authored almost 9 years ago
Auto merge of #457 - kbknapp:clippy-update, r=kbknapp

Clippy update

96869dfd5772639182048d5f020437303f2e40ac authored almost 9 years ago
chore: clippy run

144e7e29d6e0d387a5ba08feaec988668561482c authored almost 9 years ago
chore: pins travis to rustc+clippy working pair on nightly

3d4192b6559bc1b50785c6e304f85f97b633a0f6 authored almost 9 years ago
Auto merge of #454 - kbknapp:issue-453,452, r=kbknapp

Issue 453,452

afa6b5d66ec0b197d345c4606d9f9f9463a3d8ae authored almost 9 years ago
tests: updates tests to new verbiage

6322806ea80b7248cb2c854e72f29ab1049e548d authored almost 9 years ago
chore: increase version

929ee98ec889c12fe25c9c1eb8ab1ae55e308b46 authored almost 9 years ago
tests: updates tests to new verions

991aefc10a5dc87b204fee15fa7e0f2d5c79e6c6 authored almost 9 years ago
feat(Help Message): wraps and aligns the help message of subcommands

Subcommand's help strings are now automatically wrapped and aligned just
like other arguments.

...

813d75d06fbf077c65762608c0fa5e941cfc393c authored almost 9 years ago
fix(Help Message): fixes a bug where small terminal sizes causing a loop

Now if the terminal size is too small to properly wrap the help text
lines, it will default to j...

1d73b0355236923aeaf6799abc759762ded7e1d0 authored almost 9 years ago
Auto merge of #450 - kbknapp:issue-416, r=kbknapp

Issue 416 - Help subcommand accepts other subcommands as arguments

Merge *after* #449

Closes #416

cc127f982515dc5785469347509b1628441dd2ae authored almost 9 years ago
Merge branch 'master' into issue-416

babfd266222c829f923de3e348ae9fee9b34b0ca authored almost 9 years ago
Auto merge of #449 - kbknapp:issue-428-redux, r=kbknapp

Issue 428 redux

f6d1685000bb54e3658336a548ba11dd3cf14f45 authored almost 9 years ago
chore: updates readme and changelog for new features

c2cc1eb84669f3668a7ad27a06fd376c3f0c492c authored almost 9 years ago
feat(Help Subcommand): adds support passing additional subcommands to help subcommand

The `help` subcommand can now accept other subcommands as arguments to
display their help messag...

2c12757bbdf34ce481f3446c074e24c09c2e60fd authored almost 9 years ago
chore: fixes platform dependant libc calls

031b71733c352779b8786b66af8eb5ecc0d9deca authored almost 9 years ago
style: fix formatting

d46eaa2cd67ec0d80c940d747c61dfaeda5f486d authored almost 9 years ago
chore: shows screenshot without clicking link

f1850c654e31f0b39c1f7c2666b8b417093b168f authored almost 9 years ago
chore: increase version

387b147820add9a148b5d88c9c59c665451f8a20 authored almost 9 years ago
tests: moves some \t tabs to four spaces for consistency

e428bb6d84d39d55dc7eed05f9981bb623d32aff authored almost 9 years ago
feat(Help Message): can auto wrap and aligning help text to term width

By default `clap` now automatically wraps and aligns help strings to the
term width. i.e.

```
...

e36af0266635f23e85e951b9088d561e9a5d1bf6 authored almost 9 years ago
tests: moves app settings tests to the proper place

675c39f8bac144195861e52e9256800f0646b6d1 authored almost 9 years ago
Auto merge of #446 - kbknapp:issue-444, r=kbknapp

Issue 444

df38346557e5b1e681ce3d265dadda332fc5abcc authored almost 9 years ago
fix(From Usage): fixes a bug where adding empty lines werent ignored

c5c58c86b9c503d8de19da356a5a5cffb59fbe84 authored almost 9 years ago
chore: changes some assertions to debug assertions

22000a08f71c2d1f257f345dea41f0ba2aca3d12 authored almost 9 years ago
feat(Settings): adds support for automatically deriving custom display order of args

Args and subcommands can now have their display order automatically
derived by using the setting...

ad86e43334c4f70e86909689a088fb87e26ff95a authored almost 9 years ago
Auto merge of #443 - kbknapp:issue-442, r=kbknapp

Issue 442

3f26d2b1071d9ac57a920a40044febd3aaba87a9 authored almost 9 years ago