Documentation
¶
Index ¶
- Variables
- func CleanupCache(Store *store.StoreMethods) error
- func ClearCache(Store *store.StoreMethods) error
- func CreateCommitMsg(Store *store.StoreMethods, dryRun bool, autoCommit bool, verbose bool)
- func Execute()
- func SetupLLM(Store *store.StoreMethods) error
- func ShowCacheStats(Store *store.StoreMethods) error
- func StoreInit(sm *store.StoreMethods)
- func UpdateLLM(Store *store.StoreMethods) error
Constants ¶
This section is empty.
Variables ¶
var Store *store.StoreMethods
store instance
Functions ¶
func CleanupCache ¶ added in v1.6.0
func CleanupCache(Store *store.StoreMethods) error
CleanupCache removes old cached messages.
func ClearCache ¶ added in v1.6.0
func ClearCache(Store *store.StoreMethods) error
ClearCache removes all cached messages.
func CreateCommitMsg ¶
func CreateCommitMsg(Store *store.StoreMethods, dryRun bool, autoCommit bool, verbose bool)
CreateCommitMsg launches the interactive flow for reviewing, regenerating, editing, and accepting AI-generated commit messages in the current repo. If dryRun is true, it displays the prompt without making an API call. If verbose is true, shows detailed diff statistics and processing info.
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func SetupLLM ¶
func SetupLLM(Store *store.StoreMethods) error
SetupLLM walks the user through selecting an LLM provider and storing the corresponding API key or endpoint configuration.
func ShowCacheStats ¶ added in v1.6.0
func ShowCacheStats(Store *store.StoreMethods) error
ShowCacheStats displays cache statistics.
func UpdateLLM ¶
func UpdateLLM(Store *store.StoreMethods) error
UpdateLLM lets the user switch defaults, rotate API keys, or delete stored LLM provider configurations.
Types ¶
This section is empty.