Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/clap-rs/clap_generate

Shell Completion Script and Manpage generation
https://github.com/clap-rs/clap_generate

Auto merge of #867 - kbknapp:stop-the-leaks, r=kbknapp

Stop the leaks

53f3b65d2469a00eefa3cbad5a2650d602dbbfc8 authored almost 8 years ago by Homu <[email protected]>
chore: rustfmt run

588f373ea8673eb6296965aa6903356a5baddad2 authored almost 8 years ago by Kevin K <[email protected]>
fix: fixes some memory leaks when an error is detected and clap exits

8c2dd28718262ace4ae0db98563809548e02a86b authored almost 8 years ago by Kevin K <[email protected]>
Merge branch 'master' of github.com:kbknapp/clap-rs

416d6719a7bc040e2c343e086b60a995cd972968 authored almost 8 years ago by Kevin K <[email protected]>
Merge branch 'master' into issues-833,849

6b5725836fae1ef7ba862b1600461f337f3d4b2a authored almost 8 years ago by Kevin K <[email protected]>
fix: fixes a trait that's marked private accidentlly, but should be crate internal public

1ae21108015cea87e5360402e1747025116c7878 authored almost 8 years ago by Kevin K <[email protected]>
Auto merge of #865 - NickeZ:patch-1, r=kbknapp

Fix minor documentation bug

f1ae47664bfa9946be1df8bf6f4dbf7ca4cca80d authored almost 8 years ago by Homu <[email protected]>
chore: rustfmt run

10ca4d1e21481f9c2440dc1bfac0a2c127031575 authored almost 8 years ago by Kevin K <[email protected]>
tests: adds tests for requiring the equals syntax in options

a01812fed8b855f630bf034cbff730e03a5ec86b authored almost 8 years ago by Kevin K <[email protected]>
feat(Options): adds the ability to require the equals syntax with options --opt=val

Closes #833

f002693dec6a6959c4e9590cb7b7bfffd6d6e5bc authored almost 8 years ago by Kevin K <[email protected]>
style: improves the style of doc tests and examples to increase readability and uniformity

e0f77226854d23dfcd429da10860dabfb0b3e4cc authored almost 8 years ago by Kevin K <[email protected]>
api: provides default_value_os and default_value_if[s]_os

One can now define default values that contain invalid UTF-8.

The underlying implementation has...

0f2a378219a6930748d178ba350fe5925be5dad5 authored almost 8 years ago by Kevin K <[email protected]>
refactor(Arg): removes duplicate and uses Base, Switched, and Valued internally now

fb7057cc7a884e7f74f7791c3ac7478ebb52192b authored almost 8 years ago by Kevin K <[email protected]>
chore: clippy run

65b12f91071e43f55d3003ea3ca3421c6b73c942 authored almost 8 years ago by Kevin K <[email protected]>
Fix minor documentation bug

1971209c0c25dcf26ae597da67bf9dcb4430cdb1 authored almost 8 years ago by Niklas Claesson <[email protected]>
Merge branch 'master' of github.com:kbknapp/clap-rs

e0f6b351872ce246a2195dff3995e1bb08771463 authored almost 8 years ago by Kevin K <[email protected]>
Auto merge of #862 - pkgw:pr-atty, r=kbknapp

refactor: use the atty crate for isatty() detection

Not only does this remove some unsafe code ...

e5159f77e71bbb977632bac450f08f50665ab685 authored almost 8 years ago by Homu <[email protected]>
refactor: use the atty crate for isatty() detection

Not only does this remove some unsafe code from clap itself, `atty` does the
right thing on Wind...

68e03681d8514fa6cb841b85b0b2f0e8ea7cc303 authored almost 8 years ago by Peter Williams <[email protected]>
Merge branch 'master' of github.com:kbknapp/clap-rs

