Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindGitDir ¶
FindGitDir returns the path to the .git directory for the current repository. If not in a git repository, returns an error.
func GetScriptPath ¶
GetScriptPath returns the absolute path to the scripts directory
func InstallPostCommitHook ¶
InstallPostCommitHook installs the post-commit hook script in the specified hooks directory. The hook will call 'noidea moai' after each commit to show feedback about the commit message.
func InstallPrepareCommitMsgHook ¶
InstallPrepareCommitMsgHook installs the prepare-commit-msg hook for commit message suggestions. This hook runs before Git creates a commit and offers AI-generated commit message suggestions based on the staged changes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.