You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @hye, thanks for the issue! Sorry about the late response – been really busy with school lately.
I want to spend some time thinking about how (and if) a plugin system would integrate with fsql, but I think it's a great idea! It'd be a great way to continue expanding fsql without having to force features upon people. Not to mention, it'd probably make it easier for people to add custom functionality as well.
I'll see if I can come up with something concise/clean/simple, please do let me know if you have any ideas!
Hey guys, I just stumbled upon fsql and am enjoying using it so far. Wanted to suggest that instead of a plugin API you should just add an exec() attribute modifier so that we can just write scripts in bash/python/etc to use as plugins. For example, git,exif, and tag are already command line tools so it would be really easy to integrate them with exec(). There's also the possibility of using the output of exec() so that you can e.g. perform HTTP requests or read file contents:
SELECT name FROM . WHERE"tomatoes"IN (SELECT exec("cat", name) FROM .)
This would be the easiest way to greatly increase the usefulness of fsql IMO.
I'd be happy to review/work with someone on a patch that implements this. I do worry that this is perhaps too powerful and people (me) are going to start cat-ting their whole home directory without realizing it, but I think it could be a fun feature to have, so why not!
Super cool tool you made , thanks @kshvmdn
I would like to see some plugins, (how to extend the
fsql
)for example
git
: can find uncommit / unstage files ref: https://github.com/src-d/go-git https://github.com/cloudson/gitqltag
: can find with macOS file/folder with tagexif
: can find photos with exif queryThe text was updated successfully, but these errors were encountered: