Ed Page
c230c72120
docs(examples): Allow any path
2022-03-14 09:46:33 -05:00
Ed Page
ce9e2cba8f
docs(examples): Show implicit parser
2022-03-14 09:43:17 -05:00
Ed Page
a8ffebbab9
docs(examples): Generalize key-value example
2022-03-14 09:38:04 -05:00
Ed Page
dbe8c0c957
docs(tutorial): Prefer custom parsing to validation
2022-03-14 09:31:40 -05:00
Ed Page
cae9011de3
Merge pull request #3554 from mgrachev/master
...
chore: fix typo
2022-03-14 09:18:40 -05:00
Grachev Mikhail
02d4d6b137
chore: fix typo
2022-03-14 14:45:42 +03:00
Ed Page
31bd0b55dd
Merge pull request #3551 from tmccombs/grouped-values-doc
...
Add documentation for grouped_values_of
2022-03-10 08:00:47 -06:00
Thayne McCombs
2b86726879
docs: Document grouped_values_of
...
Relates to #2924
2022-03-10 00:53:46 -07:00
Ed Page
9e3b661f08
Merge pull request #3544 from epage/trycmd
...
test: Switch completions/man to snapshot testing
2022-03-07 14:45:21 -06:00
Matt Fellenz
17193bd074
docs(derive): Builder/Derive interop reference ( #3515 )
...
Fixes #3500
2022-03-07 14:43:51 -06:00
Ed Page
7c86eeb176
test(man): Add snapshot tests
2022-03-07 14:12:59 -06:00
Ed Page
003b0052bb
test(fig): Switch to snapshot testing
2022-03-07 14:08:56 -06:00
Ed Page
02fe7659c0
test(complete): Switch to snapshot testing
...
- This will make it easier to update
- We now uniformly test each shell
2022-03-07 14:03:49 -06:00
Ed Page
aae158f3a2
chore: Upgrade trycmd
2022-03-07 13:27:24 -06:00
Ed Page
e702f42e5e
chore: Release
2022-03-07 10:40:48 -06:00
Ed Page
591a48ff64
docs: Update changelog
2022-03-07 10:40:30 -06:00
Ed Page
8170754287
Merge pull request #3541 from plaflamme/fix-argenum-defaults
...
fix: multiple default values combined with `ArgEnum` / `PossibleValues`
2022-03-07 10:39:08 -06:00
plaflamme
b6df23dc14
fix: Multiple defaults combined with ArgEnum
2022-03-06 23:10:16 -05:00
plaflamme
154c0d0c65
test: Add test to demonstrate regression
2022-03-06 23:09:55 -05:00
Pavan Kumar Sunkara
2bd3dd7d0c
Merge pull request #3537 from jwupf/fix_link_to_derive_example
...
Fix link to example
2022-03-06 13:06:48 +00:00
Jörg Wunderlich-Pfeiffer
92e1666868
docs: Fix link to example
2022-03-06 11:05:23 +01:00
Ed Page
0d022f18a9
Merge pull request #3536 from clap-rs/env-re
...
Fixes #3464
2022-03-05 13:16:24 -06:00
Pavan Kumar Sunkara
8a9403a1df
Fixes #3464
2022-03-05 14:25:12 +00:00
Ed Page
49559291f0
Merge pull request #3531 from epage/feature
...
fix: Reduce chance of missing `cargo` feature
2022-03-03 13:03:19 -06:00
Ed Page
c6d456f608
fix(builder): Tell users cargo feature is needed
...
This will help in cases like #3530
2022-03-03 12:43:10 -06:00
Ed Page
20edbf08f7
docs(tutorial): Remove unneeded feature
2022-03-03 12:39:24 -06:00
Ed Page
14ea156218
docs: Annotate more places with required features
2022-03-03 12:32:29 -06:00
Ed Page
d2863a228c
Merge pull request #3529 from epage/attrib
...
docs(derive): Shift structure around lang->builder
2022-03-02 18:18:34 -06:00
Lucas Kent
0fe8ca7d3c
docs(derive): Shift structure around lang->builder
...
Before, we had the focus on attributes and how they were impacted by
various features. Now we separate out language items and put both magic
and raw attributes under the type of attribute (command, arg, etc)
2022-03-02 16:14:51 -06:00
Ed Page
e937955efb
chore: Release
2022-03-02 09:49:11 -06:00
Ed Page
3ed151d1b3
docs: Update changelog
2022-03-02 09:49:04 -06:00
Ed Page
d63457a20f
Merge pull request #3522 from clap-rs/dependabot/cargo/textwrap-0.15.0
...
chore(deps): update textwrap requirement from 0.14.0 to 0.15.0
2022-03-02 09:47:36 -06:00
dependabot[bot]
e52ce536e0
chore(deps): update textwrap requirement from 0.14.0 to 0.15.0
...
Updates the requirements on [textwrap](https://github.com/mgeisler/textwrap ) to permit the latest version.
- [Release notes](https://github.com/mgeisler/textwrap/releases )
- [Changelog](https://github.com/mgeisler/textwrap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mgeisler/textwrap/compare/0.14.0...0.15.0 )
---
updated-dependencies:
- dependency-name: textwrap
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 15:21:59 +00:00
Ed Page
1e286f3dc2
chore: Release
2022-03-02 09:20:00 -06:00
Ed Page
e0280ca20e
docs: Update changelog
2022-03-02 09:19:04 -06:00
Ed Page
47dae64529
Fix a typo in an example ( #3528 )
...
Co-authored-by: Steve Klabnik <steve@steveklabnik.com>
2022-03-02 09:17:00 -06:00
Roland Fredenhagen
33949ce4de
feat(help): Show PossibleValue help in --help
( #3503 )
...
`-h` (short help) still shows the same.
This gates it behind an `unstable-v4` feature flag to avoid disrupting users who set the help without knowing where all it shows up (particularly derive users where `ArgEnum` is automatically extracting the help).
Fixes #3312
2022-03-02 09:15:28 -06:00
Steve Klabnik
f89c8f4da2
Fix a typo in an example
2022-03-02 08:41:08 -06:00
Ed Page
63fa59a251
chore: Release
2022-02-28 10:03:45 -06:00
Ed Page
d87dd9005c
docs: Update changelog
2022-02-28 10:03:30 -06:00
Ed Page
fce7796c1d
Merge pull request #3521 from epage/assert
...
fix(assert): Validate delimited defaults
2022-02-28 09:55:19 -06:00
Ed Page
3f2a37088b
fix(assert): Validate delimited defaults
...
Fixes #3514
2022-02-28 09:21:44 -06:00
Ed Page
28162d49cd
Merge pull request #3507 from virtualritz/patch-1
...
Fixed broken Command Attributes link
2022-02-24 07:44:24 -06:00
Moritz Mœller
22efb36983
Fixed broken Command Attributes link
2022-02-24 13:39:53 +01:00
Ed Page
bfeb751d0d
chore: Ensure clap always uses latest clap_derive
2022-02-23 12:50:32 -06:00
Ed Page
20dc6673bc
chore: Release
2022-02-23 09:39:40 -06:00
Ed Page
2f9cae8cb4
docs: Update changelog
2022-02-23 09:38:44 -06:00
Ed Page
0e0e867902
Merge pull request #3505 from epage/subcommand
...
fix(derive): Allow other attributes with subcommand that has subcommands
2022-02-23 09:36:54 -06:00
Ed Page
cb937641fa
fix(derive): Allow other attributes with subcommand that has subcommands
...
This was overlooked when we added support for `#[clap(subcommand)]` to
variants.
Fixes #3504
2022-02-23 09:23:33 -06:00
Ed Page
15f43f871a
refactor(ci): Move ui tests to Makefile
2022-02-23 09:03:18 -06:00