Ed Page
0eccd556ac
chore: Release
2022-12-22 12:40:15 -06:00
Ed Page
1e37c25f5e
docs: Update changelog
2022-12-22 12:39:31 -06:00
Ed Page
dcd5fecab0
Merge pull request #4572 from epage/group
...
perf(parser): Reduce lookups for conflicts
2022-12-22 12:38:29 -06:00
Ed Page
dde22e74ca
style: Update for latest clippy
2022-12-22 12:25:33 -06:00
Ed Page
dd8435d8f3
perf(parser): Reduce duplicate lookups
...
Didn't actually see much of a gain because this isn't in a hot loop but
thought I'd keep it.
2022-12-22 12:17:24 -06:00
Ed Page
4a34b9dd43
perf(parser): Reduce lookups for conflicts
...
We already need to lookup every present-arg for conflicts, so we might
as well cache it ahead of time. This let's us move some operations to
be immutable so we can more easily cache other lookups.
For me, this gave a 70% speed improvement for #4516 with mixed results
on normal benchmarks
2022-12-22 12:16:37 -06:00
Ed Page
9242e1dd00
Merge pull request #4566 from hitenkoku/fix/4565
...
removed {bin} variable from help_template
2022-12-22 10:33:22 -06:00
DastInDark
b72ad5892c
fix: Added cfg in help_template
2022-12-22 01:38:49 +09:00
DastInDark
c6058dee6e
fix(help_template): Added cfg
2022-12-22 01:13:20 +09:00
DastInDark
a7a8241487
docs(command): Added deprecated suffix in help string
2022-12-22 01:13:20 +09:00
DastInDark
a42204243a
fix(help_template): Remove {bin} variable
2022-12-22 01:13:02 +09:00
Ed Page
957288c3f5
Merge pull request #4544 from tmccombs/group-action
...
Update grouped_values_of to use typed API and add support in derive
2022-12-21 08:01:29 -06:00
Thayne McCombs
6abc2cfc3b
feat: Add get/remove API for getting grouped values
...
Change it to be more consistent with get_one and get_many and related
functions.
Relates-To: #2924
2022-12-20 22:50:03 -07:00
Ed Page
d2d022248b
chore: Release
2022-12-20 20:40:55 -06:00
Ed Page
56a0bb624f
docs: Update changelog
2022-12-20 20:40:13 -06:00
Ed Page
b941a3eaef
Merge pull request #4567 from epage/error
...
fix(parser): Be less confusing with args/subcommand conflicts
2022-12-20 20:39:32 -06:00
Ed Page
453ac0bfb9
fix(parser): Be less confusing with args/subcommand conflicts
...
The new error message still isn't great but its better than the old one.
Reported at https://hachyderm.io/@eminence/109548978776785113
2022-12-20 20:27:58 -06:00
Ed Page
2a374db639
test(parser): Show bad behavior
2022-12-20 20:23:49 -06:00
Ed Page
f632424e65
test(parser): Consolidate args_conflicts_with tests
2022-12-20 20:23:44 -06:00
Ed Page
a72f962d35
docs(builder): Escape non-tags
2022-12-20 07:55:04 -06:00
Ed Page
ac48e2d5e4
docs: Make less brittle for rust versions
2022-12-20 07:54:30 -06:00
Alex Touchet
a3381a2c05
docs(readme): Fix build status badge ( #4559 )
...
Both the link and the branch pointed to
2022-12-16 20:46:43 -06:00
Ed Page
aa5420469e
Merge pull request #4555 from epage/reset
...
docs: Clarify role of Resettable
2022-12-14 21:04:29 -06:00
Ed Page
16c499c7b3
docs: Clarify role of StyledStr
2022-12-14 19:29:01 -06:00
Ed Page
1f3d5a321f
docs: Clarify role of Resettable
...
Inspired by #4554
2022-12-14 19:21:08 -06:00
Ed Page
922fc00f90
Merge pull request #4552 from dzvon/patch-1
...
docs: Fix a typo
2022-12-14 06:49:20 -06:00
Dezhi Wu
577b7f24fa
docs: Fix a typo
2022-12-14 15:47:15 +08:00
Ed Page
25f9fda0a3
docs: Point to Makefile for feature list
2022-12-12 10:41:13 -06:00
Ed Page
a9ccb2641c
chore(ci): Update renovate
2022-12-05 09:36:14 -06:00
Ed Page
35f4597ce2
Merge pull request #4535 from clap-rs/renovate/dev
...
chore(deps): update dev
2022-12-01 16:14:49 -06:00
Ed Page
caf540918f
Merge pull request #4537 from clap-rs/renovate/swatinem-rust-cache-2.x
...
chore(deps): update swatinem/rust-cache action to v2
2022-12-01 16:14:41 -06:00
Ed Page
6b816c7f52
Merge pull request #4536 from clap-rs/renovate/actions-setup-python-4.x
...
chore(deps): update actions/setup-python action to v4
2022-12-01 16:14:35 -06:00
renovate[bot]
9b2b718df6
chore(deps): update dev
2022-12-01 21:38:13 +00:00
Ed Page
dd0f8e38fe
chore: Iterate on renovate
2022-12-01 15:29:31 -06:00
renovate[bot]
a306b4d110
chore(deps): update swatinem/rust-cache action to v2
2022-12-01 18:13:33 +00:00
renovate[bot]
1b975cc22b
chore(deps): update actions/setup-python action to v4
2022-12-01 18:13:27 +00:00
Ed Page
388e1f09e7
chore: Switch to renovate
2022-12-01 11:23:46 -06:00
Ed Page
d95d371e74
Merge pull request #4525 from epage/source
...
test(parser): Verify value_source
2022-11-29 20:50:55 -06:00
Ed Page
e30e9823f2
test(parser): Verify value_source
2022-11-29 20:26:37 -06:00
Ed Page
ad4726378b
chore: Release
2022-11-29 06:45:28 -06:00
Ed Page
6e31743efa
docs: Fix docs.rs builds
...
We were broken by rust-lang/cargo#10343.
See rust-lang/cargo#11425
Fixes #4519
2022-11-29 06:44:24 -06:00
Ed Page
c3c9099e72
chore: Release
2022-11-28 21:46:18 -06:00
Ed Page
68127614ec
docs: Update changelog
2022-11-28 21:46:04 -06:00
pinkforest(she/her)
2ad0eff495
fix: wasm32 targets with is-terminal ( #4518 )
...
Fixes #4510
Note: `terminal_size` is using old version of rustix and this causes a bit dependency duplication.
Will check to bump upstream. EDIT: Someone already did - https://github.com/eminence/terminal-size/pull/46 (needs a release)
2022-11-28 21:45:10 -06:00
Ed Page
bf39b8d280
docs(ref): Move flatten/subcommand to be under command attr
...
Fixes #4505
2022-11-28 09:49:15 -06:00
Ed Page
3262016c26
chore: Release
2022-11-24 11:40:15 -06:00
Ed Page
757f95b2e9
docs: Update changelog
2022-11-24 11:39:37 -06:00
Ed Page
20e02eb34e
Merge pull request #4509 from epage/possible
...
feat: Improve ValueParser experience
2022-11-24 10:06:52 -06:00
Ed Page
fb1d960fe2
Merge pull request #4249 from jcgruenhage/replace-atty
...
chore: replace atty with is-terminal
2022-11-24 09:48:37 -06:00
Ed Page
94aca92e44
feat: Create ValueParser from Vec<PossibleValue>
...
This dynamically generated list of possible values. Inspired by #4504
2022-11-24 09:47:33 -06:00