-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
I find myself having to validate arguments more thoroughly using Regex. I end up doing this from within the action method, but it would be nice if we could pass another parameter into .argument
as a regex that would be used to validate.
Maybe something like this would be nice?
argument(name: string, description?: string, defaultValue?: unknown): this;
-> argument(name: string, description?: string, defaultValue?: unknown, validationRegex: Regex): this;
Metadata
Metadata
Assignees
Labels
No labels