cmd

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2025 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

store instance

Functions

func CreateCommitMsg

func CreateCommitMsg(Store *store.StoreMethods, dryRun bool, autoCommit 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.

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 StoreInit added in v1.3.35

func StoreInit(sm *store.StoreMethods)

Initailize store

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.

Directories

Path Synopsis
Package store persists user-selected LLM providers and credentials.
Package store persists user-selected LLM providers and credentials.

Jump to

Keyboard shortcuts

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