Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitialModel ¶
func InitialModel() *modelInputText
func ScanCommands ¶
Types ¶
type Command ¶
type Command struct { Name string Args []arg // contains filtered or unexported fields }
func NewCommand ¶
func NewCommand(name string, description string, opts ...CommandOptional) *Command
func (Command) Description ¶
func (Command) FilterValue ¶
type CommandOptional ¶
type CommandOptional func(command *Command)
func WithArgs ¶
func WithArgs(args []arg) CommandOptional
type ModelLists ¶
type ModelLists struct { Lists []list.Model CurrentCommand *Command // contains filtered or unexported fields }
func (*ModelLists) Init ¶
func (m *ModelLists) Init() tea.Cmd
func (*ModelLists) View ¶
func (m *ModelLists) View() string
func (*ModelLists) ViewMenu ¶
func (m *ModelLists) ViewMenu() string
Click to show internal directories.
Click to hide internal directories.