Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfirmAttributes ¶
type Field ¶
type Field struct {
Type string `yaml:"type"`
Key string `yaml:"key,omitempty"`
Title string `yaml:"title,omitempty"`
Description string `yaml:"description,omitempty"`
Value interface{} `yaml:"value,omitempty"`
Options []*Option `yaml:"options,omitempty"`
Validation []*Validation `yaml:"validation,omitempty"`
InputAttributes *InputAttributes
TextAttributes *TextAttributes
SelectAttributes *SelectAttributes
MultiSelectAttributes *MultiSelectAttributes
ConfirmAttributes *ConfirmAttributes
NoteAttributes *NoteAttributes
FilePickerAttributes *FilePickerAttributes
}
type FieldWithValidation ¶
type FilePickerAttributes ¶
type FilePickerAttributes struct {
CurrentDirectory string `yaml:"current_directory,omitempty"`
ShowHidden bool `yaml:"show_hidden,omitempty"`
ShowSize bool `yaml:"show_size,omitempty"`
ShowPermissions bool `yaml:"show_permissions,omitempty"`
FileAllowed bool `yaml:"file_allowed,omitempty"`
DirAllowed bool `yaml:"dir_allowed,omitempty"`
AllowedTypes []string `yaml:"allowed_types,omitempty"`
Height int `yaml:"height,omitempty"`
}
type Form ¶
type InputAttributes ¶
type MultiSelectAttributes ¶
type NoteAttributes ¶
type SelectAttributes ¶
type TextAttributes ¶
type TextAttributes struct {
Lines int `yaml:"lines,omitempty"`
CharLimit int `yaml:"char_limit,omitempty"`
ShowLineNumbers bool `yaml:"show_line_numbers,omitempty"`
Placeholder string `yaml:"placeholder,omitempty"`
Editor string `yaml:"editor,omitempty"`
EditorArgs []string `yaml:"editor_args,omitempty"`
EditorExtension string `yaml:"editor_extension,omitempty"`
}
type Validation ¶
Click to show internal directories.
Click to hide internal directories.