Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Code ¶
type Code struct {
// contains filtered or unexported fields
}
func (*Code) IsFinished ¶
func (*Code) IsFinished() bool
type Command ¶
type Command interface {
Name() string
Help() string
Init(string) string // initialize command by input
Prompts(string) []string // return optional ChatGPT prompts
Handle(string) // handle reply
IsFinished() bool // multiple commands mode
Finish() // multiple commands mode, clean up
Prompt(string) string // set custom terminal prompt
}
type Help ¶
type Help struct {
// contains filtered or unexported fields
}
func (*Help) IsFinished ¶
func (*Help) IsFinished() bool
type Shell ¶
type Shell struct {
// contains filtered or unexported fields
}
func (*Shell) IsFinished ¶
func (*Shell) IsFinished() bool
type Ssh ¶
type Ssh struct {
// contains filtered or unexported fields
}
func (*Ssh) IsFinished ¶
type TLDR ¶
type TLDR struct {
// contains filtered or unexported fields
}
func (*TLDR) IsFinished ¶
func (*TLDR) IsFinished() bool
type Trans ¶
type Trans struct {
// contains filtered or unexported fields
}
func (*Trans) IsFinished ¶
func (*Trans) IsFinished() bool
Click to show internal directories.
Click to hide internal directories.