Files
herolib/lib/ui/template/question.v
2025-10-12 12:30:19 +03:00

18 lines
424 B
V

module template
// import os
import incubaid.herolib.ui.uimodel { QuestionArgs }
// import incubaid.herolib.ui.console
// args:
// - description string
// - question string
// - warning: string (if it goes wrong, which message to use)
// - reset bool = true
// - regex: to check what result need to be part of
// - minlen: min nr of chars
//
pub fn (mut c UIExample) ask_question(args QuestionArgs) !string {
return ''
}