Better command line parsing, version, usage

Also tests for same
This commit is contained in:
John Doty 2023-01-24 09:13:53 -08:00
parent 52fe5523b2
commit fc144162b9
3 changed files with 132 additions and 11 deletions

7
Cargo.lock generated
View file

@ -256,6 +256,7 @@ dependencies = [
"bytes",
"crossterm",
"home",
"indoc",
"log",
"open",
"procfs",
@ -328,6 +329,12 @@ dependencies = [
"cxx-build",
]
[[package]]
name = "indoc"
version = "1.0.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da2d6f23ffea9d7e76c53eee25dfb67bcd8fde7f1198b0855350698c9f07c780"
[[package]]
name = "io-lifetimes"
version = "1.0.3"