Documentation ¶
Index ¶
Constants ¶
View Source
const ( GreenTemplate = "\033[1;32m%s\033[0m" RedTemplate = "\033[1;31m%s\033[0m" ChartRepoHost = "https://alfiankan.github.io/commander-charts/charts" ChartTemplate = `` /* 770-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chart ¶
type Chart struct { Usage string `json:"usage"` Cmdt string `json:"cmdt"` Type string `json:"type"` Prompt []ChartPrompt `json:"prompt,omitempty"` }
type ChartItem ¶
type ChartItem struct {
// contains filtered or unexported fields
}
func (ChartItem) Description ¶
func (ChartItem) FilterValue ¶
type ChartPrompt ¶
type CmdrFinished ¶
type CmdrFinished struct {
// contains filtered or unexported fields
}
type CmdrTuiViewModel ¶
type CmdrTuiViewModel struct {
// contains filtered or unexported fields
}
func NewCmdrTUI ¶
func NewCmdrTUI(chartsFilePath, unixshell string) CmdrTuiViewModel
func (CmdrTuiViewModel) Init ¶
func (m CmdrTuiViewModel) Init() tea.Cmd
func (CmdrTuiViewModel) View ¶
func (m CmdrTuiViewModel) View() string
type EditorTuiViewModel ¶
type EditorTuiViewModel struct {
// contains filtered or unexported fields
}
func NewEditorTUI ¶
func NewEditorTUI(chartFilePath, editor string) EditorTuiViewModel
func (EditorTuiViewModel) Init ¶
func (m EditorTuiViewModel) Init() tea.Cmd
func (EditorTuiViewModel) View ¶
func (m EditorTuiViewModel) View() string
Click to show internal directories.
Click to hide internal directories.