Skip to content

Types

Classes

ClassDescription
FlagValidationError-

Functions

| Function | Description | | -------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | ------ | --------------------- | | Enum | Creates a Enum type function that validates the input against allowed values. The display name will be formatted as "value1 | value2 | ..." for help output. | | Range | Creates a range type function that validates the input is a number within the specified range. | | Regex | Creates a regex type function that validates the input against the provided pattern. |

在 MIT 许可证下发布