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

Search hoogle server via CLI #415

Open
walseb opened this issue Oct 7, 2023 · 1 comment
Open

Search hoogle server via CLI #415

walseb opened this issue Oct 7, 2023 · 1 comment

Comments

@walseb
Copy link

walseb commented Oct 7, 2023

Hello!

I have a Hoogle server that's running remotely.

I can connect to it over the browser, but I would prefer to interact with it through a CLI interface.

I can't find any information in the --help documentation for the hoogle command on how to search using remote servers.

I'd like to be able to do something like hoogle "a -> b" SERVER-ADDRESS:8080 to search for a -> b on the remote server SERVER-ADDRESS:8080.

Does anyone know if this is possible?

Thanks!

@ndmitchell
Copy link
Owner

This isn't currently supported. There is a format=json arg to the server, and it would be possible to build a CLI client on top of that, but no one has done so yet. Patch welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants