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

docs: Improve description around trailing_var_arg

9a4c2bc990bfcec9913c2aa5ba318dbb324fb4e5 authored over 2 years ago
Merge pull request #4184 from epage/doc

refactor(derive): Clean up in prep for parent attributes

088b396d2005f1d843dae5d56e4d7cb0f68dcf25 authored over 2 years ago
refactor(derive): Simplify processing of Subcommand

9c858397056e3552df50fb501e01f5879c908526 authored over 2 years ago
refactor(derive): Treat subcommands like other Kinds

51dc3c63d6c74ab359d2a92dd0fc428f81cad660 authored over 2 years ago
style(derive): Clean up to make explicit methods easier

ede8fd6dbd4a4ac2bf9d2336ad23297be826699b authored over 2 years ago
fix(derive): Disallow general attributes with from_global

222003abe15637ff231c08c916620c0170c75961 authored over 2 years ago
refactor(derive): Shift responsibility for long help

a71b2eb8b8a75f872344b1e4eb61fdbd9d8ece3d authored over 2 years ago
fix(derive): Improve `skip` method error

Really this is about consolidating the skip checks but it also provideda
chance to improve the e...

abcee38466a7f5d90e7841312dde57955d8c0407 authored over 2 years ago
perf(derive): Only parse doc comments when needed for field/variant

8a5a9ba931dd45a4976a5600eb24a91b202472f3 authored over 2 years ago
fix(derive): Disallow attributes on top-level ValuEnum

9eb72ea5b6bc8931fba6ef78c4e02b27861812f9 authored over 2 years ago
perf(derive): Don't parse ValueEnum's doc comment to ignore it

1d973bd1c158281a1f33a549467100caf23d9571 authored over 2 years ago
refactor(derive): Give more control to the derive

eece51fe0422b7c68b3830c5b519c472d384c732 authored over 2 years ago
refactor(derive): Delay error handling

b29f3ff22f90de7d68b65c857f956f0081e89b4d authored over 2 years ago
fix(derive): Be less prescriptive

With how flexible clap's API is, it can be hard to determine what is
reasonable to use with its ...

ade931be57cdd0f66f55ef3b43030d4955ad13f9 authored over 2 years ago
refactor(derive): Simplify Kind initialization

71b9209a34f8762c0a2e06ac8ff8e996afcf1ccc authored over 2 years ago
fix(derive): Improve the default span

f9e1ba2c1e11dd7c46f12c39479657c4dc92bda1 authored over 2 years ago
refactor(derive): Remove unused Type for values

They have no type

6648cf60095fcdca4221c165bf50eb91623b736f authored over 2 years ago
refactor(derive): Decouple attr and kind processing

f5718216702e26ffcc51e0d2c9efbd3a76bf8ab4 authored over 2 years ago
refactor(derive): Separate parsing from pushing of attrs

9abcae2ac31b73b3939901787bf4bbbaffb6d43a authored over 2 years ago
Merge pull request #4181 from epage/error

fix(derive): Report deprecations/errors in more cases

7ed7f71a1f9e2cd32c9564b35cc27df3b489a050 authored over 2 years ago
fix(derive): Deprecate using `name` for Args

The builder function was deprecated in v3 and removed in v4 but the
derive masked that, so we're...

a7ed5d012dab8ce24adb1e21831fb403c24aeafc authored over 2 years ago
fix(derive): Guard against invalid attributes

We had some guards but this generalizes them and puts them on every
attribute.

f9ad2c5f09adc62c51dabe1320d9960df0479257 authored over 2 years ago
Merge pull request #4180 from epage/specialized

fix(derive): Replace clap attributes with command, arg, and value

f513862939239a713734bc80537e34bf1bbd2661 authored over 2 years ago
docs: Update changelog

47e3cb649832156f6cb38bbcbdefd2fea7e9a0c8 authored over 2 years ago
fix(derive): Deprecate 'clap' attribute

707f47f43527a84e4312e0290b5bcb9a844adb9f authored over 2 years ago
docs(derive): Update for new attributes

