src: main: Implement commandline arguments parsing
Use clap for argument parsing, read the config file path from the commandline and implement basic help and version options
This commit is contained in:
3 files changed
+142
-1
No files matched your search
@@ -13,6 +13,7 @@ tracing = "0.1"
|
||||
serde_yaml = "0.9"
|
||||
serde_json = "1.0"
|
||||
tracing-subscriber = "0.3.18"
|
||||
clap = { version = "4.6.7", features = ["derive"] }
|
||||
tokio = { version = "1.41", features = ["macros", "rt-multi-thread"] }
|
||||
matrix-sdk = { version = "0.8.0", default-features = false, features = [ "native-tls", "anyhow", "markdown" ] }
|
||||
rumqttc = "0.25"
|
||||
Reference in new issue
Block a user