Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckFZFInstalled ¶
func CheckFZFInstalled() error
CheckFZFInstalled verifies that fzf is available in PATH.
func CompileCELFilter ¶ added in v0.2.0
CompileCELFilter compiles a CEL filter expression into a program.
func EvaluateFilter ¶ added in v0.2.0
EvaluateFilter evaluates a compiled CEL program against a variable map.
func GetCurrentUser ¶ added in v0.2.0
GetCurrentUser returns the current GitHub username using gh CLI.
Types ¶
type Action ¶
type Action string
Action represents an action to perform on a selected item.
func RunActionMenu ¶
RunActionMenu shows a menu of actions for the selected item.
type Filters ¶
type Filters struct {
Repo string // "owner/repo" format, empty = all repos
Issues bool
PRs bool
Discussions bool
}
Filters specifies which items to include in search results.
type Item ¶
type Item struct {
FilePath string
Owner string
Repo string
Number int
Type string // "issue", "pr", "discussion"
State string // "open", "closed", "merged"
Title string
URL string
Created time.Time
Updated time.Time
}
Item represents a searchable item from local files.
func DiscoverItems ¶ added in v0.2.0
DiscoverItems discovers all items matching the CEL filter. If repo is empty, searches all repos. If repo is "owner/repo", only searches that repo.
func DiscoverLocalFiles ¶
DiscoverLocalFiles walks the gh-md root directory and returns all matching items.