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:
mirsal committed 2026-09-16 10:21:37 +00:00
1 parent 682ca3d38b
commit 9d0490ec01
3 files changed
+142 -1

No files matched your search

+1
View File
@@ -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"