Ed Page
623ccbc152
style: Make clippy happy
2022-11-24 08:05:21 -06:00
Ed Page
0e915e0d3a
docs(derive): Update for new attributes
2022-09-02 15:39:13 -05:00
Ed Page
36460aed08
fix: Deprecate _os variants
...
PR #4096 made them redundant
2022-08-29 12:42:30 -05:00
Ed Page
91e55c6b9c
fix: Switch OsStr's in builder to owned/borrowed type
...
This is a part of #1041
Because `Option<Into<T>>` is ambiguous for `None`, we had to create
`Resettable` to workaround it.
2022-08-16 14:53:36 -05:00
Emerson Ford
04e0ed7474
feat(clap_derive): Add default_values_t
and default_values_os_t
2022-07-25 10:14:04 -07:00
Ed Page
01a3ea425f
fix!: Remove unstable-v4
feature gate
2022-07-22 11:34:06 -05:00
omjadas
4d521429be
test: Add test for default_value_os_t
2022-06-15 13:46:59 +10:00
Ed Page
177511dab1
fix: Deprecate validator / validator_os
...
`validator_regex` is being ignored for now as I await on a comment
period for #3743
2022-05-25 12:57:11 -05:00
Ed Page
ddac492302
fix: Rename IntoApp to CommandFactory
...
This is part of the `App` rename.
Previously, I was concerned about not being able to deprecate
For backwards compatibility, we still expose the `IntoApp` name.
2022-02-15 08:24:00 -06:00
Ed Page
c3fec1fa75
fix: Update derive->Command function name
...
No good solution for transitioning the trate name, unfortnately, since
we can't mark `use`s as deprecated (we can, it just does nothing).
I got rid of the `into` prefix because that implies a `self` parameter
that doesn't exist.
2022-02-14 16:04:10 -06:00
Ed Page
7c10b5a9b4
fix(derive): Treat default_value_os
like default_value
...
The test went from panicing to not-panicing
Fixes #3031
2021-12-13 16:25:49 -06:00
Ed Page
b190a6a817
test: Consolidate clap tests
...
This reduces the need for us to have `clap` as a dependency in
`clap_derive`, preparing the way to fix #15 .
2021-11-30 10:07:08 -06:00