Ed Page
9cc4fe8cc2
Merge pull request #5026 from epage/test
...
test(complete): First end-to-end test
2023-07-21 10:36:08 -05:00
Ed Page
51e37af365
test(complete): Add basic tests for all shells
2023-07-20 20:08:58 -05:00
Ed Page
34a7973e53
refactor(complete): Assert on home change
2023-07-20 20:06:28 -05:00
Ed Page
1d0fa2c6ce
refactor(complete): Make test code reusable
2023-07-20 20:06:08 -05:00
Ed Page
28be38b3a7
refactor(complete): Split tests up
...
This makes them easier to read and and easier to manually invoke
2023-07-20 20:06:08 -05:00
Ed Page
5c362fe5b1
refactor(complete): Merge test binaries for better parallelism
2023-07-20 20:06:08 -05:00
Ed Page
010d7c5464
test(complete): First end-to-end test
2023-07-20 20:06:01 -05:00
Ed Page
35a9d8438e
fix(complete): Prefer our own sort order
...
For testing, I'm seeing different sort orders for local and CI despite
using the same bash version...
2023-07-20 12:14:24 -05:00
Ed Page
d824b1f0fd
chore: Release
2023-07-19 11:05:53 -05:00
Ed Page
99b478cc75
docs: Upate changelog
2023-07-19 11:05:37 -05:00
Ed Page
4c7b9a10ac
Merge pull request #5023 from epage/wrap
...
fix(help): Wrap long possible values correctly
2023-07-19 11:04:52 -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
0951f93467
Merge pull request #5018 from epage/dynamiite
...
feat(complete)!: Allow alternative shells for dynamic completions
2023-07-19 09:09:27 -05:00
Ed Page
00e9217183
feat(complete)!: Open to new shells for dynamic completions
2023-07-18 21:50:34 -05:00
Ed Page
830dd740ef
feat(complete): Add dynamic-support shell enum
2023-07-18 21:19:54 -05:00
Ed Page
278ae3ec63
refactor(complete): Pull out completer
2023-07-18 21:14:48 -05:00
Ed Page
e3f1ad932b
refactor(complete): Generalize dynamic CLI interface
2023-07-18 21:06:29 -05:00
Ed Page
8e9ded2f6a
fix(complete)!: Pull out generic completion code
2023-07-18 20:42:46 -05:00
Ed Page
e8622c5391
refactor(complete): Split out bash dynamic code
2023-07-18 20:39:34 -05:00
Ed Page
4bbcf6088f
refactor(complete): Split dynamic into a directory
2023-07-18 20:37:51 -05:00
Ed Page
95d411d151
chore: Release
2023-07-18 15:01:21 -05:00
Ed Page
5d6ffbed12
docs: Update changelog
2023-07-18 15:01:11 -05:00
Ed Page
6b80a72e50
Merge pull request #5017 from epage/assert
...
fix(assert): Allow stateful value parsers
2023-07-18 15:00:29 -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
0c57710ac6
docs: Update changelog
2023-07-17 20:11:56 -05:00
Ed Page
f679873364
Merge pull request #5016 from epage/export
...
fix(builder): Re-export anstyle for easy access
2023-07-17 20:10:48 -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
97f4c72af1
test(examples): Verify all features
2023-07-17 17:01:31 -05:00
Ed Page
0ba987fca9
refactor(test): Make it easier to compare features with manifest
2023-07-17 16:57:22 -05:00
Ed Page
98f62d1939
chore: Release
2023-07-17 10:55:26 -05:00
Ed Page
e569953254
docs: Update changelog
2023-07-17 10:55:18 -05:00
Ed Page
5c1effa282
Merge pull request #5015 from epage/action
...
feat(help): Explicit control over short/long help
2023-07-17 10:54:01 -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
8db992c112
Merge pull request #5014 from epage/max_width
...
fix(help): Defaulting max_term_width instead of max_term_width
2023-07-17 10:25:59 -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
33feb65915
Merge pull request #5008 from GuillaumeGomez/generate-links-to-def
...
Add `--generate-link-to-definition` option when building on docs.rs
2023-07-14 14:08:10 -05:00
Guillaume Gomez
3b5745dad4
Add --generate-link-to-definition
option when building on docs.rs
2023-07-14 20:34:00 +02:00
Ed Page
fcda411e5e
chore: Release
2023-07-14 12:01:56 -05:00
Ed Page
1b3f5c0a4d
docs: Update changelog
2023-07-14 12:01:27 -05:00
Ed Page
ee5197b39a
Merge pull request #5009 from epage/derive
...
fix(derive): Don't fail on variant field attributes
2023-07-14 12:00:48 -05:00
Ed Page
3025ff859f
fix(derive): Don't fail on variant field attributes
...
Well, thats annoying how easy it is to get this wrong but tests can only
help with regressions; it would be hard to prevent future failures.
Fixes #5007
2023-07-14 11:16:45 -05:00
Ed Page
9af3a94718
Merge pull request #5000 from epage/docs
...
docs: Note user-values subject to value_delimiter
2023-07-07 09:20:09 -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
1289534b19
chore: Release
2023-07-05 10:38:09 -05:00