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 #923 - kbknapp:issues-869,900,919,922, r=kbknapp

Issues 869,900,919,922

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.i...

5b669ec520cc7ea6a9ed7c56b7022f20d3e4595b authored over 7 years ago by Homu <[email protected]>
chore: increase version

cdae4fdf89a2eed940c0a8bc86bcfe683fc5057a authored over 7 years ago by Kevin K <[email protected]>
feat(clap_app!): adds support for arg names with hyphens similar to longs with hyphens

One can now use `("config-file")` style arg names

Closes #869

f7a8877978c8f90e6543d4f0d9600c086cf92cd7 authored over 7 years ago by Kevin K <[email protected]>
tests(clap_app!): adds tests for ("config-file") style positonal args

c83a559df1f93b0999ff066891b8ac161fd48930 authored over 7 years ago by Kevin K <[email protected]>
docs(clap_app!): documents the `--("some-arg")` method for using args with hyphens inside them

Closes #919

bc08ef3e185393073d969d301989b6319c616c1f authored over 7 years ago by Kevin K <[email protected]>
feat: allows distinguishing between short and long version messages (-V/short or --version/long)

One can now use `App::long_version` to dsiplay a different (presumably
longer) message when `--v...

59272b06cc213289dc604dbc694cb95d383a5d68 authored over 7 years ago by Kevin K <[email protected]>
api: adds new App method calls for printing and writing the long version of help messages

One can now use `App::print_long_help` or `App::write_long_help`

Note that `App::write_long_hel...

d82b4be5d7f3f9c2aa960bc23dbbc87df3863b7d authored over 7 years ago by Kevin K <[email protected]>
feat: allows distinguishing between short and long help with subcommands in the same manner as args

One can use `App::about` for `-h` short help messsages or
`App::long_about` for `--help` long he...

6b371891a1702173a849d1e95f9fecb168bf6fc4 authored over 7 years ago by Kevin K <[email protected]>
feat: allows specifying a short help vs a long help (i.e. varying levels of detail depending on if -h or --help was used)

One can now use `Arg::long_help` which will be displayed when the user
runs `--help`. This is ty...

ef1b24c3a0dff2f58c5e2e90880fbc2b69df20ee authored over 7 years ago by Kevin K <[email protected]>
chore: bump minor version due to bug fix that may break code that was relying on said bug

b48a5bb9308bfc418bc029864c93c7e9588a02dd authored over 7 years ago by Kevin K <[email protected]>
fix: fixes a bug that wasn't allowing help and version to be properly overridden

One should be able to override the auto generated help and version flags
by simply providing an ...

8b2ceb8368bcb70689fadf1c7f4b9549184926c1 authored over 7 years ago by Kevin K <[email protected]>
tests: adds tests to verify help and version can be properly overridden

92cc30577dc25e629eb5946ba0beb93b4db7e123 authored over 7 years ago by Kevin K <[email protected]>
Auto merge of #921 - kbknapp:template-fix, r=kbknapp

Template fix

Fixes BurntSushi/ripgrep#426 and BurntSushi/ripgrep#418

<!-- Reviewable:start -->...

080a9d8bfe385da3e6cad3d0314820ecd256bd71 authored over 7 years ago by Homu <[email protected]>
tests: fixes a missing import for a doctest and uses conditional doc-testing

f93cadd74b9c9171b3ad2086f40ba20fff298a26 authored over 7 years ago by Kevin K <[email protected]>
chore: increase version

8bcc4d632cbe648c4fa1bc95d1e72fc5497ef4c3 authored over 7 years ago by Kevin K <[email protected]>
fix(Custom Usage Strings): fixes the usage string regression when using help templates

0e4fd96d74280d306d09e60ac44f938a82321769 authored over 7 years ago by Kevin K <[email protected]>
chore: increase version

f922b0517884bd9a08a441c4851996d94aedb039 authored almost 8 years ago by Kevin K <[email protected]>
tests: adds regression tests for custom usage strings

