Documentation ¶
Index ¶
- Variables
- func EditorOn() tea.Cmd
- func GetTemplate(name string, l *log.Logger) tea.Cmd
- func GetTemplateList(paths []string, l *log.Logger) tea.Cmd
- func SaveToFile(name string, content string, l *log.Logger) (string, error)
- type EditTemplate
- type JobFromTemplateTab
- type Keys
- type TemplateText
- type TemplatesListRows
Constants ¶
This section is empty.
Variables ¶
View Source
var EditorKeyMap = Keys{ &keybindings.DefaultKeyMap.TtabSel: false, &keybindings.DefaultKeyMap.Up: false, &keybindings.DefaultKeyMap.Down: false, &keybindings.DefaultKeyMap.PageUp: false, &keybindings.DefaultKeyMap.PageDown: false, &keybindings.DefaultKeyMap.Tab: false, &keybindings.DefaultKeyMap.Slash: false, &keybindings.DefaultKeyMap.Info: false, &keybindings.DefaultKeyMap.Enter: false, &keybindings.DefaultKeyMap.Quit: false, &keybindings.DefaultKeyMap.SaveSubmitJob: true, &keybindings.DefaultKeyMap.Escape: true, &keybindings.DefaultKeyMap.Stats: false, &keybindings.DefaultKeyMap.Count: false, }
View Source
var KeyMap = Keys{ &keybindings.DefaultKeyMap.TtabSel: true, &keybindings.DefaultKeyMap.Up: true, &keybindings.DefaultKeyMap.Down: true, &keybindings.DefaultKeyMap.PageUp: false, &keybindings.DefaultKeyMap.PageDown: false, &keybindings.DefaultKeyMap.Tab: true, &keybindings.DefaultKeyMap.Slash: false, &keybindings.DefaultKeyMap.Info: false, &keybindings.DefaultKeyMap.Enter: true, &keybindings.DefaultKeyMap.Quit: true, &keybindings.DefaultKeyMap.SaveSubmitJob: false, &keybindings.DefaultKeyMap.Escape: false, &keybindings.DefaultKeyMap.Stats: false, &keybindings.DefaultKeyMap.Count: false, }
View Source
var TemplatesListCols = []table.Column{
{
Title: "Name",
Width: 20,
},
{
Title: "Description",
Width: 40,
},
{
Title: "Path",
Width: 100,
},
}
Functions ¶
Types ¶
type EditTemplate ¶
type EditTemplate bool
type JobFromTemplateTab ¶
type TemplateText ¶
type TemplateText string
type TemplatesListRows ¶
Click to show internal directories.
Click to hide internal directories.