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

Add options for interop with external tools #5

Open
efskap opened this issue May 22, 2019 · 0 comments
Open

Add options for interop with external tools #5

efskap opened this issue May 22, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@efskap
Copy link
Owner

efskap commented May 22, 2019

@sehnsucht13 proposed an interesting idea to me the other day:

To make sefr usable by external tools such as editors, have a command line switch that takes a partial search term, outputs a list of suggestions, then exits. Then, the external tool would choose one of the suggestions and feed it back through a different switch, which would cause sefr to perform the search non-interactively.

The only thing to decide is how prefixes and their escaping is handled. Does the former switch output suggestions with the prefix? And in either case, are they escaped? (For example, in the demo gif, selecting a suggestion starting with wkt escapes it with a question mark, turning it into ?wkt to geojson, as wkt is already registered as a search engine prefix.

@efskap efskap added the enhancement New feature or request label May 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant