Skip to content

Best way to integrate xplr into another project #210

Answered by sayanarijit
orhun asked this question in Q&A
Discussion options

You must be logged in to vote

I'd first go with the command option and see if there's any limitation. I haven't checked but cargo should have an option for adding external crate bin as dependency. If not, another option would be to add a simple plugin interface that can auto install binaries, and can be reused to support other non-rust binaries too. For e.g. fzf.

If you prefer tooling to be tightly integrated, xplr can be used as a library but I would like to add some final polish to the API first. You then can't use fzf and have to go with options like skim which also provides a library API, which you can use right away. So if you want to go this path, try integrating skim and let me know. I'll then polish the xplr l…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@sayanarijit
Comment options

@sayanarijit
Comment options

@orhun
Comment options

orhun Jun 2, 2021
Author Sponsor

Answer selected by orhun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants