setup

package
v0.62.1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Claude paths
	ClaudeDir      = ".claude"
	ClaudeSettings = "settings.json"
	ClaudeRules    = "rules"

	// Cursor paths
	CursorDir   = ".cursor"
	CursorRules = "rules"
)

Variables

This section is empty.

Functions

func CheckAider

func CheckAider()

CheckAider checks if Aider integration is installed

func CheckClaude

func CheckClaude()

CheckClaude checks if Claude integration is installed

func CheckCodex

func CheckCodex()

CheckCodex checks if Codex integration is installed.

func CheckCursor

func CheckCursor()

CheckCursor checks if Cursor integration is installed

func CheckFactory

func CheckFactory()

CheckFactory checks if Factory.ai integration is installed.

func CheckGemini

func CheckGemini()

CheckGemini checks if Gemini integration is installed

func CheckJunie

func CheckJunie()

CheckJunie checks if Junie integration is installed

func CheckMux

func CheckMux(project bool, global bool)

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 DirExists

func DirExists(path string) bool

DirExists checks if a directory exists

func EnsureDir

func EnsureDir(path string, perm os.FileMode) error

EnsureDir creates a directory if it doesn't exist

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 FileExists

func FileExists(path string) bool

FileExists checks if a file exists

func InstallAider

func InstallAider()

InstallAider installs Aider integration

func InstallClaude

func InstallClaude(project bool, stealth bool)

InstallClaude installs Claude Code hooks

func InstallCodex

func InstallCodex()

InstallCodex installs Codex integration.

func InstallCursor

func InstallCursor()

InstallCursor installs Cursor IDE integration

func InstallFactory

func InstallFactory()

InstallFactory installs Factory.ai/Droid integration.

func InstallGemini

func InstallGemini(project bool, stealth bool)

InstallGemini installs Gemini CLI hooks

func InstallJunie

func InstallJunie()

InstallJunie installs Junie integration

func InstallMux

func InstallMux(project bool, global bool)

InstallMux installs Mux integration. When project=true, it also installs .mux/AGENTS.md. When global=true, it also installs ~/.mux/AGENTS.md.

func InstallOpenCode

func InstallOpenCode()

InstallOpenCode installs OpenCode integration.

func RemoveAider

func RemoveAider()

RemoveAider removes Aider integration

func RemoveClaude

func RemoveClaude(project bool)

RemoveClaude removes Claude Code hooks

func RemoveCodex

func RemoveCodex()

RemoveCodex removes Codex integration.

func RemoveCursor

func RemoveCursor()

RemoveCursor removes Cursor integration

func RemoveFactory

func RemoveFactory()

RemoveFactory removes Factory.ai integration.

func RemoveGemini

func RemoveGemini(project bool)

RemoveGemini removes Gemini CLI hooks

func RemoveJunie

func RemoveJunie()

RemoveJunie removes Junie integration

func RemoveMux

func RemoveMux(project bool, global bool)

RemoveMux removes Mux integration. When project=true, it also removes section from .mux/AGENTS.md. When global=true, it also removes section from ~/.mux/AGENTS.md.

func RemoveOpenCode

func RemoveOpenCode()

RemoveOpenCode removes OpenCode integration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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