diff options
author | Keuin <[email protected]> | 2022-03-30 22:28:17 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2022-03-30 22:28:17 +0800 |
commit | a1c60b95e831de65339151f47b4bae6fd43bce41 (patch) | |
tree | f4bb0bd6c073021e8e042a141bfb55a01559aafa /Cargo.toml | |
parent | 2183539b5917994bdee36fdb50357a5eb891453b (diff) |
Support command-line parameters.
- `--help`: print help menu.
- `--config`: specify which config file to use.
- `--version`: print version and exit.
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |