Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RunCmd = &cobra.Command{ Use: "go-chatgpt-twitter-bot <handle>", Short: "Twitter bot backed by ChatGPT", Long: `Twitter bot backed by ChatGPT.`, Run: func(cmd *cobra.Command, args []string) { err := performCommand(cmd, args) if err != nil { bail(err) } }, }
SearchCmd is the main command for Cobra.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Completion string `json:"completion"` DisplayVersion bool `json:"-"` Verbose bool `json:"verbose,string"` Handle string `json:"handle"` UserID string `json:"userid"` DryRun bool `json:"dryrun"` CharacterBackground string `json:"character_background"` Bot bool `json:"bot"` Prompt string `json:"Prompt"` }
Config stores all the application configuration.
Click to show internal directories.
Click to hide internal directories.