cmds

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CoverUp

func CoverUp(pass string) string

func CreateCommandItems

func CreateCommandItems() []list.Item

func ExecuteCommand

func ExecuteCommand(command, input string) tea.Cmd

func GetHundCommandInfo

func GetHundCommandInfo(cmd string) string

func GetMulCommandInfo

func GetMulCommandInfo(cmds string) string

func GetSingleCommandInfo

func GetSingleCommandInfo(cmd string) string

func GetTenKCommandInfo

func GetTenKCommandInfo(cmd string) string

func HandleCommand

func HandleCommand(input, userInput string) string

func IsCommandInputMode added in v1.1.0

func IsCommandInputMode(commandName string) bool

func IsConfigCommand added in v1.1.0

func IsConfigCommand(command string) bool

func IsHashCommand added in v1.1.0

func IsHashCommand(command string) bool

Types

type CommandFinishedMsg

type CommandFinishedMsg struct {
	// contains filtered or unexported fields
}

func (CommandFinishedMsg) Result

func (i CommandFinishedMsg) Result() string

type CommandItem

type CommandItem struct {
	Subcmd []CommandItem
	// contains filtered or unexported fields
}

func (CommandItem) Description

func (i CommandItem) Description() string

func (CommandItem) FilterValue

func (i CommandItem) FilterValue() string

func (CommandItem) Title

func (i CommandItem) Title() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL