Documentation
¶
Index ¶
- Constants
- func CheckAider()
- func CheckClaude()
- func CheckCodex()
- func CheckCursor()
- func CheckFactory()
- func CheckGemini()
- func CheckJunie()
- func CheckMux(project bool, global bool)
- func CheckOpenCode()
- func DirExists(path string) bool
- func EnsureDir(path string, perm os.FileMode) error
- func FatalError(format string, args ...interface{})
- func FatalErrorWithHint(message, hint string)
- func FileExists(path string) bool
- func InstallAider()
- func InstallClaude(project bool, stealth bool)
- func InstallCodex()
- func InstallCursor()
- func InstallFactory()
- func InstallGemini(project bool, stealth bool)
- func InstallJunie()
- func InstallMux(project bool, global bool)
- func InstallOpenCode()
- func RemoveAider()
- func RemoveClaude(project bool)
- func RemoveCodex()
- func RemoveCursor()
- func RemoveFactory()
- func RemoveGemini(project bool)
- func RemoveJunie()
- func RemoveMux(project bool, global bool)
- func RemoveOpenCode()
Constants ¶
const ( // Claude paths ClaudeDir = ".claude" ClaudeSettings = "settings.json" ClaudeRules = "rules" // Cursor paths CursorDir = ".cursor" CursorRules = "rules" )
Variables ¶
This section is empty.
Functions ¶
func CheckMux ¶
CheckMux checks if Mux integration is installed. When project=true, it also verifies .mux/AGENTS.md. When global=true, it also verifies ~/.mux/AGENTS.md.
func CheckOpenCode ¶
func CheckOpenCode()
CheckOpenCode checks if OpenCode integration is installed.
func FatalError ¶
func FatalError(format string, args ...interface{})
FatalError writes an error message to stderr and exits with code 1. This mirrors the main package's FatalError but uses the testable setupExit.
func FatalErrorWithHint ¶
func FatalErrorWithHint(message, hint string)
FatalErrorWithHint writes an error message with a hint to stderr and exits. This mirrors the main package's FatalErrorWithHint but uses the testable setupExit.
func InstallClaude ¶
InstallClaude installs Claude Code hooks
func InstallGemini ¶
InstallGemini installs Gemini CLI hooks
func InstallMux ¶
InstallMux installs Mux integration. When project=true, it also installs .mux/AGENTS.md. When global=true, it also installs ~/.mux/AGENTS.md.
Types ¶
This section is empty.