Commit graph

7279 commits

Author SHA1 Message Date
Ed Page
7d52a0a0d2 docs: Update changelog 2023-07-05 10:32:42 -05:00
Ed Page
890af8af1b
Merge pull request #4995 from epage/parse
feat(derive): Better match serde in built-in type support
2023-07-05 10:31:34 -05:00
Ed Page
99bcdfc6c7 style(builder): Be consistent in order 2023-07-05 10:10:34 -05:00
Ed Page
a50e32c135 feat(derive): Accept Boxed Str/OsStr/Path 2023-07-05 10:03:52 -05:00
Ed Page
916c8d93e1 feat(derive): Accept num::Wrapping wrapped types 2023-07-05 09:55:31 -05:00
Ed Page
f043f57559 feat(derive): Accept Box/Arc wrapped types 2023-07-05 09:53:41 -05:00
Ed Page
7353b2be34 chore: Release 2023-06-29 20:45:17 -05:00
Ed Page
8f7a1d1aac docs: Update changelog 2023-06-29 20:44:59 -05:00
Ed Page
1938cb2219
Merge pull request #4991 from epage/bit
refactor(builder): Remove bitflags dependency
2023-06-29 20:44:29 -05:00
Ed Page
27431a43a1 refactor(builder): Remove bitflags dependency
This saved 1.3 KiB

When color support is enabled, this likely won't save on build times
*until* `is-terminal` is removed.  At that point, `bitflags` will no
longer be in our dependency tree.

I did not (yet) reproduce the `Debug` impl.
2023-06-29 20:24:34 -05:00
Ed Page
3f09458094
Merge pull request #4990 from epage/bit
chore: Update bitflags
2023-06-29 20:06:43 -05:00
Ed Page
6bfd7852ac chore: Update bitflags
Fixes #4861
2023-06-29 19:46:59 -05:00
Ed Page
18f0ad4676 chore: Release 2023-06-28 08:39:55 -05:00
Ed Page
94015b1a69 docs: Update changelog 2023-06-28 08:39:44 -05:00
Ed Page
d83cc6d3e7
Merge pull request #4988 from sebastiantoh/ignore-errors
fix(parser): Allow help and version command
2023-06-28 08:38:35 -05:00
Sebastian Toh
8103e9760a fix(ignore_errors): Allow help and version command 2023-06-28 08:58:40 +08:00
Sebastian Toh
d451e0a60c test(ignore_errors): Add help & version cmd tests 2023-06-28 08:55:10 +08:00
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