Commit graph

5228 commits

Author SHA1 Message Date
Ed Page
731d18f300 docs(examples): Fix help output 2022-03-25 07:20:46 -05:00
Ed Page
6835dfa978
Merge pull request #3577 from samueltardieu/fix-arg-help-doc
docs: arg! macro uses double quotes for help string
2022-03-25 07:07:05 -05:00
Samuel Tardieu
ef3c2c73d5 docs: arg! macro uses double quotes for help string 2022-03-25 11:00:47 +01:00
Ed Page
edf75cc772
Merge pull request #3571 from epage/fixes
docs: Fix examples
2022-03-23 12:42:05 -05:00
Ed Page
4161b16f2b chore(ci): Run on documentation changes 2022-03-23 12:37:19 -05:00
Ed Page
429e1d3f31 docs: Fix examples
CI didn't run for #3570, so we missed that some things were off on
Windows.
2022-03-23 12:31:13 -05:00
Ed Page
6657d01c37
Merge pull request #3570 from epage/default
docs(examples): Show how to do default subcommands
2022-03-23 12:07:52 -05:00
Ed Page
db863de6c1 docs(examples): Show how to do default subcommands
While we don't have a built-in mechanism, its relatively easy to support
with the APIs we provide.

Inspired by #3566
2022-03-23 11:08:07 -05:00
Ed Page
5176e59794 chore: Release 2022-03-21 07:10:11 -05:00
Ed Page
f3185f4773 docs(fig): Update changelog 2022-03-21 07:09:49 -05:00
Ed Page
230f57b357
Merge pull request #3565 from fedeci/feat/add-subcommand-aliases
feat(clap_complete_fig): Add subcommand aliases support
2022-03-21 07:06:58 -05:00
Federico Ciardi
a404ab8680 feat(clap_complete_fig): Add subcommand aliases support 2022-03-20 21:21:03 +01:00
Ed Page
fb39216caf chore: Release 2022-03-18 08:58:33 -05:00
Ed Page
077793aca4 chore: Release 2022-03-18 08:57:36 -05:00
Ed Page
c029156fbf
Merge pull request #3562 from fedeci/fix/correct-name
fix(clap_complete_fig): Correct `requiresEquals` name and add it to the right objects
2022-03-18 08:57:06 -05:00
Federico Ciardi
5689adc875 fix(clap_complete_fig): Correct requiresEquals name and add it to the right objects 2022-03-18 14:46:20 +01:00
Ed Page
20443fe5a5 chore: Release 2022-03-17 16:20:34 -05:00
Ed Page
3034fdbbdd
Merge pull request #3561 from fedeci/feat/recover-3397
feat(clap_complete_fig): Add `exclusiveOn` and `isRepeatable` and improve indentation
2022-03-17 16:04:14 -05:00
Federico Ciardi
791d43254c fix(clap_complete_fig): Correct indentation and spacing
Co-Authored-By: Grant G <grantgurvis@gmail.com>
2022-03-17 21:50:10 +01:00
Federico Ciardi
abc72a7d0b feat(clap_complete_fig): Add exclusiveOn and isRepeatable 2022-03-17 21:47:18 +01:00
Federico Ciardi
f755198349
feat(clap_complete_fig): support hide and require_equals (#3560) 2022-03-17 20:35:52 +00:00
Ed Page
38469060db
Merge pull request #3555 from epage/parse
docs(examples): More real-world parsing cases
2022-03-14 10:22:40 -05:00
Ed Page
bdd5cf17f8 docs(examples): Show IP Address 2022-03-14 09:53:31 -05:00
Ed Page
4842f07045 docs(examples): Show duration parsing 2022-03-14 09:49:46 -05:00
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