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

interactive mode? #150

Open
sodiumjoe opened this issue Jan 13, 2017 · 2 comments
Open

interactive mode? #150

sodiumjoe opened this issue Jan 13, 2017 · 2 comments

Comments

@sodiumjoe
Copy link

sodiumjoe commented Jan 13, 2017

I made a way worse version of this in pure javascript. tbh it's kind of terrible, but i still use it for the interactive mode with autocompletion, which is buggy, but is still a really nice way to interact with data. I would love to switch to rq, but would really miss interactive mode.

It's not a trivial feature request by any means, but if you play with lobar a little bit, you might see the value of adding it.

@dflemstr
Copy link
Owner

Hm, it's really tricky to build a nice interactive program. I use a lot of shell features when entering bash commands such as history search, interpolating environment variables, using the built in selection and copy paste (try Ctrl-Space in bash and move your arrow keys!). The readline library gives you some of that but not everything.

An alternative would maybe be to offer bash completion (for rq queries), it would give the same effect perhaps?

@sodiumjoe
Copy link
Author

completion would definitely be nice, but the experience of being able to see the live output of your query is hard to describe

I do recognize that this would balloon the scope of this project significantly, so I would understand if you decide not to, but wanted to at least make the suggestion.

I'm not familiar with the project organization, but if rq functionality was available as a library, I might try to work on an interactive program that does this at some point (after i've learned a lot more rust)

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

No branches or pull requests

2 participants