Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about CLI #1360

Closed
mrjones2014 opened this issue Oct 13, 2021 · 8 comments
Closed

Question about CLI #1360

mrjones2014 opened this issue Oct 13, 2021 · 8 comments

Comments

@mrjones2014
Copy link

I'm the author of a Neovim plugin for Dash.app called Dash.nvim, and I'm looking to add Linux support via Zeal.

The way my plugin currently works relies on Dash's Alfred integration workflow, so that I can send it a query and get back results on the command line (Dash formats them as XML, but JSON would be fine too, I'm using JSON internally).

Is there documentation somewhere on the CLI? And does it offer the ability to run queries and return a result list on the command line? Once an item is selected from within Neovim, it would open that item in Zeal's GUI.

@mohkale
Copy link

mohkale commented Mar 22, 2022

I second this. I'm looking to implement something like a frontend for emacs where I get a fzf like popup and can narrow down to an item in the docset to actually view. Downside is there doesn't seem to be any way to do this with zeal.

@mrjones2014
Copy link
Author

Seems the project is unmaintained :/

@mohkale
Copy link

mohkale commented Mar 22, 2022

Damn. That sucks. Guess I'll have to find a way to make devdocs interface with dash docsets.

@mosaleh52
Copy link

mosaleh52 commented Jun 16, 2022

https://gitlab.com/ivan-cukic/nvim-telescope-zeal-cli
https://github.com/KabbAmine/zeavim.vim
this could be helpful i was searching for solution and i found none
@mrjones2014 btw i wish dash was for lunix because of your plugin

@mrjones2014
Copy link
Author

@mosaleh52 there's a way to get the plugin to work on linux by searching the sqlite docsets directly (the docsets are just sqlite databases). However, it requires adding quite a bit of complexity, and I just haven't had the chance to investigate it further. Some discussion here: mrjones2014/dash.nvim#24

I also don't have a Linux machine (I use macOS). I'd love a well written PR implementing Linux support 😉

@mosaleh52
Copy link

@mrjones2014 I have not seen the discussion in your repo I will replay there to know how can I help

@trollixx
Copy link
Member

This is an old issue from, but I added a new page in the wiki which explains how plugins can interact with Zeal. It's pretty much a brief summary of the Dash documentation (also linked). Generally, all Dash IDE plugins should work with Zeal. If something doesn't, it's a bug.

@trollixx
Copy link
Member

Actually, I misread the original question. This is a duplicate of #400. Zeal doesn't support Alfred Workflow API or any other variation of returning search results to outside applications.

@trollixx trollixx closed this as not planned Won't fix, can't repro, duplicate, stale Sep 17, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

4 participants