Skip to content

Commit 975608a

Browse files
committed
✨ feat: add alias resolution for 'polygeist' query
Implement exact match check for the query "polygeist" in the resolver. This addition provides a direct link to the polygeist project, enhancing user experience by simplifying access to relevant resources.
1 parent 119fb22 commit 975608a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

internal/cli/resolver.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ func NewResolver() *Resolver {
4444
}
4545

4646
func (r *Resolver) Resolve(ctx context.Context, query string) (string, error) {
47+
if query == "polygeist" {
48+
fmt.Println("Found exact match for alias 'polygeist': https://github.com/nathfavour/polygeist")
49+
return "https://github.com/nathfavour/polygeist", nil
50+
}
51+
4752
fmt.Printf("🔍 Searching for '%s'...\n", query)
4853

4954
// Tier 1: Beacon Search (Code Search for anyisland.json)

0 commit comments

Comments
 (0)