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

Implement search #13

Open
senden9 opened this Issue Jan 28, 2019 · 3 comments

Comments

Projects
None yet
2 participants
@senden9
Copy link
Contributor

senden9 commented Jan 28, 2019

Display the user hits for the search subcommand. For the printing we can use something like prettytable plus the AUR search api.

At the moment the user gets only a link that needs to be opend in some browser, go back to the terminal & type the install command. This is not the most ergonomic workflow.

@vn971 vn971 added the enhancement label Jan 29, 2019

@vn971

This comment has been minimized.

Copy link
Owner

vn971 commented Jan 29, 2019

I'd also like to note the existence of "aur" crate: https://github.com/rusty-crates/aur.rs ,which wraps the JSON API into Rust. I think using this crate is a good path for RUA to go, eventually.
// I've planned to do it, but just moved to a new city and new country recently, didn't have time to return to it properly yet.

That is definitely doable.

@senden9

This comment has been minimized.

Copy link
Contributor Author

senden9 commented Jan 29, 2019

Thank for the tip. I am just a Arch Linux user and rust programmer that want a good aur helper. So i will add pul lrequest from time to time if something bugs me.

@vn971

This comment has been minimized.

Copy link
Owner

vn971 commented Jan 29, 2019

@senden9 sure! This is exactly my approach, and my description as well so far.:)

// Well, plus namespace security isolation, but this part was first and it's finished now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.