Commit graph

7752 commits

Author SHA1 Message Date
Ed Page
5ba67148de
Merge pull request #5468 from klensy/clone-me
chore(derive): remove useless clones
2024-04-22 11:40:36 -05:00
klensy
1a358881da chore(derive): Remove useless clones 2024-04-22 19:02:59 +03:00
Ed Page
0cd10d19f0
Merge pull request #5456 from zippy-dice/fix-doc
docs(examples): Add examples of same names multiple options.
2024-04-15 12:52:16 -05:00
zippy-dice
62a5af66eb docs(example): Update builder examples to keep in sync with derive examples 2024-04-16 02:20:41 +09:00
zippy-dice
d9081f3dce docs(exmaples): Fix example to better align with intended use case 2024-04-16 02:11:09 +09:00
zippy-dice
a9ccb3edb5 docs(exmaples): Drop syntax variants. 2024-04-16 00:49:59 +09:00
zippy-dice
f3de5079d6 docs(examples): Add examples of same names multiple options. 2024-04-15 23:04:52 +09:00
Ed Page
7cbdb0755e
Merge pull request #5451 from clap-rs/gh-sponsor
Add Github Sponsors on this repo
2024-04-11 18:41:44 -05:00
Kevin K
65b915de75
chore: Add Github Sponsors on this repo 2024-04-11 19:34:51 -04:00
Ed Page
3092aa4a0d chore: Release 2024-04-09 12:08:43 -05:00
Ed Page
dc333288ec docs: Update changelog 2024-04-09 12:08:33 -05:00
Ed Page
a78b9533a7
Merge pull request #5444 from sudotac/fix-broken-completion-on-bash-4.0
fix(complete): Avoid use of -v in bash completion
2024-04-09 12:06:33 -05:00
Ed Page
93d40450f7 docs: Fix typo 2024-04-09 12:05:12 -05:00
sudotac
cd82f8cc8e fix(complete): Avoid use of -v in bash completion
Because -v is not supported below bash 5.0.
2024-04-07 23:19:50 +09:00
renovate[bot]
9d14f394ba
chore(deps): update compatible (dev) (#5438)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-01 00:30:25 +00:00
Ed Page
5e4facf76f chore: Release 2024-03-25 16:08:19 -05:00
Ed Page
8880b0a5da docs: Update changelog 2024-03-25 16:08:01 -05:00
Ed Page
132b5dded5
Merge pull request #5425 from epage/lit
fix(derive): Re-allow expressions for id's
2024-03-25 16:07:15 -05:00
Ed Page
df915fefef fix(derive): Re-allow expressions for id's
Fixes #5407
2024-03-25 14:42:22 -05:00
Ed Page
8eab48fa3c refactor(derive): Make it easier to work with 'Name' 2024-03-25 14:35:50 -05:00
Ed Page
be73195ecf refactor(derive): Clarify tests 2024-03-25 14:08:51 -05:00
Ed Page
024089bb60
Merge pull request #5415 from Pi-Cla/patch-1
Add mention of nushell to clap_complete README
2024-03-22 13:01:38 -05:00
Pi-Cla
3b35dba160 docs: Add mention of nushell to clap_complete README 2024-03-22 11:43:50 -06:00
Ed Page
58469d1669
Merge pull request #5405 from epage/docs
docs(derive): Fix ToC links within tutorial chapters
2024-03-20 16:15:31 -05:00
Ed Page
655d8295a7 docs(derive): Fix ToC links within tutorial chapters
Fixes #5404
2024-03-20 15:46:14 -05:00
Ed Page
4e07b43858 chore: Release 2024-03-15 07:54:24 -05:00
Ed Page
8247c7ddf0 docs: Update changelog 2024-03-15 07:54:13 -05:00
Samuel Moelius
677c52ce08
chore: Update heck requirement (#5396) 2024-03-15 07:53:26 -05:00
Ed Page
f65d421607 chore: Release 2024-03-06 10:52:18 -06:00
Ed Page
886b2729e4 docs: Update changelog 2024-03-06 10:50:39 -06:00
Ed Page
3ba429752f
Merge pull request #5386 from amaanq/static-var-name
fix: use SCREAMING_SNAKE_CASE for static variable `authors`
2024-03-06 10:49:29 -06:00
Amaan Qureshi
2aea9504c4
fix: Use SCREAMING_SNAKE_CASE for static variable authors 2024-03-05 23:52:48 -05:00
Ed Page
690f5557d7
Merge pull request #5382 from clap-rs/renovate/pre-commit-action-3.x
chore(deps): update pre-commit/action action to v3.0.1
2024-03-01 08:53:56 -06:00
renovate[bot]
a2aa644368
chore(deps): update compatible (dev) (#5381)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-01 00:16:52 +00:00
renovate[bot]
c233de53c0
chore(deps): update pre-commit/action action to v3.0.1 2024-03-01 00:07:01 +00:00
Ed Page
d0028d74b5
Merge pull request #5371 from BenWiederhake/dev-fix-link-command-trailing_var_arg
fix(builder): Avoid creating link to now-undocumented method
2024-02-22 21:03:29 -06:00
Ben Wiederhake
0076cac7cb fix(builder): Don't doc-link to undocumented item 2024-02-23 01:40:29 +01:00
Ed Page
0c01b5558d chore: Release 2024-02-16 16:33:14 -06:00
Ed Page
08e0b5bde4 docs: Update changelog 2024-02-16 16:32:57 -06:00
Ed Page
f2c4e6ec74
Merge pull request #5359 from poliorcetics/ab/push-szymvyzpmnqx
fix(clap_complete_nushell): correctly handle commands whose short description is more than one line
2024-02-16 16:32:14 -06:00
Alexis (Poliorcetics) Bourget
e782775229 fix(complete): Handle newlines in command/arg descriptions
Found while trying to add Nushell completions to
[`jj`](https://github.com/martinvonz/jj).
2024-02-16 16:17:22 -06:00
Ed Page
fba7c8597b test(complete): Show newline issue 2024-02-16 16:16:36 -06:00
Ed Page
8a7a13a561 chore: Release 2024-02-16 07:08:54 -06:00
Ed Page
7b3a3e1e5e docs: Update changelog 2024-02-16 07:08:38 -06:00
Ed Page
7b624ca743
Merge pull request #5356 from epage/escape
fix(error): Include -- in more cases
2024-02-16 07:07:36 -06:00
Ed Page
446328a8d3 fix(error): Include -- in more cases
Inspired by rust-lang/cargo#12494.
Part of this is that our "did you mean" does prefix checks so it can be
overly aggressive in providing suggestions.
To avoid providing needless suggestions I limited this change to `last`
/ `trailing_var_arg` as those convey that `--` is more likely a valid
suggestion.
2024-02-16 06:54:57 -06:00
Ed Page
7de6df8782 test(error): Show existing last behavior 2024-02-16 06:41:45 -06:00
Ed Page
b48c90fc64
Merge pull request #5351 from epage/snap
chore: Update snapbox/trycmd
2024-02-14 19:45:07 -06:00
Ed Page
5f9cecb6bd chore: Update snapbox/trycmd 2024-02-14 16:44:57 -06:00
Ed Page
f45a32ec2c
Merge pull request #5350 from epage/fix
fix: Add missing clap::builder::OsStr impl
2024-02-10 20:12:57 -06:00