From a1c60b95e831de65339151f47b4bae6fd43bce41 Mon Sep 17 00:00:00 2001 From: Keuin Date: Wed, 30 Mar 2022 22:28:17 +0800 Subject: Support command-line parameters. - `--help`: print help menu. - `--config`: specify which config file to use. - `--version`: print version and exit. --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 1d54179..561c288 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,4 +18,5 @@ urandom = "0.1.0" bs58 = "0.4.0" tracing = "0.1.32" tracing-subscriber = "0.3.9" -tracing-appender = "0.2.2" \ No newline at end of file +tracing-appender = "0.2.2" +clap = { version = "3.1.6", features = ["derive"] } \ No newline at end of file -- cgit v1.2.3