Documentation
¶
Overview ¶
Package picker provides interactive terminal prompts (selection, yes/no confirmation) shared by wt commands that fall back to a picker when the user doesn't name a worktree explicitly.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SelectWorktree ¶
SelectWorktree prompts the user to choose one of entries, showing each one's branch as the label — with a "(main)" marker for the entry whose path is mainDir, so callers that include the main checkout among entries can still tell it apart. Returns an error if entries is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.