Commit graph

7449 commits

Author SHA1 Message Date
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
Ed Page
777e4dc41b docs(derive): Clarify name is package name, not crate name
Fixes #4934
2023-05-23 08:38:02 -05:00
nibon7
865a1c531f
chore: release 0.1.11 2023-05-23 13:22:59 +08:00
nibon7
7e6eb7d280
chore: prepare for upstreaming 2023-05-23 13:21:43 +08:00
nibon7
6e586e0923
test: add test cases for completions 2023-05-23 13:09:11 +08:00
Ed Page
944556ed20 chore: Update owners 2023-05-19 20:00:10 -05:00
Ed Page
3f5a420cce chore: Add rust-cli as owners 2023-05-19 19:58:52 -05:00
Ed Page
4d44cd7ca5 chore: Update precommit hooks 2023-05-19 13:12:26 -05:00
Ed Page
663a35e643 chore: Release 2023-05-19 11:57:00 -05:00
Ed Page
9c3dc187cb chore: Release 2023-05-19 11:55:42 -05:00
Ed Page
077cf66fdc docs: Update changelog 2023-05-19 11:54:41 -05:00
Ed Page
5047bb40bd chore: Release 2023-05-19 11:48:29 -05:00
Ed Page
22d3307727 docs: Update changelog 2023-05-19 11:48:21 -05:00
Ed Page
fd63feb703
Merge pull request #4926 from epage/unsafe
fix(lex)!: Remove unsafe safe method
2023-05-19 12:03:06 -05:00
Ed Page
3db3524943 fix(lex)!: Remove unsafe safe method 2023-05-19 11:29:50 -05:00
Ed Page
8507a1dba3
Merge pull request #4925 from epage/term
test(parser): Verify value terminator precedence
2023-05-19 11:24:43 -05:00
Ed Page
a360fd8ac0 test(parser): Verify value terminator precedence 2023-05-19 11:04:48 -05:00
Ed Page
d5bea65711
Merge pull request #4924 from epage/term2
fix(parser): Allow multiple value terminated positionals
2023-05-19 11:02:18 -05:00
Ed Page
e1db168d69 fix(parser): Ensure terminated positionals are assigned correctly 2023-05-19 10:41:44 -05:00
Ed Page
1ee2e95e96 fix(builder): Allow value terminated multiple positional values 2023-05-19 10:39:05 -05:00