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.
Risks are usability and performance. The most basic APIs, like required, we probably need to keep baked in. Its the special inter-arg interactions that we should be focusing on.
The text was updated successfully, but these errors were encountered:
Issue by epage
Tuesday Nov 09, 2021 at 14:38 GMT
Originally opened as clap-rs/clap#3008
Please complete the following tasks
Clap Version
master
Describe your use case
Describe the solution you'd like
Define one or more App Validation trait
App
andArgMatches
as an input, reports errorsApp
,ArgMatches
, and args as input, reports which args are requiredApp
,ArgMatches
, and args as input, reports default values for themSteps
default_value_if
API with its use ofOption
by clarifying intent through buildersclap::validate
Arg
functions so now only those using this API pay the cost due to dead code eliminationAlternatives, if applicable
No response
Additional Context
See also clap-rs/clap#2832
Risks are usability and performance. The most basic APIs, like
required
, we probably need to keep baked in. Its the special inter-arg interactions that we should be focusing on.The text was updated successfully, but these errors were encountered: