Commit Graph

10 Commits

Author SHA1 Message Date
Ting Sun
b1e365b62f Add doc about Ping cmd to README, change the internal data type of Ping cmd to Bytes, and rm unnecessary reference (#118) 2023-03-28 16:53:33 +02:00
Ting Sun
aab4e39d97 rm unnecessary method call 2023-03-23 09:18:25 -07:00
Kim Chan
c1c3bcb465 implement client ping (#108) 2022-08-25 11:10:32 +02:00
Paul Lange
069a8e5ee0 Replace structopt with clap (#98)
* Replace `structopt` with `clap`

* Change `port` options from `String` to `u16`

* Shorten clap options config

`name` and `long` use the filed name by default.
2022-07-19 09:34:12 -07:00
Liang Zheng
ca1b5b16bd add pub/sub cli (#91)
Signed-off-by: Liang Zheng <zhengliang0901@gmail.com>
2022-01-30 10:41:18 +01:00
Carl Lerche
77df32d15e Track Tokio v0.3 changes (#67) 2020-10-22 20:18:54 -07:00
Carl Lerche
fdba12b964 use structopt instead of Clap (#41)
mini-redis uses the CLI derive pattern. Clap does not yet have a release
supporting this pattern. Using structopt allows mini-redis to avoid git
dependencies.
2020-05-12 16:48:16 -07:00
Carl Lerche
81888e36b5 fmt (#34) 2020-04-15 09:47:28 -07:00
Carl Lerche
ecf1eb4ea8 More comments and tweak details (#33)
Co-authored-by: Alice Ryhl <alice@ryhl.io>
2020-04-15 09:44:12 -07:00
Carl Lerche
bbb80c341e apply client/cli polish (#15)
Continuation of #11. Refines the client structure and implements GET.

`clap` is decoupled from the lib code. This is done to avoid any CLI
parsing concerns to leak into the lib. The main motivation for this is
to allow the reader to focus on Tokio concerns and not CLI parsing
concerns.
2020-04-01 16:09:41 -07:00