1a97f4fb952e084d7f2fb287266b67f2542bdc16 authored almost 8 years ago by Kevin K <[email protected]>
fix(usage): fixes a big regression with custom usage strings

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

cc1985b6d8f2eeff9feeff9743442dc2ca9c7271 authored almost 8 years ago by Kevin K <[email protected]>
api(App::name): adds the ability to change the name of the App instance after creation

Closes #908

d49e8292b026b06e2b70447cd9f08299f4fcba76 authored almost 8 years ago by Richard Janis Goldschmidt <[email protected]>
tests(Help): adds tests for per argument hiding of default value

6b491c11611fb4aacbca10c476b9262d10a699c0 authored almost 8 years ago by CrazyMerlyn <[email protected]>
api(Arg::hide_default_value): adds ability to hide the default value of an argument from the help string

Adds a new method, `Arg::hide_default_value`, which allows for
specifying whether the default va...

89e6ea861e16a1ad56757ca12f6b32d02253e44a authored almost 8 years ago by CrazyMerlyn <[email protected]>
chore: increase version

0b4177f1514c07816c0acc4e25d1e56e1bf447bc authored almost 8 years ago by Kevin K <[email protected]>
chore(justfile): sorts the contributors by commits

fa3876ce36c082d952b2d1b1aa7f6fd616e4f49f authored almost 8 years ago by Kevin K <[email protected]>
fix(yaml): adds support for loading author info from yaml

fix(yaml): adds support for loading author info from yaml

6bf5bf5bee0b290a2ad67d51c2cf3551ea82993e authored almost 8 years ago by CrazyMerlyn <[email protected]>
Auto merge of #907 - kbknapp:v2.21.2, r=kbknapp

chore: increase version

