Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandService ¶
type CommandService struct {
// contains filtered or unexported fields
}
func NewCommandService ¶
func NewCommandService(c Command, o openai.OpenaiApi) *CommandService
func (*CommandService) Execute ¶
func (cs *CommandService) Execute()
type InteractiveCommand ¶
type InteractiveCommand struct {
// contains filtered or unexported fields
}
func NewInteractiveCommand ¶
func NewInteractiveCommand(scanner *bufio.Scanner) *InteractiveCommand
func (*InteractiveCommand) Run ¶
func (c *InteractiveCommand) Run(openai openai.OpenaiApi)
type SimpleCommand ¶
type SimpleCommand struct {
// contains filtered or unexported fields
}
func NewSimpleCommand ¶
func NewSimpleCommand(query *string) *SimpleCommand
func (*SimpleCommand) Run ¶
func (p *SimpleCommand) Run(openai openai.OpenaiApi)
Click to show internal directories.
Click to hide internal directories.