Ed Page
135b15467e
chore: Release
2022-02-08 10:28:40 -06:00
Ed Page
1330a46bf0
docs: Update changelog
2022-02-08 10:28:27 -06:00
Ed Page
fc0eeb28bb
Merge pull request #3419 from epage/man
...
docs(man): Add some basic documentation
2022-02-08 10:25:24 -06:00
Ed Page
6cd069ab5d
docs: Expand doc comments
2022-02-08 10:10:22 -06:00
Ed Page
c5080f1139
docs(man): Fill our README
2022-02-08 09:59:57 -06:00
Ed Page
f1980313bf
Merge pull request #3417 from alerque/repo-config
...
chore(gh): Update list of crates in scope of issue tracker
2022-02-08 08:16:45 -06:00
Caleb Maclennan
3e1c819b8a
chore(gh): Update list of crates in scope of issue tracker
2022-02-08 16:57:45 +03:00
Ed Page
06b6714a48
docs(contrib): Call out parallel tutorials
2022-02-08 07:08:14 -06:00
Ed Page
155a28f257
docs: Link out to clap_mangen
2022-02-07 21:40:04 -06:00
Ed Page
c65b9f07e0
Merge pull request #3415 from epage/man
...
fix(man): Rename crate to match style
2022-02-07 21:22:55 -06:00
Ed Page
86bf680645
fix(man): Rename crate to match style
...
I have access to the `clap-man` name but we use `clap_*`. Rather than
people getting mixed up on which is supposed to use, we went with a
different name.
2022-02-07 20:20:01 -06:00
Ed Page
b0199dc297
Merge pull request #3414 from epage/todo
...
feat: Help Heading and Display Order work in prep for deprecations
2022-02-07 19:58:15 -06:00
Ed Page
6ad52f41b3
feat: Allow disabling derive display order
...
In clap 4.0, we will make `DeriveDisplayOrder` the default and this is
how you'll disable it.
This is part of #2808
2022-02-07 19:19:11 -06:00
Ed Page
5290f82133
feat: Override DeriveDisplayOrder behavior with App::next_display_order
...
For the derive API, you can only call `next_display_order` when dealing
with a flatten. Until we offer app attributes on arguments, the user can workaround with
this no-op flattens.
This is a part of #1807
2022-02-07 19:19:11 -06:00
Ed Page
16bf834aa5
refactor: Prepare for overriding derived display order
2022-02-07 19:19:11 -06:00
Ed Page
c00f71ec4a
feat: Add App::next_help_heading
...
This clarifies the intent and prepares for other functions doing the
same, like `next_display_order`. This will then open us to name
`subcommand_help_heading` and `display_order` similar.
The deprecation is waiting on 3.1.
This is part of #1807 and #1553 .
2022-02-07 19:19:01 -06:00
Ed Page
4f50e97f23
docs: Prepare for 3.1 deprecations
...
Don't want to forget this remaining work
2022-02-07 19:17:09 -06:00
Ed Page
6bfe7f5a0b
Merge pull request #3402 from epage/context
...
feat(error): Expose error building blocks
2022-02-07 15:37:27 -06:00
Ed Page
07e4e424ac
perf(error): Take arond 5kb off
2022-02-07 14:55:24 -06:00
Ed Page
e3e0a91561
fix(error): Don't overload fields
2022-02-07 14:47:49 -06:00
Ed Page
0dfdeb07bc
test: Update
2022-02-07 13:28:48 -06:00
Ed Page
84416b267c
style: Make clippy happy
2022-02-07 13:06:04 -06:00
Ed Page
600d741d65
feat(error: Expose unknown-argument context
2022-02-07 13:03:23 -06:00
Ed Page
6079bae959
perf: Reduce binary size by 11k
2022-02-07 12:35:23 -06:00
Ed Page
3f06e13a85
feat(error: Expose argument-not-found context
2022-02-07 10:58:02 -06:00
Ed Page
a4b044df81
feat(error: Expose unexpected-multiple context
2022-02-07 10:32:42 -06:00
Ed Page
5c3868ea4c
chore: Release
2022-02-05 09:33:39 -06:00
Ed Page
28ea108374
docs: Update changelog
2022-02-05 09:33:12 -06:00
Ed Page
a27d4bd943
Merge pull request #3409 from babysnakes/powershell-allow-completion-of-partial-commands
...
Allow completion of partial commands
2022-02-05 09:31:44 -06:00
Ed Page
5674587eb2
docs: Try to steer people to better practices
2022-02-05 09:18:05 -06:00
Haim Ashkenazi
c90a48bf0b
More failing tests, hope this will end it :(
2022-02-05 17:16:40 +02:00
Haim Ashkenazi
3c2cea9754
Fixed failing test
2022-02-05 17:09:06 +02:00
Haim Ashkenazi
bf98b1bded
Allow completion of partial commands
...
Based on solution suggested here by @benedictleejh:
https://github.com/clap-rs/clap/issues/2750
2022-02-05 16:49:21 +02:00
Ed Page
2434f51129
feat(error: Expose wrong-number context
2022-02-04 14:52:31 -06:00
Ed Page
7497dbb6cc
feat(error: Expose value-validation context
2022-02-04 14:35:52 -06:00
Ed Page
3d4f31b223
feat(error: Expose too-few context
2022-02-04 14:24:46 -06:00
Ed Page
ee2860e434
feat(error: Expose too-many-values context
2022-02-04 14:10:16 -06:00
Ed Page
2b60c598b7
feat(error: Expose too-many context
2022-02-04 13:53:57 -06:00
Ed Page
03fbb50283
refactor(error): Make room for more values
2022-02-04 13:44:49 -06:00
Ed Page
f7731d1f03
feat(error: Expose invalid-utf8 context
2022-02-04 13:42:36 -06:00
Ed Page
f54bcc85b7
feat(error: Expose missing-subcommand context
2022-02-04 13:18:51 -06:00
Ed Page
9b18f8087c
feat(error: Expose missing-required context
2022-02-04 12:45:48 -06:00
Ed Page
71535866b9
feat(error: Expose invalid-subcommand context
2022-02-04 12:23:06 -06:00
Ed Page
5095e5c992
feat(error: Expose unrecognized-subcommand context
2022-02-04 11:15:22 -06:00
Ed Page
1a0d7bac29
feat(error: Expose invalid-value context
2022-02-04 10:24:51 -06:00
Ed Page
04aa6029b8
refactor(error): Generalize kind name
2022-02-04 10:08:51 -06:00
Ed Page
1463f82cf1
feat(error: Expose no equals context
2022-02-04 10:07:14 -06:00
Ed Page
9759f2f1ea
refactor(error): Share template across kinds
2022-02-04 10:03:09 -06:00
Ed Page
630e7097fc
feat(error: Expose empty value context
2022-02-04 10:01:07 -06:00
Ed Page
0c36fc2073
feat(error): Expose argument conflict context
2022-02-04 09:59:06 -06:00