Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Languages = map[string]string{
"ar": "Arabic",
"cn": "Chinese",
"de": "German",
"en": "English",
"fr": "French",
"hi": "Hindi",
"ja": "Japanese",
"jp": "Japanese",
"pt": "Portuguese",
"ru": "Russian",
"spa": "Spanish",
"es": "Spanish",
"zh-hant": "Traditional Chinese",
"zh-tw": "Traditional Chinese",
"zh": "Chinese",
}
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 Summary ¶ added in v0.2.1
type Summary struct {
// contains filtered or unexported fields
}
func (*Summary) IsFinished ¶ added in v0.2.1
func (*Summary) IsFinished() bool
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
Source Files
¶
Click to show internal directories.
Click to hide internal directories.