Commit graph

287 commits

Author SHA1 Message Date
Ed Page
d222ae4cb6 chore: Release 2024-08-08 11:09:07 -05:00
Ed Page
fc6aaca52b
Merge pull request #5638 from epage/cargo
docs(cookbook): Style cargo plugin
2024-08-08 10:41:19 -05:00
Ed Page
631e54bc71 docs(cookbook): Style cargo plugin
Inspired by part of the conversation at #3234
2024-08-08 10:31:27 -05:00
Gibson Fahnestock
6f215eee98
refactor(styles): make styles example use a const
This makes it easier to copy this example for use in the derive API,
like so:

```rust
const STYLES: Styles = Styles::styled()
    .header(AnsiColor::Green.on_default().bold())
    .usage(AnsiColor::Green.on_default().bold())
    .literal(AnsiColor::Blue.on_default().bold())
    .placeholder(AnsiColor::Cyan.on_default());

#[derive(Parser)]
#[clap(styles = STYLES)]
struct Cmd {
  ...
}
```

If you use the `|` method then it's not a constant function.
2024-08-08 15:04:32 +01:00
renovate[bot]
f3c4216336
chore(deps): Update compatible (dev) (#5616)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 00:16:23 +00:00
Ed Page
66b5a122ec chore: Release 2024-07-31 16:26:41 -05:00
Ed Page
1490e2434a chore: Update snapbox 2024-07-31 15:38:49 -05:00
Ed Page
d18615dfc0 chore: Release 2024-07-31 12:20:00 -05:00
Ed Page
349ed304cf chore: Release 2024-07-25 13:08:28 -05:00
Ed Page
4a00677024 chore: Release 2024-07-25 08:39:13 -05:00
Ed Page
5efa52ad45 chore: Release 2024-07-23 10:36:14 -05:00
Ed Page
8697a6134b chore: Release 2024-07-23 10:32:00 -05:00
Ed Page
44189f3388 chore: Release 2024-07-10 20:34:37 -05:00
Ed Page
f5965e5862 chore: Update dependencies 2024-07-10 10:59:22 -05:00
Ed Page
afd7270a06 chore: Update dev-dependencies 2024-07-10 10:57:41 -05:00
Ed Page
43e7368283 chore: Release 2024-07-08 21:07:21 -05:00
renovate[bot]
866d7d14d3
chore(deps): Update compatible (dev) (#5560)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-05 21:03:02 +00:00
Lzu Tao
2d2d1f4987 chore: Bump completest 2024-07-05 15:35:01 -05:00
Ed Page
469d847d35 chore: Release 2024-06-28 12:44:19 -04:00
Ed Page
80242546e2 chore: Update deps to fix nightly 2024-06-26 09:02:40 -04:00
Ed Page
9c1153d6b4 chore: Release 2024-06-19 16:03:52 -05:00
Ed Page
6c6839a454 chore: Release 2024-06-10 09:30:20 -05:00
Ed Page
2f645d3e81 chore: Release 2024-06-07 16:13:55 -05:00
Ed Page
ff3713d770 chore: Release 2024-06-06 16:41:05 -05:00
Ed Page
bca9fa7a9a chore: Update registry clap 2024-06-06 16:40:43 -05:00
Ed Page
122a2b3b8a chore: Release 2024-06-06 16:36:35 -05:00
Ed Page
f087c39884 chore: Release 2024-06-06 15:14:24 -05:00
renovate[bot]
2d83106dbf
chore(deps): Update compatible (dev) (#5514)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-01 01:34:23 +00:00
Ed Page
75e2199415 chore: Upgrade snapbox 2024-05-24 10:13:50 -05:00
Ed Page
800d7cb8ad chore: Update from template 2024-05-14 12:27:02 -05:00
renovate[bot]
24651fcfef
chore(deps): update compatible (dev) (#5477)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-01 01:04:57 +00:00
Ed Page
3092aa4a0d chore: Release 2024-04-09 12:08:43 -05:00
renovate[bot]
9d14f394ba
chore(deps): update compatible (dev) (#5438)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-01 00:30:25 +00:00
Ed Page
126eb3d4dc chore: Encourage a single test binary 2024-03-28 09:48:35 -05:00
Ed Page
5e4facf76f chore: Release 2024-03-25 16:08:19 -05:00
Ed Page
4e07b43858 chore: Release 2024-03-15 07:54:24 -05:00
Samuel Moelius
677c52ce08
chore: Update heck requirement (#5396) 2024-03-15 07:53:26 -05:00
Ed Page
f65d421607 chore: Release 2024-03-06 10:52:18 -06:00
renovate[bot]
a2aa644368
chore(deps): update compatible (dev) (#5381)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-01 00:16:52 +00:00
Ed Page
0c01b5558d chore: Release 2024-02-16 16:33:14 -06:00
Ed Page
8a7a13a561 chore: Release 2024-02-16 07:08:54 -06:00
Ed Page
5f9cecb6bd chore: Update snapbox/trycmd 2024-02-14 16:44:57 -06:00
Ed Page
9295e322e8 chore: Release 2024-02-08 10:35:09 -06:00
Ed Page
a751c5fe65 chore: Release 2024-02-08 10:34:06 -06:00
Ed Page
9ec6c942b8 chore: Release 2024-02-08 10:33:13 -06:00
Ed Page
b0fea2bac6 test(bench): Switch to divan 2024-02-08 06:04:16 -06:00
Ed Page
7425ee74e8 chore: Release 2024-02-02 12:43:30 -06:00
Ed Page
708afa33ef chore: Release 2024-02-02 10:12:09 -06:00
Ed Page
2cc81c684f
Merge pull request #5334 from clap-rs/renovate/strsim-0.x
chore(deps): update rust crate strsim to 0.11.0
2024-02-01 13:14:44 -06:00
renovate[bot]
4788918e01
chore(deps): update compatible (dev) (#5333)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-01 01:26:55 +00:00