You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 1, 2022. It is now read-only.
Originally posted by epage July 28, 2021
Right now, we only use types to infer occurrences / values (see #1772) or some limited capabilities when a user sets arg_enum.
Issue by epage
Wednesday Aug 11, 2021 at 18:27 GMT
Originally opened as clap-rs/clap#2678
Discussed in clap-rs/clap#2637
Originally posted by epage July 28, 2021
Right now, we only use types to infer occurrences / values (see #1772) or some limited capabilities when a user sets
arg_enum
.What else can we infer from types?
Path
, set ValueHint::AnyPathvalue_name
based on the type, likeNUM
for integers,PATH
forPath
, etcPath
,OsString
, etc.FromStr
,TryFrom<&OsStr>
, etc., in clap_derive clap-rs/clap#2298 wuld help with thisThe text was updated successfully, but these errors were encountered: