1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#![feature(const_trait_impl)]

//! `kv-rs` CLI Tools. [Author fengyang]
//!
//! ## Getting started
//!
//! ```doc
//! ❯ ./kvcli
//!
//! ██  ██  █        █
//! ██ ██   ██      ██
//! ███      ██    ██
//! ██ ██     ██  ██
//! ██  ██     ████  KV Storage CLI
//!
//! Welcome to kvcli.
//! Connecting to Client.
//!
//!
//! kvcli > SET order_key xxx
//! OK ~
//!
//! kvcli > keys
//! order_key
//!
//! kvcli > ksize
//! 1
//!
//! kvcli > GET order_key
//! xxx
//!
//! kvcli > DEL order_key
//! OK ~
//!
//! kvcli > GET order_key
//! N/A ~
//! ```

pub mod progressbar;
pub mod emoji;
pub mod command;
pub mod trace;
pub mod rusty;
pub mod new;
pub mod ast;
pub mod show;
pub mod server;

use crate::progressbar::ProgressOutput;

/// The global progress bar and user-facing message output.
pub static PBAR: ProgressOutput = ProgressOutput::new();