Commit graph

7369 commits

Author SHA1 Message Date
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
7bff552156 chore(gh): Enable more settings 2023-04-17 20:12:27 -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
Ed Page
9c85e1b295 chore: Update anstyle/anstream 2023-04-12 21:25:42 -05:00
Ed Page
0deb42265d
Merge pull request #4823 from epage/template
chore: Update from '_rust/main' template
2023-04-03 16:32:47 -05:00
Ed Page
d34b51a2ed
Merge pull request #4821 from Bfault/typo
fix(typo): replace ags by args
2023-04-03 09:34:50 -05:00
Lorenzo
13d79b7677
Fix typo 2023-04-02 20:01:51 +09:00
Ed Page
feddd124b0 style: Move away from banned fns 2023-03-30 02:18:00 -05:00
Ed Page
d3d45e8344 chore(pre): Mirror exclude in pre-commit 2023-03-30 01:53:15 -05:00
Ed Page
c99ef984de chore(ci): Remove allow-print-in-tests due to MSRV 2023-03-30 01:50:11 -05:00
Ed Page
376ae678a4 chore: Update from '_rust/main' template 2023-03-30 01:22:54 -05:00
Ed Page
6c8df60dc4 chore: Include Cargo.lock 2023-03-29 22:38:45 -05:00
Ed Page
d1dd4ae940 chore(ci): Expand approved licenses 2023-03-29 15:28:54 -05:00
Ed Page
037f37906d chore(ci): Remove rustfmt/clippy next jobs 2023-03-29 15:07:09 -05:00
Ed Page
afd6a45ef7 chore: Use workspace inheritance 2023-03-29 14:53:08 -05:00
Ed Page
083884043c chore: Update release process 2023-03-29 14:51:13 -05:00
Ed Page
2768727452 chore: Don't set rustflags by default
Doing so can cause unnecessary recompilation
2023-03-29 14:46:23 -05:00
Ed Page
afeff23549 chore(ci): Quote strings in yaml 2023-03-29 14:41:29 -05:00