Flag: Required
Required Flag
The required flag
A required flag request end user must have input it at least once. If not, cmdr will deny the further processing and exit.
The backstage algorithm is checking the hit-times of all of the meeting requied flags in parsing time. The zero (0
) hit-times value would cause the failed verification.
Define
.Required()
can do that.
Run
The feedback of unsatisfied required flag looks like:
额外的话题
How is this guide?
Edit on GitHub
Last updated on