0e915e0d3a763f5145fdbcfa110ed7cc7af0af28 authored over 2 years ago
refactor(test): Update UI tests to new attributes

2609b970a4e9c09abd936a9f8b724e7ff601e8a6 authored over 2 years ago
Merge pull request #4179 from epage/attr

refactor(derive): Prepare for builder attributes

20ba828f21014fa2c241b919bee4db0f28620879 authored over 2 years ago
fix(derive): Builder-specialized attributes

e0f2f6fbae94c5df7006b5aec344e484fedc5d71 authored over 2 years ago
refactor(derive): Generalize Kind based error checks

97ce0c44f7bd8f699f9347543ebcb39204cd2aff authored over 2 years ago
refactor(derive): Track the item's Kind

59a457889806b3dddd31d9ec5522225c40146c46 authored over 2 years ago
refactor(derive): Further generalize kind errors

dbdd449dc3553e065335b06d124d7aa4e6e1d7d2 authored over 2 years ago
fix(derive): Report deprecations for structopt attributes

This is more of a test bed for adding new attributes and deprecating
clap ones.

0ae119fda906ee7967430e890c92164738bb64d8 authored over 2 years ago
Revert "fix(derive): Remove structopt attribute support"

This reverts commit 521a012c281d9086475fe503817f11748ea1d705.

7b0c76de31289bd209a266f5cb097336fdd7c671 authored over 2 years ago
fix(derive): Provide deprecations for bald action/value_parser

These will be going away, so we should tell the user.

This is mostly a test bed for our new dep...

7eaa226526a51e59d634fedbc84ac5d7702fca91 authored over 2 years ago
fix(derive): Improve Kind conflict errors

This makes it better scale for the future

edce5c211971b973dfd1bc19edffbbfe2dee7f14 authored over 2 years ago
refactor(derive): Determine an Item's Kind first

This will allow the attribute processing to change based on the kind

11ffcf939333c670bc69618e951c0de62c0b8650 authored over 2 years ago
refactor(derive): Make Sp copyable

c56277c0844d525266c0c79c34c025d767f94258 authored over 2 years ago
Merge pull request #4176 from epage/derive

fix(derive): Remove helper for removed help_heading

ebe181acc785e5ac3ded7e85b55c5cbeebfb6d18 authored over 2 years ago
fix(derive): Remove helper for removed help_heading

6d44106e762a5c9a81325c91c975cd802945f914 authored over 2 years ago
Merge pull request #4174 from ModProg/4153-value_help_comma

value help comma

cdb83ae1c79c8722f232d75e25d4cc62fc411d14 authored over 2 years ago
fix(complete): Escape , in completions for fish

8ab649e929c67576062b987cc414359ef6d3e4d0 authored over 2 years ago
test(complete): Disable normalization of \ to /

This allows easier testing, as the generated completion files can be
sourced directly.

028a4cd0dc3b537b5475a54e03db3c7950d18e39 authored over 2 years ago
Merge pull request #4169 from epage/helper

feat(parser): Provide convenience accessors for Actions

5e69f92efc0f41ac8a59001ea46275a118db3b89 authored over 2 years ago
feat(parser): Provide convenience for SetTrue

I wanted to make `bool` a defaulted type parameter but
https://github.com/rust-lang/rust/issues/...

5112372c779332faef5894528dd03082f4ecfc74 authored over 2 years ago
feat(parser): Provide convenience accessor for Counts

80ec011b6e667e13e98d2ca9c72b1d6c41842cbf authored over 2 years ago
Merge pull request #4168 from epage/perf

perf(derive): Remove redundant operations

3ec2f0f7950a2d7b2a40ba07cad1b5c2db3447e5 authored over 2 years ago
perf(derive): Consolidate field/variant parsing

5264a621811b3136761b8a3c1960f54ea8442812 authored over 2 years ago
perf(derive): Stop generating redundant code

6e8b366107cc2c0baba9e89cc72523a787c795c9 authored over 2 years ago
refactor(derive): Only pass around what is needed

a47462123cac49207d90b22e787069082ff0b3eb authored over 2 years ago
refactor(derive): Rely on Self for enums

