Ed Page
16c499c7b3
docs: Clarify role of StyledStr
2022-12-14 19:29:01 -06:00
Ed Page
1f3d5a321f
docs: Clarify role of Resettable
...
Inspired by #4554
2022-12-14 19:21:08 -06:00
Ed Page
922fc00f90
Merge pull request #4552 from dzvon/patch-1
...
docs: Fix a typo
2022-12-14 06:49:20 -06:00
Dezhi Wu
577b7f24fa
docs: Fix a typo
2022-12-14 15:47:15 +08:00
Ed Page
25f9fda0a3
docs: Point to Makefile for feature list
2022-12-12 10:41:13 -06:00
Ed Page
a9ccb2641c
chore(ci): Update renovate
2022-12-05 09:36:14 -06:00
Ed Page
35f4597ce2
Merge pull request #4535 from clap-rs/renovate/dev
...
chore(deps): update dev
2022-12-01 16:14:49 -06:00
Ed Page
caf540918f
Merge pull request #4537 from clap-rs/renovate/swatinem-rust-cache-2.x
...
chore(deps): update swatinem/rust-cache action to v2
2022-12-01 16:14:41 -06:00
Ed Page
6b816c7f52
Merge pull request #4536 from clap-rs/renovate/actions-setup-python-4.x
...
chore(deps): update actions/setup-python action to v4
2022-12-01 16:14:35 -06:00
renovate[bot]
9b2b718df6
chore(deps): update dev
2022-12-01 21:38:13 +00:00
Ed Page
dd0f8e38fe
chore: Iterate on renovate
2022-12-01 15:29:31 -06:00
renovate[bot]
a306b4d110
chore(deps): update swatinem/rust-cache action to v2
2022-12-01 18:13:33 +00:00
renovate[bot]
1b975cc22b
chore(deps): update actions/setup-python action to v4
2022-12-01 18:13:27 +00:00
Ed Page
388e1f09e7
chore: Switch to renovate
2022-12-01 11:23:46 -06:00
Ed Page
d95d371e74
Merge pull request #4525 from epage/source
...
test(parser): Verify value_source
2022-11-29 20:50:55 -06:00
Ed Page
e30e9823f2
test(parser): Verify value_source
2022-11-29 20:26:37 -06:00
Ed Page
ad4726378b
chore: Release
2022-11-29 06:45:28 -06:00
Ed Page
6e31743efa
docs: Fix docs.rs builds
...
We were broken by rust-lang/cargo#10343.
See rust-lang/cargo#11425
Fixes #4519
2022-11-29 06:44:24 -06:00
Ed Page
c3c9099e72
chore: Release
2022-11-28 21:46:18 -06:00
Ed Page
68127614ec
docs: Update changelog
2022-11-28 21:46:04 -06:00
pinkforest(she/her)
2ad0eff495
fix: wasm32 targets with is-terminal ( #4518 )
...
Fixes #4510
Note: `terminal_size` is using old version of rustix and this causes a bit dependency duplication.
Will check to bump upstream. EDIT: Someone already did - https://github.com/eminence/terminal-size/pull/46 (needs a release)
2022-11-28 21:45:10 -06:00
Ed Page
bf39b8d280
docs(ref): Move flatten/subcommand to be under command attr
...
Fixes #4505
2022-11-28 09:49:15 -06:00
Noritada Kobayashi
e2501ef7c2
docs: Present environment variable alternatives to crate_name!
...
`crate_name!` macro uses a value of an environment variable
`CARGO_PKG_NAME`, but there are other similar variables
`CARGO_PKG_NAME` and `CARGO_CRATE_NAME`, that users should be aware of.
2022-11-27 23:43:59 +09:00
Ed Page
3262016c26
chore: Release
2022-11-24 11:40:15 -06:00
Ed Page
757f95b2e9
docs: Update changelog
2022-11-24 11:39:37 -06:00
Ed Page
20e02eb34e
Merge pull request #4509 from epage/possible
...
feat: Improve ValueParser experience
2022-11-24 10:06:52 -06:00
Ed Page
fb1d960fe2
Merge pull request #4249 from jcgruenhage/replace-atty
...
chore: replace atty with is-terminal
2022-11-24 09:48:37 -06:00
Ed Page
94aca92e44
feat: Create ValueParser from Vec<PossibleValue>
...
This dynamically generated list of possible values. Inspired by #4504
2022-11-24 09:47:33 -06:00
Ed Page
3bccfced1a
docs: Clarify PossibleValue is likely not needed
...
Fixes #4504
2022-11-24 09:47:33 -06:00
Ed Page
19981a2455
docs: Clarify ColorChoice impls ValueEnum
2022-11-24 09:47:33 -06:00
Ed Page
8d92f3e7a8
feat: Add Display/FromStr to ColorChoice
...
This matches up with `clap_complete::Shell`. This makes it a bit more flexible.
2022-11-24 09:47:33 -06:00
Ed Page
ed683ef248
fix: Always expose ColorChoice
2022-11-24 09:47:33 -06:00
Ed Page
789bfd6813
Merge pull request #4508 from epage/style
...
style: Make clippy happy
2022-11-24 09:38:53 -06:00
Jan Christian Grünhage
aaac3c4930
chore: Replace atty with is-terminal
2022-11-24 15:33:43 +01:00
Ed Page
623ccbc152
style: Make clippy happy
2022-11-24 08:05:21 -06:00
Ed Page
f5dcfc5bd9
Merge pull request #4495 from SUPERCILEX/term-width
...
Gate term_width and max_term_width APIs on wrap_help
2022-11-21 06:44:04 -06:00
Alex Saveau
fd64c8ae93
Gate term_width and max_term_width APIs on wrap_help
2022-11-20 19:33:02 -08:00
Ed Page
ea99887967
Merge pull request #4492 from WhyNotHugo/update-doc-ref
...
Update reference to example in docs
2022-11-19 16:49:43 -06:00
Hugo Osvaldo Barrera
d169849330
docs: Clarify mention of example elsewhere
...
This points to "the example above", but there's no example above when
this gets rendered in docs.rs:
https://docs.rs/clap_complete/latest/clap_complete/generator/fn.generate.html
I suppose this reference is just stale since moving docs from a single
markdown file or something similar.
2022-11-19 12:22:37 +01:00
Ed Page
44dd8ea4c5
fix: Correctly refer to unstable-v5
2022-11-17 10:09:45 -06:00
Ed Page
2a319d743e
Merge pull request #4488 from epage/pred
...
fix: Make ArgPredicate non_exhaustive in v5
2022-11-17 09:13:44 -06:00
Ed Page
dd143eed47
fix: Make ArgPredicate non_exhaustive in v5
...
Didn't want to forget to do this
Inspired by #4487
2022-11-17 09:01:51 -06:00
Ed Page
f8e9211e38
chore: Release
2022-11-16 10:27:26 -06:00
Ed Page
6524416e9e
docs: Update changelog
2022-11-16 10:27:20 -06:00
Ed Page
df1efb4c53
Merge pull request #4486 from jpgrayson/master
...
fix: ContextKind.as_str() spellings
2022-11-16 10:26:28 -06:00
Peter Grayson
d9c9c7bdd8
fix: ContextKind.as_str() spellings
...
Signed-off-by: Peter Grayson <pete@jpgrayson.net>
2022-11-16 11:14:54 -05:00
Ed Page
ba32ab87b2
chore: Release
2022-11-15 10:41:16 -06:00
Ed Page
391cd0092d
docs: Update changelog
2022-11-15 10:41:09 -06:00
Ed Page
8cefdf31cc
Merge pull request #4482 from epage/suggest
...
feat(parser): Show available subcommands when one is missing
2022-11-15 10:40:16 -06:00
Ed Page
6b62c82fe2
feat(parser): Show available subcommands when one is missing
...
Similar to
- Listing all required arguments when one is missing
- Listing all possible values when no value is provided
This came up when discussing #3572
2022-11-15 10:18:24 -06:00