klaftertief / elm-search

elm-search - an API search engine for all published Elm packages
http://klaftertief.github.io/elm-search/
99 stars 11 forks source link

Command line/bash #8

Open hakonrossebo opened 7 years ago

hakonrossebo commented 7 years ago

This is a great search engine. Have you considered making this into a command line tool? I think it would be much more practical to have this tool available when I'm using elm-package install

Maybe just writing >elm-search search-term, list results with numbers, press correct number and run elm-package install with the selected package.

klaftertief commented 7 years ago

Yes, this is something on my list of things I would like to have. At the moment there is something undocumented in the server-playground branch, but this gives you only JSON search results over http. I'm more interested to provide a CLI for editor integrations, but something manual like you described could be a good starting point...

I can't promise any timeframe at the moment as I want to have some other (organisational and internal) parts settle a bit.

hakonrossebo commented 7 years ago

A CLI with editor integrations seems like a very useful tool. Always difficult having enough time :)

hakonrossebo commented 7 years ago

Not sure if have time to help out, but you could create some issues if you want help with specific features.

klaftertief commented 7 years ago

Not sure if have time to help out, but you could create some issues if you want help with specific features.

Yes, that's the plan.

thenikso commented 7 years ago

Just started checking out Elm and I am shocked that this tool is not on the front page of the official website!

Why "hoogle" like search for Elm like elm-search are not mainstream? I mean http://package.elm-lang.org/ is quite useless if you have no idea on which package might have the function you are looking for... I think.

Anyway I hope I'll be able to help on this particular issue in the future when I'll get fluent with Elm. For the moment 👍

andys8 commented 7 years ago

Have you thought about integration elm-console and integrating existing code for a proof of concept?

klaftertief commented 7 years ago

elm-console does not work with the current version of Elm. I will get back to implementing a CLI, but there is not timeline...