a86cb8a26c7d1579dfe7687235d8dc5f4666b12f authored over 2 years ago
perf(derive): Further consolidate parsing of attrs

0b5f95e3a394ce6e35c2da55d4b5fc923a27bd1a authored over 2 years ago
Merge pull request #4167 from epage/deps

chore: Update dependencies

a20c67c88f247c44e4aa379bd2bb10efd0ea8a84 authored over 2 years ago
chore: Update dependencies

6bd4fee69f73839c92b5c43ab755121532137897 authored over 2 years ago
refactor(derive): Clarify parse is really about attributes

d8524b5ad1059ebb574c2b35fd4960fcb68cb2ed authored over 2 years ago
refactor(derive): Clarify we are dealing with API item

d9844002e5870f6d4829bd59a70f512494f9d3f7 authored over 2 years ago
perf(derive): Reduce number of times attributes are parsed

7242e22810c7404dbb7caa7f5883d1ffb38e1c1d authored over 2 years ago
Merge pull request #4162 from epage/help

fix(usage): Have spillover use TAB

7e4b5f6196b91483225b5a08d5c460d73ec14830 authored over 2 years ago
fix(usage): Have spillover use TAB

This was missed in #4161

cdcbf1300dda36a3efdc1665cb19cd3bbffa0a8d authored over 2 years ago
Merge pull request #4161 from epage/magic

refactor(help): Reduce magic numbers for indentation

13c1442a6ea94323ddc6f53cb1269f48fa67ed13 authored over 2 years ago
fix(error): Make whitespace consistent with self/help

Sometimes errors would use a tab, sometimes four spaces. This makes it
always four spaces and s...

671914b590910c771fbd0cb2acc8ab31c040f2b2 authored over 2 years ago
feat(help): Expose clap's indentation to help_template

This will make it easier for help templates to be consistent with clap

439c9e7a91158873342fb9dd38720ac6d6c15ab5 authored over 2 years ago
refactor(help): Reduce magic numbers

803d87b1938f616657a0543eaf934ca3603b6b3c authored over 2 years ago
Merge pull request #4160 from epage/template

fix(help): Remove name/version/author from help

e643e6058a88297f02a44ced8eabcc9f259cf486 authored over 2 years ago
fix(help): Remove name/version/author from help

This is to help shorten it and polish it by removing redundant
information.

This is a part of #...

65b5b5f7bf4cbdb9c3f441c6134ff52687a95c78 authored over 2 years ago
Merge pull request #4159 from epage/help

fix(help): Clarify short vs long help

cdb812b28bf53af61a132b37ecd00ae50fc728d7 authored over 2 years ago
Merge pull request #4158 from epage/ver

test(help): Verify how version interacts

1855c57bc66843b2f9dfec26e5a1c9d6d3fcc4ac authored over 2 years ago
fix(help): Clarify short vs long help

In reviewing CLIs for #4132, I found some were providing helps on `-h`
vs `--help` and figured t...

c1c269b427ef02f10c86cb30d90fa160514e27a8 authored over 2 years ago
test(help): Verify how version interacts

9cc0299c0c4a0942c62bc2f252e3abe9c8d417f8 authored over 2 years ago
Merge pull request #4157 from epage/cleanup

refactor(derive): Be explicit in what is being parsed

75e340a3d98105347034b49c2ac15640cbaa49cf authored over 2 years ago
refactor(derive): Be explicit in what is being parsed

78dc60bd37f303fc554dc24c9eedcd0cba904795 authored over 2 years ago
Merge pull request #4156 from epage/trim

fix(help): Always trim output

430202b389f5b67490dc78176096badd1da58388 authored over 2 years ago
fix(help): Always trim output

This ensures we don't end up with accidental leading or trailing
newlines due to help template v...

cdfd455ee63b20f2dcce13dc6ad8196da5f8f32e authored over 2 years ago
docs: Add workaround to changelog

87cc6f9a1e085f21c68f876016dc9fe511e83d30 authored over 2 years ago
Merge pull request #4155 from epage/command

fix(help): Use Command in place of Subcommand

