Documentation
¶
Overview ¶
Package commands provides utility helpers for workspace-related shell commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LinkTopSymlinks ¶
func LinkTopSymlinks(ctx context.Context, mainPath, worktreePath string, statusFunc func(context.Context, string) string) error
LinkTopSymlinks creates symlinks for untracked/ignored files and editor configs from main to target worktree. This is a built-in automation command that: - Symlinks all untracked and ignored files from the root of the main worktree (excluding subdirectories) - Symlinks common editor configurations (.vscode, .idea, .cursor, .claude) - Ensures a tmp/ directory exists in the new worktree - Automatically runs direnv allow if a .envrc file is present statusFunc is used to get git status for detecting untracked/ignored files.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.