Documentation
¶
Overview ¶
Package plan provides plan file selection and manipulation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoPlansFound = errors.New("no plans found")
ErrNoPlansFound is returned when no plan files exist in the plans directory.
Functions ¶
func ExtractBranchName ¶
ExtractBranchName derives a branch name from a plan file path. removes the .md extension and strips any leading date prefix (e.g., "2024-01-15-").
Types ¶
type Selector ¶
Selector handles plan file selection and resolution.
func NewSelector ¶
NewSelector creates a new Selector with the given plans directory and colors.
func (*Selector) FindRecent ¶
FindRecent finds the most recently modified plan file in the plans directory that was modified after the given start time.
Click to show internal directories.
Click to hide internal directories.