helpers

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BackendPrompt = &survey.Select{
	Message: "Select Backend",
	Options: []string{
		"openai",
		"ollama",
		"gemini",
	},
}
View Source
var GeminiKeyPrompt = &survey.Input{
	Message: "Enter gemini api key: ",
}
View Source
var GeminiModelPrompt = &survey.Input{
	Message: "Enter model name for gemini (default gemini-2.5-flash): ",
	Default: "gemini-2.5-flash",
}

Functions

func CommitPrompt

func CommitPrompt(commitmessage string) *survey.Confirm

func FilePath

func FilePath() string

func GetGitDiff

func GetGitDiff() (string, error)

func GitDiffPrompt

func GitDiffPrompt(diff string) string

func InitConfig

func InitConfig()

func PrintList

func PrintList()

Types

This section is empty.

Jump to

Keyboard shortcuts

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