Commit graph

7875 commits

Author SHA1 Message Date
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
Ed Page
8d7ce55f79 docs: Update changelog 2023-07-05 10:37:56 -05:00
Ed Page
f7b32ccd52
Merge pull request #4992 from RubixDev/master
fix(complete): make short options case-sensitive in PowerShell
2023-07-05 10:36:57 -05:00
Ed Page
cafdf58e02 chore: Release 2023-07-05 10:33:25 -05:00
Ed Page
7d52a0a0d2 docs: Update changelog 2023-07-05 10:32:42 -05:00
Ed Page
890af8af1b
Merge pull request #4995 from epage/parse
feat(derive): Better match serde in built-in type support
2023-07-05 10:31:34 -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
RubixDev
7b5bc6640c
fix(complete): PS short options not case-sensitive
fixes #2145
2023-07-04 15:27:47 +08:00
Ed Page
7353b2be34 chore: Release 2023-06-29 20:45:17 -05:00
Ed Page
8f7a1d1aac docs: Update changelog 2023-06-29 20:44:59 -05:00
Ed Page
1938cb2219
Merge pull request #4991 from epage/bit
refactor(builder): Remove bitflags dependency
2023-06-29 20:44:29 -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