Ed Page
b96cbafcbe
chore: Release
2023-08-07 20:33:13 -05:00
renovate[bot]
6cd2706bf4
chore(deps): update compatible (dev) ( #5059 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-01 01:20:36 +00:00
Josh Triplett
9c090262cd
feat: Command::mut_args
to modify all arguments
...
Convenient when you want to modify most or all arguments, without having
to call `mut_arg` for each one and name them all.
2023-07-28 21:16:29 -07:00
Ed Page
ae5549d61f
chore: Release
2023-07-21 16:56:00 -05:00
Ed Page
8bee728034
fix(parser): Value terminator has higher precedence than later multiple values
...
This is one of several bugs found when looking at #4960 .
2023-07-21 16:41:08 -05:00
Ed Page
9856d67541
chore: Release
2023-07-21 14:44:34 -05:00
Ed Page
6590a855ee
fix(parser): Don't suggest -- as often
...
See #2766
2023-07-21 14:27:15 -05:00
Ed Page
d824b1f0fd
chore: Release
2023-07-19 11:05:53 -05:00
Ed Page
8b536e2719
fix(help): Wrap long possible values correctly
...
We weren't taking the name into account when determining the wrap width.
Fixes #5022
2023-07-19 10:42:09 -05:00
Ed Page
95d411d151
chore: Release
2023-07-18 15:01:21 -05:00
Ed Page
4caa536ca4
fix(assert): Allow stateful value parsers
...
We'll need to re-evaluate how to solve #3202 .
Fixes #4643
2023-07-18 14:11:56 -05:00
Ed Page
51abbe7ebf
chore: Release
2023-07-17 20:12:05 -05:00
Ed Page
82f17a40c0
docs(builder): Provide styling examples
2023-07-17 17:10:33 -05:00
Ed Page
e31768bb55
fix(builder): Re-export anstyle for easy access
2023-07-17 17:10:13 -05:00
Ed Page
98f62d1939
chore: Release
2023-07-17 10:55:26 -05:00
Ed Page
36afe99bfa
fix(help): Skip [OPTIONS]
if help/version action
...
Our code for detecting when to skip this in the usage was never updated
for actions.
2023-07-17 10:40:42 -05:00
Ed Page
22b545b98b
feat(help): Explicit control over short/long help
...
Fixes #4687
2023-07-17 10:37:26 -05:00
Ed Page
c2191674b0
chore: Release
2023-07-17 10:26:48 -05:00
Ed Page
bc000aa4b0
fix(help): Defaulting max_term_width instead of max_term_width
...
Fixes #4295
2023-07-17 09:40:49 -05:00
Ed Page
d741e9519c
docs(builder): Correct max_term_width docs
2023-07-17 09:25:21 -05:00
Ed Page
f8d86dc165
refactor(help): Break term width calculation out
2023-07-17 09:17:52 -05:00
Ed Page
fcda411e5e
chore: Release
2023-07-14 12:01:56 -05:00
Ed Page
6541df2c4b
docs: Note user-values subject to value_delimiter
...
Inspired by #4999
2023-07-07 09:07:55 -05:00
Ed Page
cafdf58e02
chore: Release
2023-07-05 10:33:25 -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
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
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
Sebastian Toh
8103e9760a
fix(ignore_errors): Allow help and version command
2023-06-28 08:58:40 +08:00
Ed Page
1f71fd9e99
chore: Release
2023-06-23 16:36:03 -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
cf7f3a7ba0
chore: Release
2023-06-20 11:15:10 -05:00
Pavan Kumar Sunkara
cfd1d22e26
Improve colorchoice enum
2023-06-20 08:55:04 +01: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
dcccf61099
chore: Release
2023-06-14 08:55:02 -05: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
a87fba2bb6
chore: Release
2023-06-09 09:34:30 -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
5661b6b508
style: Remove unused mut
2023-06-05 12:49:26 -05:00
Ed Page
50f0e6bffb
chore: Release
2023-06-01 21:10:46 -05:00
renovate[bot]
534be345d8
chore(deps): update compatible (dev)
2023-06-01 00:38:25 +00:00
Ed Page
9c3dc187cb
chore: Release
2023-05-19 11:55:42 -05:00
Ed Page
5047bb40bd
chore: Release
2023-05-19 11:48:29 -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