1
0
mirror of https://github.com/Rudi9719/kbtui.git synced 2026-06-04 13:37:12 +00:00
Files
kbtui/types.go
2019-10-02 23:00:58 -04:00

10 lines
398 B
Go

package main
// Command outlines a command
type Command struct {
Cmd []string // Any aliases that trigger this command
Description string // A short description of the command
Help string // The full help text explaining how to use the command
Exec func([]string) // A function that takes the command (arg[0]) and any arguments (arg[1:]) as input
}