Commit graph

7618 commits

Author SHA1 Message Date
Ed Page
1f71fd9e99 chore: Release 2023-06-23 16:36:03 -05:00
Ed Page
0f614dec40 docs: Update changelog 2023-06-23 16:35:49 -05:00
Ed Page
8596fe6523
Merge pull request #4971 from SUPERCILEX/long-arg-inference
fix: Broken long arg inference on conflicts
2023-06-23 16:34:19 -05:00
Ed Page
f363e41916 chore: Release 2023-06-23 16:26:32 -05:00
Ed Page
f4cdebb5f6 docs: Update changelog 2023-06-23 16:26:26 -05:00
Ed Page
f5d64d746e
Merge pull request #4985 from epage/docs
docs(tutorial): Smooth over tutorial problems, a little
2023-06-23 16:25:22 -05:00
Ed Page
975eb0c686 docs(tutorial): Link out to other docs more
This is another step for trying to improve the understanding that the
derive and builder APIs are linked (#4090).

This also adds links to make it easier to discover more details on how
we infer behavior from a field's type.
2023-06-23 16:09:52 -05:00
Ed Page
7370c63caf docs(tutorial): Provide next steps
This is particularly to help call attention to builder methods as
attributes (#4090).
2023-06-23 15:43:48 -05:00
Ed Page
c2e6f1b790 docs(derive): Draw more attention to derive feature 2023-06-23 15:31:11 -05:00
Ed Page
a0e6bdc50b
Merge pull request #4984 from epage/ref
docs(derive): Ensure magic attributes are searchable
2023-06-23 13:38:47 -05:00
Ed Page
ffbe6e9936 docs(derive): Ensure magic attributes are searchable 2023-06-23 13:20:21 -05:00
Ed Page
c94ae5f7a7 chore: Release 2023-06-23 12:53:42 -05:00
Ed Page
8618841eec docs: Update changelog 2023-06-23 12:53:36 -05:00
Ed Page
a9d50cfae9 docs: Link out to clio
Related to #4074
2023-06-23 12:53:01 -05:00
Ed Page
cf7f3a7ba0 chore: Release 2023-06-20 11:15:10 -05:00
Ed Page
acde4387bb docs: Update changelog 2023-06-20 11:14:59 -05:00
Ed Page
4aff61dd01
Merge pull request #4978 from clap-rs/colorchoice-values
Improve colorchoice enum
2023-06-20 11:13:31 -05:00
Pavan Kumar Sunkara
cfd1d22e26 Improve colorchoice enum 2023-06-20 08:55:04 +01:00
Ed Page
482012abae
Merge pull request #4973 from epage/stale
docs(builder): Describe current sort semantics
2023-06-19 10:47:54 -05:00
Ed Page
3ad2bf6061 docs(builder): Describe current sort semantics
I must have been moving too fast with 6e1e754 as it changed the wrong
part of the text when really the whole thing needed an overhaul.

So this correctly fixed #4728
2023-06-19 09:33:27 -05:00
Alex Saveau
f9994bff47
fix: Broken long arg inference on conflicts
Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>
2023-06-17 13:30:05 -07:00
Ed Page
ae16079120
Merge pull request #4968 from hartwork/transparentize-logo
Make clap logo background transparent
2023-06-14 08:56:49 -05:00
Ed Page
dcccf61099 chore: Release 2023-06-14 08:55:02 -05:00
Ed Page
e09cf14c13 docs: Update changelog 2023-06-14 08:54:51 -05:00
Ed Page
a3f482f1d7
Merge pull request #4967 from hartwork/error-exit-code
Extract/add public method `Error.exit_code`
2023-06-14 08:54:17 -05:00
Sebastian Pipping
c685c70397 docs: Make clap logo background transparent 2023-06-14 01:58:18 +02:00
Sebastian Pipping
36329896e7 feat: Extract/add public method Error.exit_code
Simplifies method Error.exit as a side effect.
2023-06-14 01:39:59 +02:00
Ed Page
1db9df4a48 docs: Fix link to tutorial
Fixes #4964
2023-06-12 10:44:38 -05:00
Ed Page
a87fba2bb6 chore: Release 2023-06-09 09:34:30 -05:00
Ed Page
4b9ec6fa87 docs: Update changelog 2023-06-09 09:34:15 -05:00
Ed Page
13534b67d0
Merge pull request #4792 from epage/defer
feat: Allow deferred initialization of subcommands
2023-06-09 09:33:09 -05:00
Ed Page
d10938dd33 feat: Allow deferred initialization of subcommands
This is mostly targeted at reducing startup time for no-op commands
within *very* large applications, like deno (see #4774).

This comes at the cost of 1.1 KiB of binary size
2023-06-09 08:29:38 -05:00
Ed Page
475e254d25 chore: Release 2023-06-05 13:56:50 -05:00
Ed Page
75e2060f05 docs: Update changelog 2023-06-05 13:56:37 -05:00
Ed Page
468ab556a6
Merge pull request #4952 from epage/derive
fix(derive): Don't warn when people bring types into scope
2023-06-05 13:56:13 -05:00
Ed Page
103ae5cf62 fix(derive): Don't warn when people bring types into scope
Fixes #4951
2023-06-05 12:55:06 -05:00
Ed Page
5661b6b508 style: Remove unused mut 2023-06-05 12:49:26 -05:00
Ed Page
e7729d1282 fix(derive): Mark all impls as automatically derived
Unsure what all it does.  I removed our `allow`s and we still get lints,
so unsure if its only some that it applies to it.

Inspired by #4951
2023-06-05 12:31:55 -05:00
Ed Page
50f0e6bffb chore: Release 2023-06-01 21:10:46 -05:00
Ed Page
1471457143 docs: Update changelog 2023-06-01 21:10:02 -05:00
Ed Page
7ead9ab356
Merge pull request #4947 from klensy/formatless-error
perf(derive): reduce amount of generated code
2023-06-02 08:57:10 -05:00
klensy
df5d90101a perf(derive): Reduce amount of generated code 2023-06-02 13:59:38 +03:00
Ed Page
e8a3568219
Merge pull request #4944 from clap-rs/renovate/criterion-0.x
chore(deps): update rust crate criterion to 0.5.1
2023-06-01 09:44:32 -05:00
Ed Page
a4f8391961
Merge pull request #4943 from clap-rs/renovate/compatible-(dev)
chore(deps): update compatible (dev)
2023-06-01 09:44:17 -05:00
renovate[bot]
4eb03ea405
chore(deps): update rust crate criterion to 0.5.1 2023-06-01 00:40:17 +00:00
renovate[bot]
534be345d8
chore(deps): update compatible (dev) 2023-06-01 00:38:25 +00:00
Ed Page
78bb48b6b8 chore: Release 2023-05-24 16:15:51 -05:00
Ed Page
3430d62ed7
Merge pull request #4935 from epage/nu
feat(nu): 'nushell' completion support
2023-05-24 15:52:48 -05:00
Ed Page
cc57615764 feat(nu): 'nushell' completion support 2023-05-24 09:13:47 -05:00
Ed Page
bd163098e1 refactor(nu): Prep for merge 2023-05-23 08:48:39 -05:00