salvo-rs / salvo-cli

Apache License 2.0
43 stars 8 forks source link

Plans to improving salvo-cli #23

Open fankaiLiu opened 8 months ago

fankaiLiu commented 8 months ago

source of inspiration Improvements to the program will be outlined below

prabirshrestha commented 5 months ago

Probably worth trying out omniqueue-rs for queues. As of now it supports redis, gcp, in memory, rabbitmq and sqs. I just filed a feature request to support other database backends. https://github.com/svix/omniqueue-rs/issues/62.

fankaiLiu commented 5 months ago

Probably worth trying out omniqueue-rs for queues. As of now it supports redis, gcp, in memory, rabbitmq and sqs. I just filed a feature request to support other database backends. svix/omniqueue-rs#62.

Thanks for the advice, I will try

prabirshrestha commented 5 months ago

I have started working on repo and experiment with how we can improve salvo-cli. I have tried to make the api minimal as possible. Feel free to have a look at https://github.com/prabirshrestha/salvo-template.

cargo install cargo-generate
cargo generate prabirshrestha/salvo-template

Right now beside the README.md it doesn't do any templating as I'm focusing on getting it working. Seems like cargo generate can also be used as a library so might be salvo cli and reuse it?

fankaiLiu commented 5 months ago

I have started working on repo and experiment with how we can improve salvo-cli. I have tried to make the api minimal as possible. Feel free to have a look at https://github.com/prabirshrestha/salvo-template.

cargo install cargo-generate
cargo generate prabirshrestha/salvo-template

Right now beside the README.md it doesn't do any templating as I'm focusing on getting it working. Seems like cargo generate can also be used as a library so might be salvo cli and reuse it?

Thanks for your suggestion, using cargo-generate is a great practice, but it seems that you need to get the code online when you use it, but in China, many users many users can't access github directly, so downloading the code online will be a problem, I don't see any way to solve it for the moment.That's why I previously opted for an offline approach to cli.Do you have any good advice?