0a204665971cf036f075b5fcb71e294aaadad469 authored over 2 years ago
fix(help): Use Command in place of Subcommand

In switching to title case for help headings (#4123), it caused me to
look at "subcommand" in a ...

42c943844cedd04d7e220f43ab7d0d6c88a29917 authored over 2 years ago
Merge pull request #4154 from epage/help

docs: Fix up for changing of help output

c2f9ecde18f7f096cb9bdb065a69ec07b8158127 authored over 2 years ago
Merge pull request #4152 from epage/changes

docs: Make transition easier

a19c2f5d11ba2af818ecf3740af52da80afe381c authored over 2 years ago
docs: Provide workaround for title cased headings

3f44dc03d2d428b33313f0746b270c3f1c352ee3 authored over 2 years ago
docs: Update example help

c4dd6aeb424958b65abed8fa4c5a8a8460d56071 authored over 2 years ago
revert: Add some deprecated placeholders

44d3614adde5649c6a1133281d6b830500c1d78c authored over 2 years ago
Merge pull request #4151 from epage/collapse

fix(usage): Make dont_collapse_args_in_usage the default

a1256a6e53bc1a09d79712f4590f3850b8497ee9 authored over 2 years ago
docs: Update references in changelog

1ca4bab206ae92e7e0de171336108aec285aa666 authored over 2 years ago
docs: Fix link in changelog

b632b4434f2abb0f938dbca42af3fd202e9f993f authored over 2 years ago
fix(usage): Make `dont_collapse_args_in_usage` the default

The setting was added to resolve #769. The reason it was optional is out
of concern for applica...

02d27b5ce3c33ebfd61916b8527102db155430a6 authored over 2 years ago
fix(usage): Don't put in `[--]` for multiple values

This was added in #165 but the relative value of this doesn't seem worth
the complexity at the m...

c22b78ba61407ea534eca5ea773349450fbd7b4d authored over 2 years ago
fix(usage): Don't list `--` as optional for `last`

`last` must always follow a `--`, so it isn't optional.

a00cbab1dcc1b30aa467fdfdc635a18a951fc4e8 authored over 2 years ago
Merge pull request #4149 from epage/parent-usage

fix(usage): Don't include irrelevant parent args

e49cdf901fdb8c658d1636471d8aa05dde939d7c authored over 2 years ago
fix(usage): Don't include irrelevant parent args

This was identified in https://github.com/clap-rs/clap/discussions/4134

1dde9268d5fe28f00aae333b95653667e1abe17c authored over 2 years ago
refacor(usage): Remove use of sort

d791a93ec7de0c9e7797081e168234f6d8484de2 authored over 2 years ago
Merge pull request #4148 from epage/collect

fix(parser): Improve required error messages

1f734c866143b566bd549b3221c8746fa9917347 authored over 2 years ago
fix(parser): Require earlier, not-present positionals

8da1f085dd3932002f88f969bbb3a206b863ba26 authored over 2 years ago
docs: Forward integrate v3's changelog

f3c4bfd993503281f5d46e29ad63ecb937cd9d00 authored over 2 years ago
refactor(parser): Hoist check into iteration

2388ace47bc3635f9acbe7b44ed736c2d7ca9d24 authored over 2 years ago
perF(usage): Defer de-duplicating to later

This should drop code size

619b1fb1872aa33039fc63d79d999e2cdef2dead authored over 2 years ago
refactor(usage): Make last check clearer

66957f839800f00849f1258d3b95aabdbd0d47f1 authored over 2 years ago
refactor(usage): Consolidate required bookkeeping

09031fb4abe887f7bee5406223cc58751fc68c7e authored over 2 years ago
refactor(usage): Make duplicate check more resilient

85569514db644cc4d5835790212b4e6792b3ce51 authored over 2 years ago
refactor(usage): Pull out duplicate check

3b17f7fdc9588f19c8d178da2caa0caea6aafc3d authored over 2 years ago
refactor(usage): Split out group processing

ecb632f4878238241c7f131a57c2c27ef3bac306 authored over 2 years ago