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 #639 - nabijaczleweli:improvement/help/wrap-use-term_size, r=kbknapp

Use term_size instead of home-grown solution

Ref: #631

26d5207728115174f39fc995707c70d5591b1929 authored over 8 years ago
imp(help): use term_size instead of home-grown solution

fc7327e9dcf4258ef2baebf0a8714d9c0622855b authored over 8 years ago
Issues rollup (#637)

* feat: adds App::with_defaults to automatically use crate_authors! and crate_version! macros

...

b7793a2f4d1132f29b3e7858d4ebbb1027f31d39 authored over 8 years ago
Auto merge of #635 - kbknapp:issue-634, r=kbknapp

docs: moves docs to docs.rs

Closes #634

13fe03b0335e799f6e0b1a5af6c381d48556a4ec authored over 8 years ago
docs: moves docs to docs.rs

Closes #634

03209d5e1300906f00bafec1869c2047a92e5071 authored over 8 years ago
Auto merge of #631 - nabijaczleweli:feature/windows/console-wrap, r=kbknapp

Add support for wrapping help at console width on windows

Had to revert many formatting changes...

485d993bfd6e9c268bbfbc96cdfc37a4997e7ca8 authored over 8 years ago
docs(app): document that Windooze supports term width detection now

85999ea7ad07de30a0cd7dfab64fe130ba2ecaca authored over 8 years ago
feat(help): support wrapping help at console width on windows

Closes #455

0d93d9b9532989b469d8c0ba6cf319fd2d1ddbe1 authored over 8 years ago
docs(app): fix documentation formatting for App::template() (#632)

853a90de0147190773d832513fe879edc04cc6a5 authored over 8 years ago
Auto merge of #630 - nabijaczleweli:docs/arggroup/example-2-fix, r=kbknapp

Fix ArgGroup example not formatted as code

Before:
![before image](https://cloud.githubusercont...

c95b0c62ab9dc778cd9b1753ee97e295d7ed26f8 authored over 8 years ago
docs(arggroup): fix example not formatted as code

ecfda7d4346911ea486fb18eb666610d20fc1909 authored over 8 years ago
Auto merge of #629 - kbknapp:issue-626, r=kbknapp

Issue 626

2df109a4281841730040b3e6d0e7f891b947d336 authored over 8 years ago
chore: increase version

f7c787c1ce4bae0716891e3d8cbb9b9f25706bd6 authored over 8 years ago
tests: updates tests to account for variable term widths and non-english chars

cdb9037c15adef57038227cd7957b80251aa0491 authored over 8 years ago
fix(Help Wrapping): fixes a bug where help is wrapped incorrectly and causing a panic with some non-English characters

Closes #626

d0b442c7beeecac9764406bc3bd171ced0b8825e authored over 8 years ago
Auto merge of #628 - kbknapp:issues-625,626, r=kbknapp

Issues 625,626

bd704e0d4f27bcd07fcc0fbc3707cdf30e8bc61f authored over 8 years ago
chore: allows wrapping help on windows

57690b2af1f55ceaa3d49393b46f626e77cc66b1 authored over 8 years ago
chore: increase version

84ad746ee556af0ae4e5055c4f55c77e2ed478b5 authored over 8 years ago
fix(Unicode): fixes two bugs where non-English characters were stripped or caused a panic with help wrapping

Closes #626

763a5c920e23efc74d190af0cb8b5dd714b2d67a authored over 8 years ago
tests: adds tests to prevent issue 626

881a647ee946918187d4b03b702ed81db12dc9e4 authored over 8 years ago
tests: adds tests for ignoring term width with set_term_width(0)

7558261c884e3b893c0b2c0b7ac36621c415660d authored over 8 years ago
docs(Term Width): adds details about set_term_width(0)

00b8205d22639d1b54b9c453c55c785aace52cb2 authored over 8 years ago
feat(Help): adds new short hand way to use source formatting and ignore term width in help messages

Prior to this commit if one wished to use source formatting and ignore
term width they could do ...

7dfdaf200ebb5c431351a045b48f5e0f0d3f31db authored over 8 years ago
Auto merge of #627 - dguo:patch-1, r=kbknapp

chore: update dep

Fixes a panic when Jaro is called with strings each with a length of one. A `...

0bda63a4928d96c68888d1ce0f7256b37d115630 authored over 8 years ago
chore: update dep

Fixes a panic when Jaro is called with strings each with a length of one

bb23284056e9a08fa73ff6a32b994d52d7803ce7 authored over 8 years ago
Auto merge of #624 - kbknapp:issue-623, r=kbknapp

Issue 623

0ca6f851df0879ed50cc268aedc9ae22095152ff authored over 8 years ago
chore: increase version

8ecb02d0b44a7feed533962f1586ce68050611bb authored over 8 years ago
fix: fixes a bug where the help is printed twice

Closes #623

a643fb283acd9905dc727c4579c5c9fa2ceaa7e7 authored over 8 years ago
Auto merge of #621 - kbknapp:v2.10.1, r=kbknapp

chore: increase version

b4869959c6dd368218c163456bbc1cc3742f32e7 authored over 8 years ago
chore: increase version

fcb049f937b38152eaf9a843eb0676cf9ccd1f71 authored over 8 years ago
Auto merge of #620 - kbknapp:issue-614, r=kbknapp

feat(YAML): allows using lists or single values with arg declarations

One can now use a list or...

098d7faa2cf1d7f50480684e15002bead0aed843 authored over 8 years ago
feat(YAML): allows using lists or single values with arg declarations

One can now use a list or single value for certain Arg YAML declarations
such as possible_values...

9ade2cd4b268d6d7fe828319ce6a523c641b9c38 authored over 8 years ago
Auto merge of #619 - kbknapp:issue-618, r=kbknapp

Issue 618

37cc3c367f2e63b245ac9720303d10a4742be4a1 authored over 8 years ago
chore: allows failing beta until vec_map/#20 is fixed

565d21f71c213726e6e031533ca2b7c8173a7e87 authored over 8 years ago
chore: clippy run

7bc1b4b6c77f6fb33563f216e7a5dbe90ac2f04c authored over 8 years ago
tests: adds tests for multi level help subcommands

9e8e350b95e99d8882e569191f49f3b74354abf8 authored over 8 years ago
fix(Help Subcommand): fixes misleading usage string when using multi-level subcommmands

For example, doing `myprog help subcmd1 subcmd2` would have incorrectly
produced the usage strin...

e203515e3ac495b405dbba4f78fb6af148fd282e authored over 8 years ago
Fix issue #607: Remove already matched parameters on errors of required

bba598931a15f066604baf121899e13c8144bf8c authored over 8 years ago
doc: small fixes (#612)

a983bd9b7e85246f497d8eb86320d9584a6987fd authored over 8 years ago
Auto merge of #611 - kbknapp:v2.10.0, r=kbknapp

chore: increase version

8b41e940718331da5326f608ff830158d4f9f87c authored over 8 years ago
chore: increase version

522d934b1bad072666343483a26d379f534040de authored over 8 years ago
Auto merge of #610 - kbknapp:starkat99-fix-subcommand-name, r=kbknapp

Starkat99 fix subcommand name

3f79467e6b18f68d9516b7681a1fe9cb3178bc7c authored over 8 years ago
Merge branch 'fix-subcommand-name' of https://github.com/starkat99/clap-rs into starkat99-fix-subcommand-name

32dba379d4678ceb9f7a9bef5f7ad0664f4a42b5 authored over 8 years ago
doc: small fixes (#609)

13233d7f2fb1368f7744f5cd9f54c260a0678a71 authored over 8 years ago
Auto merge of #605 - kbknapp:wdv4758h-fish-completion, r=kbknapp

Wdv4758h fish completion

merge of #579

7d0d447ddbd8f122c198cb5811b4b0c7d40a37da authored over 8 years ago
Merge branch 'fish-completion' of https://github.com/wdv4758h/clap-rs into wdv4758h-fish-completion

ccdd0571c29e1ee1512108baba24a6c443ecadc8 authored over 8 years ago
fix(parser): preserve external subcommand name

BREAKING CHANGE: Access external subcommand arguments using an empty
argument name (i.e. `values...

875df24316c266920a073c13bbefbf546bc1f635 authored over 8 years ago
tests(template): fix template asserts on windows

aebc8fd8285fb600272672cf65244e5011ba77a1 authored over 8 years ago
feat(Completions): one can generate a basic fish completions script at compile time

The following completion would happen (using example 17_yaml.rs):

```
$ prog <tab>
help subcmd
...

1979d2f2f3216e57d02a97e624a8a8f6cf867ed9 authored over 8 years ago
Auto merge of #603 - kbknapp:issue-601, r=kbknapp

docs(YAML): fixes example 17's incorrect reference to arg_groups inst…

…ead of groups

Closes #601

c810becd4fbe949dd0afb51aa1949ca3fef6a4b0 authored over 8 years ago
chore: clippy run

7bf76b889bfe99eeee23696d581f26b53c5e7f5e authored over 8 years ago
chore: update deps

66c411a044da1cf7c6d1ec78ce91832db10381f1 authored over 8 years ago
docs(YAML): fixes example 17's incorrect reference to arg_groups instead of groups

Closes #601

b6c99e1377f918e78c16c8faced70a71607da931 authored over 8 years ago
chore: increase version (#599)

9605ea83aab50113fcd190e9a54adfaae1634072 authored over 8 years ago
feat(Settings): Add unset_setting and unset_settings fns to App (#598)

Closes #590.

0ceba231c6767cd6d88fdb1feeeea41deadf77ff authored over 8 years ago
Auto merge of #596 - rtaycher:authors, r=kbknapp

removed unstable gate from crate_authors

The cargo feature it depends on has been available sin...

84a08758b26ad989f6b05cb1c4fee8d75caecbf1 authored over 8 years ago
Merge branch 'master' into authors

3398b64b5a401f76d3ff573dca514ff0d0157149 authored over 8 years ago
removed unstable gate from crate_authors

05edc4338eccd8c6e6af1fa7f7ca08c35a0296ab authored over 8 years ago
Auto merge of #595 - kbknapp:issues-575,593, r=kbknapp

Issues 575,593

8830dc4edf1981cc82afe37816a0dd58e9e4ca07 authored over 8 years ago
test: adds tests for required_unless_one cases

625cbbca0d92b8756eac6fcacc795d90527d8975 authored over 8 years ago
fix: fixes bug where only first arg in list of required_unless_one is recognized

Closes #575

1fc3b55bd6c8653b02e7c4253749c6b77737d2ac authored over 8 years ago
fix(Settings): fixes typo subcommandsrequired->subcommandrequired

Closes #593

fc72cdf591d30f5d9375d0b5cc2a2ff3e812f9f6 authored over 8 years ago
tests: adds require_unless_one test cases

* test: `require_unless_one` with second argument

Add the `require_unless_one_2` test. This t...

1b99091e0a67f307762bed8e11bca6f52195700a authored over 8 years ago
Auto merge of #570 - davidszotten:gen_completion_to, r=kbknapp

add `gen_completions_to`

to write completions to buffer (e.g. stdout) instead of file. fixes #5...

af4bb4c6d547c669d6865adb9cf32f8da5da3a5b authored over 8 years ago
feat(Completions): adds the ability to generate completions to io::Write object

9f62cf7378ba5acb5ce8c5bac89b4aa60c30755f authored over 8 years ago
Auto merge of #571 - gohyda:master, r=kbknapp

Fix: typo and missing color

691ef58dfb7d8f0fcdfd12dd09df3a38d9e95d47 authored over 8 years ago
Fix: missing color

8c32b4b63f31607672dee0dc18ebccfa2713b0ec authored over 8 years ago
Fix: typo -- missing space and commas

f8ca3085dab6d53c63b0434b7db0baae7ac0f5f2 authored over 8 years ago
Fix: extra space typo removed

8d7bea823fd537c0d718839b546135248e60e602 authored over 8 years ago
Auto merge of #569 - iliekturtles:patch-1, r=kbknapp

Fix get_matches typo

6398ca435b7cb5b2325901db34e609e411fa057b authored over 8 years ago
Fix get_matches typo

b3cdc3b5c2c6f5745bb548b9845dac45741cdbde authored over 8 years ago
Auto merge of #565 - kbknapp:issue-563, r=kbknapp

Issue 563

3680ce85e3d17c4d35d1b2cf882242bfcce3e450 authored over 8 years ago
chore: increase version

4e60b2254dee9ac7e405fbdc7f6b8d4a335fb6b9 authored over 8 years ago
fix(Completions): fixes bug where --help and --version short weren't added to the completion list

Closes #563

cecfe981ea89a1328e98ff9c9f52104247bcf976 authored over 8 years ago
Auto merge of #562 - swatteau:fix-compl-doc, r=kbknapp

Fix the formatting in the completions example

A missing newline prevented the Cargo.toml excerp...

0b4ee665ad3ffc2fc823d24fa52f3526f6fd0794 authored over 8 years ago
docs(Completions): fixes the formatting of the Cargo.toml excerpt in the completions example

722f2607beaef56b6a0e433db5fd09492d9f028c authored over 8 years ago
Auto merge of #561 - kbknapp:compl-mult-bin, r=kbknapp

Compl mult bin

11b92170efbf48523ee5048177bd588a3bd563d1 authored over 8 years ago
chore: increase version

9e9d92a3bd80e495355584ebbb2da3bef68d96dc authored over 8 years ago
imp(Completions): allows multiple completions to be built by namespacing with bin name

Completions are now written `<bin>_<shell>.<ext>` vice the old, `<shell>.<ext>`

57484b2daeaac01c1026e8c84efc8bf099e0eb31 authored over 8 years ago
Merge pull request #560 from kbknapp/issue-558

Issue 558

f10375ebe0e9ed18a088f257ab046270c6356681 authored over 8 years ago
Merge branch 'master' into issue-558

c9d17392c5a8ab66531baac2b4e36288f71a210e authored over 8 years ago
Auto merge of #559 - kbknapp:issues-556,557, r=kbknapp

Issues 556,557

453cff59e153e5e41f431ad24cfe3b8935b0c2aa authored over 8 years ago
chore: updates changelog and readme for release

aa95719ebac5a6b13b5d4c39fbc2f77bf55d9932 authored over 8 years ago
tests: adds tests for leading hyphen issues

93cbb56f7771bf859b35b53cc87bcef83e554261 authored over 8 years ago
fix(AllowLeadingHyphen): fixes an issue where isn't ignored like it should be with this setting

Prior to this fix, using `AppSettings::AllowLeadingHyphen` wouldn't properly ignore `--`

Closes...

96c24c9a8fa1f85e06138d3cdd133e51659e19d2 authored over 8 years ago
chore: updates readme and changelog

cb251de25ce7ccff74002deda9778715b07b288d authored over 8 years ago
imp(Completions): completions now include aliases to subcommands, including all subcommand options

Aliases to subcommands can now be completed just like the original subcommand they alias.

Imagi...

0ab9f84052a8cf65b5551657f46c0c270841e634 authored over 8 years ago
docs(Completions): fixes some errors in the completion docs

9b359bf06255d3dad8f489308044b60a9d1e6a87 authored over 8 years ago
imp(Completions): completions now continue completing even after first completion

Prior to this change, completions only allowed one completion per command, this change allows as...

18fc2e5b5af63bf54a94b72cec5e1223d49f4806 authored over 8 years ago
imp(Completions): allows matching on possible values in options

Now when one completes an option with possible values, those values will be displayed. Imagine
a...

89cc2026ba9ac69cf44c5254360bbf99236d4f89 authored over 8 years ago
Auto merge of #554 - kbknapp:issue-376, r=kbknapp

Issue 376

70fa5f780abd81901444b1d1fc617646eb7d258e authored over 8 years ago
chore: increase version

7daee9ded0d6343d1eed0aae0d8fa942883d7233 authored over 8 years ago
docs(Completions): adds documentation for completion scripts

c6c519e40efd6c4533a9ef5efe8e74fd150391b7 authored over 8 years ago
feat(Completions): one can now generate a bash completions script at compile time

By using a build.rs "build script" one can now generate a bash completions script which allows t...

e75b6c7b75f729afb9eb1d2a2faf61dca7674634 authored over 8 years ago
Auto merge of #551 - kbknapp:issues-546,549, r=kbknapp

Issues 546,549

3a000d69d9c93596ee2fe0f80d2acee063fb7879 authored over 8 years ago
chore: increase version

e5ba93afd33b8fea595e6cb30d61934ae562e3f6 authored over 8 years ago
refactor(term.rs): moved term.rs into it's own crate so others can pull in just that portion

The functionality can now be found in https://crates.io/crates/term_size

Closes #549

ceddee9157b8af9dd46b8866bcc9963d292c2e92 authored over 8 years ago
tests(Arg): adds tests for

Closes #546

98a7e8a6367aa89819fb5c6ffbec3567afe2bd1b authored over 8 years ago
docs(Arg): adds docs for

49af4e38a5dae2ab0a7fc3b4147e2c053d532484 authored over 8 years ago
feat(Arg): adds new setting `Arg::require_delimiter` which requires val delimiter to parse multiple values

Using this setting requires a value delimiter be present in order to parse multiple values.
Othe...

920b5595ed72abfb501ce054ab536067d8df2a66 authored over 8 years ago