bot

package
v0.0.0-...-1140a65 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitCli

func InitCli()

InitCli for command: the-gpl bot -project=gcp-project -lang=en-US -chat=true

  eg: the-gpl bot -project=gcp-project # does a predefined conversation with DF agent
		   the-gpl bot -project=gcp-project -lang=en-US # chats predefined conversation with DF agent in en-US
			 the-gpl bot -project=gcp-project -lang=en-US -chat=true # Chats with bot from stdin

Types

type CLI

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

CLI wrapper for *flag.FlagSet

func (CLI) DisplayHelp

func (b CLI) DisplayHelp()

DisplayHelp prints help on command line for the bot module

func (CLI) ExecCmd

func (b CLI) ExecCmd(args []string)

ExecCmd run bot command initiated from CLI

Jump to

Keyboard shortcuts

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