<!-- Reviewable:start -->
This change is [<img src="https://reviewable....

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

8034fe70f2e337a09ad1b3d52a86bce944eed8e4 authored almost 8 years ago by Kevin K <[email protected]>
Auto merge of #905 - peppsac:fish_subcommand_help, r=kbknapp

imp: add fish subcommand help support

Adds the `-d help_string` parameter to fish completion is...

8edb1f9808d5492e5ffdfea3db12d09724dd1ce1 authored almost 8 years ago by Homu <[email protected]>
imp: add fish subcommand help support

f8f68cf8251669aef4539a25a7c1166f0ac81ea6 authored almost 8 years ago by Pierre-Eric Pelloux-Prayer <[email protected]>
Auto merge of #906 - kbknapp:issue-903, r=kbknapp

Issue 903

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

684aa99ee0717091b86f3d6874ffab06073c852d authored almost 8 years ago by Kevin K <[email protected]>
tests: adds tests for reqire_equals(true) errors and help

c84416f48dc9c6c750bba98cc841566f94e3c695 authored almost 8 years ago by Kevin K <[email protected]>
imp: options that use `require_equals(true)` now display the equals sign in help messages, usage strings, and errors"

Closes #903

c8eb0384d394d2900ccdc1593099c97808a3fa05 authored almost 8 years ago by Kevin K <[email protected]>
Auto merge of #904 - mitsuhiko:feature/term-meta-propagation, r=kbknapp

Propagate terminal widths to subcommands

This fixes #901

16764bfa2754ef57627dfe0b62a9a3fc05fbbfaa authored almost 8 years ago by Homu <[email protected]>
Propagate terminal widths to subcommands

e06689fc26d759c9797a19766d3589d6cab273aa authored almost 8 years ago by Armin Ronacher <[email protected]>
Auto merge of #898 - kbknapp:issues-896,895, r=kbknapp

Issues 896,895

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

e7c2eafb26c2416d20f165c7ffecaf57d8fb59a4 authored almost 8 years ago by Kevin K <[email protected]>
tests: adds tests to check precedence of ArgRequiredElseHelp

ef037eaf22a6c44abb8cee0df383f8019995ee73 authored almost 8 years ago by Kevin K <[email protected]>
fix(ArgRequiredElseHelp): fixes the precedence of this error to prioritize over other error messages

Closes #895

74b751ff2e3631e337b7946347c1119829a41c53 authored almost 8 years ago by Kevin K <[email protected]>
tests: adds tests for passing assertions with new Arg::last setting

b049cecccc11693147bd0b2906df00b7eb5852de authored almost 8 years ago by Kevin K <[email protected]>
fix(Positionals): fixes some regression bugs resulting from old asserts in debug mode.

Closes #896

9a3bc98e9b55e7514b74b73374c5ac8b6e5e0508 authored almost 8 years ago by Kevin K <[email protected]>
Auto merge of #893 - kbknapp:issues-863,perf-imp2,883,882,871, r=kbknapp

Issues 863,perf imp2,883,882,871

814b12644ef7cbd41fd64a940bb09dd2b9486494 authored almost 8 years ago by Homu <[email protected]>
refactor: implements PartialEq for some of the base structs

96884aa1b2820dd7ec3fd0c8b5cb5827f1e61544 authored almost 8 years ago by Kevin K <[email protected]>
chore: updates the changelog and readme with .last(true) details

c53e273c7c84baa2be163ef46c40b7e56017dc6d authored almost 8 years ago by Kevin K <[email protected]>
chore: ups the codegen units for test builds

10f1ebce7f20bc1fbb1244bebede1acdf4a9e39e authored almost 8 years ago by Kevin K <[email protected]>
tests: adds tests for .last(true) args

3a10353f4b478c0185ce353946725c5ba1af24f2 authored almost 8 years ago by Kevin K <[email protected]>
api(Arg::last): adds the ability to mark a positional argument as 'last' which means it should be used with `--` syntax and can be accessed early

Marking a positional argument `.last(true)` will allow accessing this argument earlier if the `-...

f9668297a4fa3601f5202cea702ffe964d2ab2cd authored almost 8 years ago by Kevin K <[email protected]>
chore: fixes small rebase regression

989862d2cbae1a1b3a1b9f9cca24385de834ecfe authored almost 8 years ago by Kevin K <[email protected]>
docs(CHANGELOG.md): adds the details about ability to change the help message for the auto-generated help/version

e802a472dec8a2e671cc493fb8d006c0accae1f7 authored almost 8 years ago by Kevin K <[email protected]>
fix: fixes a regression 1.11.0 feature

075036c28de3405cb4f0728b29339d06e25e1627 authored almost 8 years ago by Kevin K <[email protected]>
fix: fixes a failing build with no-default-features

b841f3743fb6b52f2777ca39f8852de794e99bd4 authored almost 8 years ago by Kevin K <[email protected]>
tests: corrects the debug messages from the usage module

1e4cce0291782c6697c54f11bcf7f0cb97170c49 authored almost 8 years ago by Kevin K <[email protected]>
fix: fixes false positive clean parse when the suggestions feature is disabled and InferSubcommands is enabled

d2b4c2c61b61942137c8a307eed4ac1f81564481 authored almost 8 years ago by Kevin K <[email protected]>
tests: fixes failing hidden args test

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

9d4535e1c3c659216ba8f76bd48a654e23344a82 authored almost 8 years ago by Kevin K <[email protected]>
fix: fixes a misspelled import for Windows

d484da0d287f7ea4fcde7d1e9174162463f93624 authored almost 8 years ago by Kevin K <[email protected]>
docs(README.md): removes the old updates from previous versions as it's getting very long and hard to read

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

a2e31b27b0c28c61fb649b0cdd9c1350df962f1a authored almost 8 years ago by Kevin K <[email protected]>
refactor: moves usage string generation code into it's own module

622b609c57ac9610f708ce834c170f33a4f30535 authored almost 8 years ago by Kevin K <[email protected]>
imp: when AppSettings::SubcommandsNegateReqs and ArgsNegateSubcommands are used, a new more accurate double line usage string is shown

Closes #871

c8ab24bafa81e64fed518c7deb95645290e304cb authored almost 8 years ago by Kevin K <[email protected]>
tests: fixes failing dual usage string help test

33eb5a6db0371a509dbcc7ff58047973274b62f4 authored almost 8 years ago by Kevin K <[email protected]>
refactor: moves validation code into it's own module

44ed8b663c92d31ceabe5136e7fc33889f8e4eaa authored almost 8 years ago by Kevin K <[email protected]>
tests: adds tests for new dual usage strings with certain subcommand settings

642db9b042c29fdcb5e77b0529ad01e57cb54355 authored almost 8 years ago by Kevin K <[email protected]>
fix: doesn't include the various [ARGS] [FLAGS] or [OPTIONS] if the only ones available are hidden

Closes #882

539ad6073f6d4afb2e1ea5a8baf7366b3c66eb07 authored almost 8 years ago by Kevin K <[email protected]>
fix: now correctly shows subcommand as required in the usage string when AppSettings::SubcommandRequiredElseHelp is used

Close #883

97e8db23b3e225d980100553d4616089837b2c91 authored almost 8 years ago by Kevin K <[email protected]>
fix: doesn't print the argument sections in the help message if all args in that section are hidden

d63d404e5ee1857e5e2ec39a33be5014731d4fee authored almost 8 years ago by Kevin K <[email protected]>
perf: doesn't run arg_post_processing on multiple values anymore

6f638a53c18a66979b89220c9945ef97e49571b3 authored almost 8 years ago by Kevin K <[email protected]>
chore: rustfmt run

91d828032201c21095152901e68c9197443831e6 authored almost 8 years ago by Kevin K <[email protected]>
tests: adds some minor benches for adding args by ref or moving

6b58efa330190bb5ec355405894ebb9aee7b6034 authored almost 8 years ago by Kevin K <[email protected]>
setting(InferSubcommands): adds a setting to allow one to infer shortened subcommands or aliases (i.e. for subcommmand "test", "t", "te", or "tes" would be allowed assuming no other ambiguities)

Closes #863

150756b9891e8044bacd20883bb68094a0fa9f93 authored almost 8 years ago by Kevin K <[email protected]>
fix(help): don't show ARGS when there are only hidden positional args

Also no need to check for Hidden inside for that already is filtered
on !Hidden.

Closes #882

8adf353e0b71709c183e29305ac87ea01d04ac20 authored almost 8 years ago by Joost Yervante Damad <[email protected]>
chore: tags release beta

432837624c711986b2562cb33215759f3db1d631 authored almost 8 years ago by Kevin K <[email protected]>
perf: changes internal use of VecMap to Vec for matched values of Args

This makes a very big difference for CLIs that parse a large number of
values (think ripgrep ove...

24e383922016fb525227f93a8ad021fbe3a1d7db authored almost 8 years ago by Kevin K <[email protected]>
Auto merge of #894 - porglezomp:feature/customize-version-help, r=kbknapp

Allow customizing the --version and --help messages

Fixes #889

This currently doesn't support ...

0e1e6dced69e77c25457a1d0b4ef51c3811b0b7c authored almost 8 years ago by Homu <[email protected]>
Support loading help_message and version_message from the YAML

c5dac3fa4345007168df90d80d561c43e2d379b4 authored almost 8 years ago by Caleb Jones <[email protected]>
Allow customizing the --version and --help messages

389c413b7023dccab8c76aa00577ea1d048e7a99 authored almost 8 years ago by Caleb Jones <[email protected]>
Auto merge of #886 - nox:die-libc-die, r=kbknapp

Remove direct dependency on libc

It's not actually used anymore anywhere.

cb5c9f7930762ebb14c9d86954b3b2996884267e authored almost 8 years ago by Homu <[email protected]>
Remove direct dependency on libc

It's not actually used anymore anywhere.

f4939ad56048df6ac21e723a8a46f00a18192461 authored almost 8 years ago by Anthony Ramine <[email protected]>
Auto merge of #879 - kbknapp:perf-imp, r=kbknapp

Perf imp

7b08a0a5832c4900eb84bc5a9abfb258c1636f2e authored almost 8 years ago by Homu <[email protected]>
tests: fixes lifetime issue in a test

ceec86d3bdf5ecafa495c2aa4809c716f4a727aa authored almost 8 years ago by Kevin K <[email protected]>
chore: updates version to next release num

5471b67121ae7658a75428f3057e7af7ac179f06 authored almost 8 years ago by Kevin K <[email protected]>
tests: adds a bench for rustups subcommand parsing

a822ad8c27d7215266b0388118dfe37f07d7d675 authored almost 8 years ago by Kevin K <[email protected]>
perf: vastly reduces the amount of cloning when adding non-global args minus when they're added from App::args which is forced to clone

8da0303bc02db5fe047cfc0631a9da41d9dc60f7 authored almost 8 years ago by Kevin K <[email protected]>
tests: adds tests to ensure borrowed args don't break

677f323bcefc8ccebfff15cb5fbce4352ed021e2 authored almost 8 years ago by Kevin K <[email protected]>
tests: adds parsing cases to ripgrep bench

0a922e5f6111112064a6d6ee69141f85533629e2 authored almost 8 years ago by Kevin K <[email protected]>
tests(Benches): adds real world benchmarks

85a636d539bce0b8b55ceb23d6ffc3694bbe4d0f authored almost 8 years ago by Kevin K <[email protected]>
perf: refactor to remove unneeded vectors and allocations and checks for significant performance increases

Building an `App` struct with a fair number of args/flags/switches, etc. (used ripgrep as test c...

0efa4119632f134fc5b8b9695b007dd94b76735d authored almost 8 years ago by Kevin K <[email protected]>
refactor: removes unused fields and moves some bools to bitfields

b55cae5fdb0ebd2c850b4a4832bfdc83b012bf7f authored almost 8 years ago by Kevin K <[email protected]>
Auto merge of #880 - frewsxcv:vec-map, r=kbknapp

Bump vec_map.

None

b336bdbbda3b1a59811f53d16fb3710ad489a3e7 authored almost 8 years ago by Homu <[email protected]>
Bump vec_map.

242020330d7f6d5028c21e52aa07e88d9475a66a authored almost 8 years ago by Corey Farwell <[email protected]>
Merge branch 'master' of github.com:kbknapp/clap-rs

10c1d1bd3e5f1d7c358f378405362c20ec60203f authored almost 8 years ago by Kevin K <[email protected]>
Implement `ExactSizeIterator` for `Values`. (#877)

5ee2665e7aaf4eee7f0dc51c91c60d1cc62bbd95 authored almost 8 years ago by Corey Farwell <[email protected]>
switch to regex 0.2 (#876)

Signed-off-by: Igor Gnatenko <[email protected]>

40052bdc0cf6b019bbd7cb5d8027c678330ae54f authored almost 8 years ago by Igor Gnatenko <[email protected]>
Auto merge of #875 - ignatenkobrain:patch-1, r=kbknapp

Cargo.toml: bump bitflags

389658d9450e02132b90740d9073dc9dfa048d0e authored almost 8 years ago by Homu <[email protected]>
Cargo.toml: bump bitflags

d19d56e63557c170ad99b6f41a675f8ee76d3637 authored almost 8 years ago by Igor Gnatenko <[email protected]>
Auto merge of #872 - kbknapp:patch-1b, r=kbknapp

Patch 1b

6ec80662d324a3f3e1eaa9a72ebce561c4574680 authored almost 8 years ago by Homu <[email protected]>
test: fixes failing doc test

6bf94606c2dc8c64ed3c525d79dc650c2575ba1c authored almost 8 years ago by Kevin K <[email protected]>
Fix missing line before code block

fa26d40a18c177e7048b1cbe19783e95ed9a0747 authored almost 8 years ago by Marco A L Barbosa <[email protected]>
Merge branch 'master' of github.com:kbknapp/clap-rs

5568c072dcf30e8954b85f7911ff1edb8c08cb0b authored almost 8 years ago by Kevin K <[email protected]>