595926382e3383eb14a209f5e98de2f62bb36460 authored almost 8 years ago by Kevin K <[email protected]>
chore: increase version (#858)

6f9a0baff27702d922d4f713ea6c473af81e02bb authored almost 8 years ago by Kevin K <[email protected]>
chore: increase version

9626a1fbe7da2bc42bb469e77046de79cf201363 authored almost 8 years ago by Kevin K <[email protected]>
Auto merge of #857 - eddyb:patch-1, r=kbknapp

Add missing fragment specifier to a clap_app! rule.

Introduced in #238, this bug affects both `...

afd55dda1dfaa8d461fefc991f71d760a8ad4f93 authored almost 8 years ago by Homu <[email protected]>
Add missing fragment specifier to a clap_app! rule.

f28b2353b24229ac04708b6828a4bafb57d16182 authored almost 8 years ago by Eduard-Mihai Burtescu <[email protected]>
Auto merge of #855 - pkgw:pr-testfix, r=kbknapp

tests: fix clap_app! doctest

I need these changes to get all of the tests to pass on Linux.

cb81ce59e55f97b72fd09dcc93530f9bbded29d8 authored almost 8 years ago by Homu <[email protected]>
tests: fix clap_app! doctest

e635658dad391f642bdc6b8da6891a36d26d9b9d authored almost 8 years ago by Peter Williams <[email protected]>
Docs (#854)

* docs(App::template) adds missing categories and fixes descriptions

* docs(clap_app): docume...

e3296e566b8b0b922c36a28fdb47662f2bf6be30 authored almost 8 years ago by Kevin K <[email protected]>
Auto merge of #852 - kbknapp:issue-846, r=kbknapp

Issue 846

649f14a4525f8b324f510d859e466058770f6b84 authored almost 8 years ago by Homu <[email protected]>
chore: increase version

31a6b17a92195bc9c19e74f1d4188526843c49a6 authored almost 8 years ago by Kevin K <[email protected]>
chore: fixes crates.io category

cb1818f23af7e5ba7353b43b0b4caa265dab2f22 authored almost 8 years ago by Kevin K <[email protected]>
fix(Completions): fixes a bug that tried to propogate global args multiple times when generating multiple completion scripts

Closes #846

5e9b9cf4dd80fa66a624374fd04e6545635c1f94 authored almost 8 years ago by Kevin K <[email protected]>
Auto merge of #844 - crazymerlyn:master, r=kbknapp

docs: Fix examples link in CONTRIBUTING.md

The current link to examples doesn't work. Probably ...

3f71a017d6413fcc2953dc7f5636add43e6ffebc authored almost 8 years ago by Homu <[email protected]>
docs: Fix examples link in CONTRIBUTING.md

60cf875d67a252e19bb85054be57696fac2c57a1 authored almost 8 years ago by Ankit Goel <[email protected]>
Call this PR "Raid" cause it's squashin bugs! (#843)

* tests: adds tests for default values triggering conditional requirements

* fix: fixes a bug...

92919f5f67f8e6163d5f349fcbc93ebda1f77d58 authored almost 8 years ago by Kevin K <[email protected]>
Issues 839,840 (#842)

* fix: fixes a critical bug where subcommand settings were being propogated too far

Closes #8...

07d985d8c508fabc093a3c509f5253e7081d6c0a authored almost 8 years ago by Kevin K <[email protected]>
chore: increase version (#837)

75e815aa3abac040ea900322b3bda7975cf3a952 authored almost 8 years ago by Kevin K <[email protected]>
Auto merge of #832 - mgeisler:fix-wrapping-bugs, r=kbknapp

Fix wrapping bugs

I've been working towards integrating my [textwrap][1] crate and along the wa...

e9e01e13dd9845ac153b60c95291df58f4c374e6 authored almost 8 years ago by Homu <[email protected]>
tests: show how final word is not always wrapped

This is #828.

563a539a8ee99afd51bc381dfb1be09761315aaa authored almost 8 years ago by Martin Geisler <[email protected]>
fix: include final character in line lenght

Before, wrapping the help text at, say, 80 characters really meant
that every line could be at m...

aff4ba18da8147e1259b04b0bfbc1fcb5c78a3c0 authored almost 8 years ago by Martin Geisler <[email protected]>
fix: allow final word to be wrapped in wrap_help

Before, inserting a newline did not move the prev_space index forward.
This meant that the next ...

564c5f0f1730f4a2c1cdd128664f1a981c31dcd4 authored almost 8 years ago by Martin Geisler <[email protected]>
fix: actually show character in debug output

The &help[j..j] string slice was empty so nothing was shown.

84d8c5476de95b7f37d61888bc4f13688b712434 authored almost 8 years ago by Martin Geisler <[email protected]>
Auto merge of #830 - kbknapp:issue-826, r=kbknapp

Issue 826

72d7bf39b948cada1acc5d1754650136df85714e authored almost 8 years ago by Homu <[email protected]>
chore: increase version

8e2e7448e9d6080ed912b6e252b540f55002e0bd authored almost 8 years ago by Kevin K <[email protected]>
chore: clippy run

69bd16c4106cffbb6ee5533039669bd559b42b77 authored almost 8 years ago by Kevin K <[email protected]>
chore: updates pinned rustc nightly

e112cdd7de68974d66c542a5bfd08be59f9bc40b authored almost 8 years ago by Kevin K <[email protected]>
imp: updates libc and term_size deps for the libc version conflict

6802ac4a59c142cda9ec55ca0c45ae5cb9a6ab55 authored almost 8 years ago by Kevin K <[email protected]>
Relax dependency version constraints. (#823)

It's good practice for a library not to depend on exact versions of any
other libraries, so tha...

c0bccaa47428c7614e998198f3163e9f999cd9fe authored almost 8 years ago by Jimmy Cuadra <[email protected]>
Fix finding required arguments in group arguments (#829)

This fixes #827. The problem was that the check `grp.args.contains(&grp.args[i])` was a) trivial...

f9f778e8a469c249eb02707080defe67af6522a9 authored almost 8 years ago by Richard Janis Goldschmidt (Beckert) <[email protected]>
Fix compilation warnings (#825)

* tests: remove unnecessary mut

When building the projec, I was told

warning: variable...

d6743bb70dbf2965acd28f8d2d836f0a34496762 authored almost 8 years ago by Martin Geisler <[email protected]>
docs: fix link from app_from_crate! to crate_authors! (#822)

5b29be9b073330ab1f7227cdd19fe4aab39d5dcb authored almost 8 years ago by Trevor Spiteri <[email protected]>
Fix confusing, wrong wording in doc (#821)

ed52851c5dd63a96a89de84f4c11df9bab91e895 authored almost 8 years ago by Richard Janis Goldschmidt (Beckert) <[email protected]>
Auto merge of #820 - shepmaster:patch-1, r=kbknapp

Add categories to Cargo.toml

Hi! [crates.io now supports categories][categories], which are a c...

d29d7cc0e2b5e2cf52f2dd337bb42b605580a448 authored almost 8 years ago by Homu <[email protected]>
Add categories to Cargo.toml

8615aee9ac9f733a74be64c5e690ec16a8599c5c authored almost 8 years ago by Jake Goulding <[email protected]>
Auto merge of #819 - SuperFluffy:add_note_to_doc, r=kbknapp

Explain how `ArgRequiredElseHelp` and `default_value` interact

When calling the executable with...

70b2ac289e2f736aa0f2b706a44a78e2acff102c authored almost 8 years ago by Homu <[email protected]>
Explain how `AppSettings::ArgRequiredElseHelp` and `Arg::default_value interact`

When calling the executable without arguments one expects a help message. However, if even one a...

f1b11886dc2eb340cd7ac0b5da996a2375e4b713 authored almost 8 years ago by Richard Janis Goldschmidt <[email protected]>
Auto merge of #813 - pixelistik:patch-1, r=kbknapp

doc: Fix typo

ea5ef4f930b01726c199007d65430d3eaf4efa2f authored about 8 years ago by Homu <[email protected]>
doc: Fix typo

5de1b6e1c84da1620b4335e89afffc875e653674 authored about 8 years ago by pixelistik <[email protected]>
Auto merge of #811 - Seeker14491:master, r=kbknapp

docs: fix spelling of "guaranteed"

ec9b556192329533fe612825bf10fcc756174ce4 authored about 8 years ago by Homu <[email protected]>
docs: fix spelling of "guaranteed"

4f30a65b9c03eb09607eb91a929a6396637dc105 authored about 8 years ago by Brian Bowman <[email protected]>
Auto merge of #809 - kbknapp:issue-636, r=kbknapp

Issue 636

031df5d6391e273a21443d42d9d91a99316b2df5 authored about 8 years ago by Homu <[email protected]>
refactor: 'reverts' a breaking change until further discussion and approval has taken place

9d88f191810b8ef5179ddfb75548e2aa167e5b67 authored about 8 years ago by Kevin K <[email protected]>
chore: increase version

15b3f32e5d44a66c195a4a2d83bb28f87a8d5696 authored about 8 years ago by Kevin K <[email protected]>
tests: adds tests for AppSettings::AllowMissingPositional

e80fd4d671da925ea67b9683c812f2bad788a186 authored about 8 years ago by Kevin K <[email protected]>
setting(AllowMissingPositional): allows one to implement `$ prog [optional] <required>`

Closes #636

6edde30b8e8350aa559971e5d8c804f2a6389520 authored about 8 years ago by Kevin K <[email protected]>
Auto merge of #804 - kbknapp:issues-801,694, r=kbknapp

Issues 801,694 and tests overhaul

ce083919bee8e159673959ffb6f558ea17554dbe authored about 8 years ago by Homu <[email protected]>
fixup! tests: adds tests for propogating values down

2fc5acaff738c63726234c81665f6521ae6630e1 authored about 8 years ago by Kevin K <[email protected]>
tests: massively rehauls tests for better debugging and vastly improved error messages/deduplication

f967235a90ca3052a59c539583c4dade06845142 authored about 8 years ago by Kevin K <[email protected]>
setting(PropagateGlobalValuesDown): adds a setting to allow automatically propagating global args values down through *used* subcommands

Closes #694

985536c8ebcc09af98aac835f42a8072ad58c262 authored about 8 years ago by Kevin K <[email protected]>
tests: adds tests for propogating values down

c142fb544d60f8fbeba23221bf50d2395971e548 authored about 8 years ago by Kevin K <[email protected]>
fix: fixes an issue where the full help message wasn't written when doing App::write_help

Closes #801

20842ed8c29facd5dd8a971046965c144daba667 authored about 8 years ago by Kevin K <[email protected]>
Auto merge of #802 - kbknapp:issues-774,777, r=kbknapp

Issues 774,777

8e942c2b31bdf7a17f80f98cb70787efadcfbb42 authored about 8 years ago by Homu <[email protected]>
Merge branch 'master' into issues-774,777

bffe636a01fd56a8813fa9e6b774ff89b7978cc7 authored about 8 years ago by Kevin K <[email protected]>
tests: adds tests for wrapping meta help items

fc3800b83015181609968c5bf44c95f320c64b66 authored about 8 years ago by Kevin K <[email protected]>
feat(Help Wrapping): long app names (with spaces), authors, and descriptions are now wrapped appropriately

Closes #777

ad4691b71a63e951ace346318238d8834e04ad8a authored about 8 years ago by Kevin K <[email protected]>
imp(Default Values): improves the error message when default values are involved

Closes #774

1f33de545036e7fd2f80faba251fca009bd519b8 authored about 8 years ago by Kevin K <[email protected]>
Auto merge of #800 - kbknapp:issue-782-take2, r=kbknapp

Issue 782 take2

446ec981d14a6a5d9cce16f478c4b8c0ad10a0bf authored about 8 years ago by Homu <[email protected]>
bench: adds a bench with short circuiting some calls via ArgsNegateSubcommands

9c3cb9834c76864594b398876ae9012d41cbab74 authored about 8 years ago by Kevin K <[email protected]>
tests: adds tests to guard against low index multiples with allow_hyphen_values failing

aa26a50d5c1ce69777a69dad13576a1a342c8946 authored about 8 years ago by Kevin K <[email protected]>
fix(Low Index Multiples): fixes a bug which caused combinations of LowIndexMultiples and allow_hyphen_values to fail parsing

26c670ca16d2c80dc26d5c1ce83380ace6357318 authored about 8 years ago by Kevin K <[email protected]>
chore: bumps term_size version

20a2d95ddf3500c929a25cc417bc0314968f7a77 authored about 8 years ago by Kevin K <[email protected]>
refactor: implements BitOr for AppFlags to improve some ergonomics and performance

baff4200a4602fc9794e93f94fd58fcb827485f1 authored about 8 years ago by Kevin K <[email protected]>
tests(Arg::value_terminator): adds tests for Arg::value_termintaor

9d9683feb041b98c85d4bac45c5dbb21f87f31f5 authored about 8 years ago by Kevin K <[email protected]>
api(Arg::value_terminator): adds the ability to terminate multiple values with a given value

One can now specificy a value termintaor that will stop the parsing of multiple values upon
reac...

be64ce0c373efc106384baca3f487ea99fe7b8cf authored about 8 years ago by Kevin K <[email protected]>
Auto merge of #798 - nabijaczleweli:feat/778-simple-cargo-app, r=kbknapp

Implement crate_description!, crate_name! and app_from_crate! macros

Includes documentation.

3ca4a08f0f7da9046ceccc9debebc156f79053b1 authored about 8 years ago by Homu <[email protected]>
feat(simple-cargo-app): Implement crate_description!, crate_name! and app_from_crate! macros

Closes #778

4d9a82db8e875e9b64a9c2a5c6e22c25afc1279d authored about 8 years ago by nabijaczleweli <[email protected]>
Auto merge of #797 - kbknapp:three-new-settings-and-a-fix, r=kbknapp

Three new settings and a fix

805b9b65a38e92c02875c0d505518a853b416364 authored about 8 years ago by Homu <[email protected]>
tests: adds tests for

12026f63d960f0d3a0bf55759f259d522060d287 authored about 8 years ago by Kevin K <[email protected]>
setting: adds a setting to disable args being allowed between subcommands (`ArgsNegateSubcommands`)

Specifies that use of a valid [argument] negates [subcomands] being used after. By default
`clap...

5e2af8c96adb5ab75fa2d1536237ebcb41869494 authored about 8 years ago by Kevin K <[email protected]>
tests: adds tests for

25cbca4e41a9ae41f9f11fd7e2286bc7fd1ce51c authored about 8 years ago by Kevin K <[email protected]>
setting: adds a new setting to disable the collapsing of positional args into `[ARGS]` in the usage string (`DontCollapseArgsInUsage`)

Closes #769

c2978afc61fb46d5263ab3b2d87ecde1c9ce1553 authored about 8 years ago by Kevin K <[email protected]>
chore: bumps pinned nightly for clippy CI builds

945acffb5e7a0f4ea1d42c8487802eb65486c0de authored about 8 years ago by Kevin K <[email protected]>
chore: clippy run

c20701b74a79eaf19b3d6e9983bbd0c7df3ab36c authored about 8 years ago by Kevin K <[email protected]>
chore: updates deps and pins pre-1.0 crates

fabe9267ee2264c1957cad825a8df0b9d7007fcc authored about 8 years ago by Kevin K <[email protected]>
tests(DisableHelpSubcommand): adds tests for AppSettings::DisableHelpSubcommand

01caf84b871667d1540a42ffa955671bbd9607bc authored about 8 years ago by Kevin K <[email protected]>
setting: adds a setting to disable building the help subcommand (`DisableHelpSubcommand`)

Relates to #787

a10fc859ee20159fbd9ff4337be59b76467a64f2 authored about 8 years ago by Kevin K <[email protected]>
fix(Help Subcommand): fixes a bug where the help subcommand couldn't be overriden

Closes #787

d34ec3e032d03e402d8e87af9b2942fe2819b2da authored about 8 years ago by Kevin K <[email protected]>
chore: updates the contributing instructions

85ea57835db7b73a19bcd725e82d99973303c7d5 authored about 8 years ago by Kevin K <[email protected]>
Auto merge of #796 - kbknapp:issue-665, r=kbknapp

Issue 665

7eb949ba3873cd19c4e61f700272bd0dfd370536 authored about 8 years ago by Homu <[email protected]>
test(Options): adds a test against issue 665

327c514d7aa9fee6ca70aa13be46e738f1030020 authored about 8 years ago by Kevin K <[email protected]>
fix(Options): fixes a critical bug where options weren't forced to have a value

For instance imagine --opt <val> and --opt2 <val>

Running:

```
$ prog --opt --opt2 val
```

Wo...

5a5f2b1e9f598a0d0280ef3e98abbbba2bc41132 authored about 8 years ago by Kevin K <[email protected]>
Auto merge of #795 - kbknapp:issue-792, r=kbknapp

style: standardizes debug calls and output

Closes #792

03f72335a9e456258b4006c56c0ca4c29447303c authored about 8 years ago by Homu <[email protected]>