Library with additional validators for flag validation feature of urfave/cli
(current for v3 only). Validation in urfave/cli
is run only after the value has been converted from a string to the flag value type. So these validators need to focus only on validating the value, whether it be within a certain range or picked from a fixed number of values. Validation cannot be used to check slice/map length, because len can be known only after all the flags have been parsed. That kind of validation is a candidate for a Flag Action since those actions are run after all flags have been parsed
-
Notifications
You must be signed in to change notification settings - Fork 1
Library to help with flag validation of urfave/cli
License
urfave/cli-validation
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Library to help with flag validation of urfave/cli
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published