summoner-tui-0.1.0: Tool for scaffolding fully configured batteries-included production-level Haskell projects using TUI.
Summoner.Tui.Validation
Description
This module contains function to validate Form fields.
ctrlD :: KitForm e -> KitForm e Source #
Clears the Text fields by Ctrl + d key combination.
Text
Ctrl + d
summonFormValidation :: forall e. [FilePath] -> KitForm e -> KitForm e Source #
Validates the main new command form.
new
formErrorMessages :: [FilePath] -> KitForm e -> [String] Source #
Returns list of error messages according to all invalid fields.