Commit graph

7405 commits

Author SHA1 Message Date
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
Ed Page
3f09458094
Merge pull request #4990 from epage/bit
chore: Update bitflags
2023-06-29 20:06:43 -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
Ed Page
94015b1a69 docs: Update changelog 2023-06-28 08:39:44 -05:00
Ed Page
d83cc6d3e7
Merge pull request #4988 from sebastiantoh/ignore-errors
fix(parser): Allow help and version command
2023-06-28 08:38:35 -05:00
Sebastian Toh
8103e9760a fix(ignore_errors): Allow help and version command 2023-06-28 08:58:40 +08:00
Sebastian Toh
d451e0a60c test(ignore_errors): Add help & version cmd tests 2023-06-28 08:55:10 +08:00
Ed Page
1f71fd9e99 chore: Release 2023-06-23 16:36:03 -05:00
Ed Page
0f614dec40 docs: Update changelog 2023-06-23 16:35:49 -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
f363e41916 chore: Release 2023-06-23 16:26:32 -05:00
Ed Page
f4cdebb5f6 docs: Update changelog 2023-06-23 16:26:26 -05:00
Ed Page
f5d64d746e
Merge pull request #4985 from epage/docs
docs(tutorial): Smooth over tutorial problems, a little
2023-06-23 16:25:22 -05:00
Ed Page
975eb0c686 docs(tutorial): Link out to other docs more
This is another step for trying to improve the understanding that the
derive and builder APIs are linked (#4090).

This also adds links to make it easier to discover more details on how
we infer behavior from a field's type.
2023-06-23 16:09:52 -05:00
Ed Page
7370c63caf docs(tutorial): Provide next steps
This is particularly to help call attention to builder methods as
attributes (#4090).
2023-06-23 15:43:48 -05:00
Ed Page
c2e6f1b790 docs(derive): Draw more attention to derive feature 2023-06-23 15:31:11 -05:00
Ed Page
a0e6bdc50b
Merge pull request #4984 from epage/ref
docs(derive): Ensure magic attributes are searchable
2023-06-23 13:38:47 -05:00
Ed Page
ffbe6e9936 docs(derive): Ensure magic attributes are searchable 2023-06-23 13:20:21 -05:00
Ed Page
c94ae5f7a7 chore: Release 2023-06-23 12:53:42 -05:00
Ed Page
8618841eec docs: Update changelog 2023-06-23 12:53:36 -05:00