feat: use env var for args (#170)

closed #160
This commit is contained in:
MuXiu1997
2023-02-19 11:40:14 +08:00
committed by GitHub
parent b6d555158c
commit fea9bf988a
3 changed files with 45 additions and 23 deletions

View File

@@ -11,7 +11,7 @@ categories = ["command-line-utilities", "web-programming::http-server"]
keywords = ["static", "file", "server", "webdav", "cli"]
[dependencies]
clap = { version = "4", features = ["wrap_help"] }
clap = { version = "4", features = ["wrap_help", "env"] }
clap_complete = "4"
chrono = "0.4"
tokio = { version = "1", features = ["rt-multi-thread", "macros", "fs", "io-util", "signal"]}