feat: share and init commands

This commit is contained in:
adamdottv
2025-06-16 15:58:46 -05:00
parent 13a83721b0
commit d6d45bdc63
8 changed files with 102 additions and 21 deletions

View File

@@ -24,6 +24,10 @@ func (cg *filesAndFoldersContextGroup) GetEntry() dialog.CompletionItemI {
})
}
func (cg *filesAndFoldersContextGroup) GetEmptyMessage() string {
return "no matching files"
}
func (cg *filesAndFoldersContextGroup) getFiles(query string) ([]string, error) {
response, err := cg.app.Client.PostFileSearchWithResponse(context.Background(), client.PostFileSearchJSONRequestBody{
Query: query,