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
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
Ed Page
130b2ff997
test(parser): Show multiple positional multiple values behavior
2023-05-19 10:36:43 -05:00
Ed Page
65d44aa7b1
Merge pull request #4902 from epage/sub
...
fix(help): Don't use next-line-help on long-help for subcommands
2023-05-19 10:08:43 -05:00
Ed Page
d597cf7bd6
Merge pull request #4923 from epage/update
...
chore: Update from '_rust/main' template
2023-05-19 09:25:14 -05:00
Ed Page
21d911db10
style: Make clippy happy
2023-05-19 09:10:20 -05:00
Ed Page
8edf8c7676
Merge pull request #4922 from epage/docs
...
docs(builder): Remove stale docs references (set is default)
2023-05-19 09:02:18 -05:00
Ed Page
13f9836ebe
chore(ci): Clarify why map_or is banned
2023-05-19 08:55:22 -05:00
Ed Page
ac5d893091
docs(builder): Remove stale docs references (set is default)
2023-05-18 13:11:14 -05:00
Ed Page
5c7bcff7b5
Merge pull request #4913 from Nemo157/disable-help-subcommand-recursion
...
Add note about Command::disable_help_subcommand applying to children
2023-05-18 08:52:04 -05:00
Wim Looman
c41f4beaaa
fix(docs): Add note about Command::disable_help_subcommand applying to children
2023-05-18 14:11:22 +02:00
Ed Page
1d42caa0b6
Merge pull request #4912 from epage/assert
...
fix(assert): Clarify last assertion
2023-05-17 17:10:08 -05:00
Ed Page
67cc5ea3a2
fix(assert): Clarify last assertion
...
An incremental improvement for #4911 .
2023-05-17 16:33:36 -05:00
Ed Page
011a2e7258
Merge pull request #4907 from cakebaker/cakebaker-fix_typo
...
Fix typo in value_parser.rs
2023-05-15 16:35:38 -05:00
Daniel Hofstetter
3458adc6ae
fix: Typo in value_parser.rs
2023-05-15 15:35:25 +02:00