Commit graph

7434 commits

Author SHA1 Message Date
Ed Page
9bda2ac8a0 docs: Update changelog 2023-04-21 07:42:33 -05:00
Ed Page
c38b8ca66d
Merge pull request #4851 from ClementTsang/update_mut_arg_docs
docs: Update mut_arg docs on help + version flags
2023-04-21 07:41:41 -05:00
Clement Tsang
89bf732353
docs: Update mut_arg docs on help + version flags 2023-04-20 22:18:27 -04:00
Ed Page
3bc32de19f
Merge pull request #4848 from changhc/fix-escape-zsh
fix(complete): Escape special characters properly for zsh
2023-04-20 15:53:02 -05:00
Huan-Cheng Chang
a379bae895 fix: Escape special characters properly for zsh
Signed-off-by: Huan-Cheng Chang <changhc84@gmail.com>
2023-04-20 21:52:36 +02:00
Ed Page
65e5a705bc
Merge pull request #4846 from epage/align
fix(help): Preserve block indent when wrapping
2023-04-19 12:48:21 -05:00
Ed Page
950a495753 fix(help): Preserve block indent when wrapping 2023-04-19 11:55:53 -05:00
Ed Page
4f0666d437 refactor(help): Clarify word splitter 2023-04-19 11:37:03 -05:00
Ed Page
71344749e7 test(help): Show indented wrap behavior 2023-04-19 11:37:03 -05:00
Ed Page
60c8c3fc31 chore: Release 2023-04-19 11:11:47 -05:00
Ed Page
e9b4c4769e docs: Update changelog 2023-04-19 11:11:34 -05:00
Ed Page
e429a9e98b
Merge pull request #4845 from epage/color
docs(help): Fill in styles docs
2023-04-19 11:10:44 -05:00
Ed Page
1ca073f212 docs(help): Fill in styles docs 2023-04-19 11:00:00 -05:00
Ed Page
6d5aaae5a9 feat(help): Allow access to current Styles 2023-04-19 10:57:00 -05:00
Ed Page
b99c50f7e9 chore: Release 2023-04-18 15:52:35 -05:00
Ed Page
3f46258b45 docs: Update changelog 2023-04-18 15:52:09 -05:00
Ed Page
b0e0c596fe
Merge pull request #4843 from epage/style
feat(help): Allow customizing terminal styling (unstable)
2023-04-18 15:51:22 -05:00
Ed Page
cbea23e3fc style: Make clippy happy 2023-04-18 15:36:02 -05:00
Ed Page
5ca3b2fc5f refactor(help): Shrink binary size 2023-04-18 15:28:20 -05:00
Ed Page
ec7040e8ba style: Make clippy happy 2023-04-18 15:22:42 -05:00
Ed Page
57974bed7b refactor(help): Future proof styling
We can add a new style and default it to what it was split out of
without a breaking change.
2023-04-18 15:22:42 -05:00
Ed Page
e10e2ad249 refactor(help): Split out separate usage style
Because this doesn't have a full section after it, people might want to
style it differently than other headers.
2023-04-18 15:22:42 -05:00
Ed Page
8fd0a93bdc refactor(help): Clarify style meaning 2023-04-18 15:22:42 -05:00
Ed Page
7cf08e63cd refactor(help): Remove unused hint 2023-04-18 15:22:42 -05:00
Ed Page
015f88b21a feat(help): Allow customizing terminal styling
For now, this is behind the `unstable-styles` feature as we verify this
is what we want for #3224
2023-04-18 15:22:42 -05:00
Ed Page
3cb90b0b22 refactor(help): Use a stylesheet 2023-04-18 15:22:42 -05:00
Ed Page
72515d14b1 refactor(help): Style in the caller
Random fixes along the way
- In one case the space after `tip:` was "colored" (won't matter until
  themeing is available)
- One error case didn't color invalid values
- Changed the args associated with invalid values to be `literal` rather
  than `warning`
- Changed the required value count to be `good`
- Changed the arg for invalid value counts to be `literal` (the actual
  count is `warning`)
2023-04-18 15:22:42 -05:00
Ed Page
9416f3a347 refactor(help): Use anstyle in the caller 2023-04-18 15:22:42 -05:00
Ed Page
ab61cd6aaf refactor(help): Push color knowledge out a layer 2023-04-18 15:22:42 -05:00
Ed Page
c8f5afe9b5 refactor: Make anstyle always available 2023-04-18 15:22:42 -05:00
Ed Page
716170eaa8 chore(gh): Ban rebase merges 2023-04-17 20:13:36 -05:00
Ed Page
7bff552156 chore(gh): Enable more settings 2023-04-17 20:12:27 -05:00
Ed Page
96297f038d chore(ci): Clarify why map_or is banned 2023-04-17 20:04:56 -05:00
Ed Page
60a8ec89e3 chore(ci): Ban for_each 2023-04-17 20:03:56 -05:00
Ed Page
bb49a658df
Merge pull request #4840 from epage/update
chore: Update from '_rust/main' template
2023-04-17 13:12:21 -05:00
Ed Page
8b4b440cb8 chore: Update from '_rust/main' template 2023-04-17 12:38:16 -05:00
Ed Page
afaba35d39 chore(ci): Use new minimumReleaseAge field 2023-04-17 09:54:21 -05:00
Ed Page
d99db2e632 style(ci): Match auto-generated style 2023-04-17 09:54:05 -05:00
Ed Page
62401b8eaf chore(ci): Lower the MSRV churn for template 2023-04-17 09:05:31 -05:00
Ed Page
2c4a7f574f chore(ci): Delay Renovate PRs until ready 2023-04-17 09:02:40 -05:00
Ed Page
563de12d25 chore(ci): Update stabilidyDays to new syntax 2023-04-17 09:01:54 -05:00
Ed Page
4163ad78c7 style(ci): Match auto-generated style
This will make reviewing auto-update PRs easier
2023-04-17 08:51:48 -05:00
Ed Page
f7b990b803 fix(ci): Fix Renovate regexes 2023-04-17 08:50:19 -05:00
Ed Page
0501a63c21
Merge pull request #4833 from epage/plugin
refactor: Track term widths as plugins
2023-04-13 16:09:03 -05:00
Ed Page
690ae13f57 refactor: Track term widths as plugins 2023-04-13 02:23:18 -05:00
Ed Page
1924f45289 refactor: Design plugin system 2023-04-13 01:18:44 -05:00
Ed Page
fe70ddcb20 refactor(builder): Move Any out of parser 2023-04-13 00:28:00 -05:00
Ed Page
6f409544ec chore: Release 2023-04-12 21:41:50 -05:00
Ed Page
6d5394dfc1 docs: Update changelog 2023-04-12 21:41:35 -05:00
Ed Page
d7f742ab87
Merge pull request #4832 from epage/update
chore: Update anstyle/anstream
2023-04-13 10:49:51 -05:00