Add auth resource with styled CLI output

This commit is contained in:
Gregory Schier
2026-02-22 07:48:08 -08:00
parent f5727b28c4
commit 9851ca6727
7 changed files with 608 additions and 1 deletions
Generated
+49
View File
@@ -1057,6 +1057,19 @@ dependencies = [
"crossbeam-utils",
]
[[package]]
name = "console"
version = "0.15.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "054ccb5b10f9f2cbf51eb355ca1d05c2d279ce1804688d0db74b4733a5aeafd8"
dependencies = [
"encode_unicode",
"libc",
"once_cell",
"unicode-width",
"windows-sys 0.59.0",
]
[[package]]
name = "const-random"
version = "0.1.18"
@@ -1569,6 +1582,12 @@ version = "1.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4ef6b89e5b37196644d8796de5268852ff179b44e96276cf4290264843743bb7"
[[package]]
name = "encode_unicode"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0"
[[package]]
name = "encoding_rs"
version = "0.8.35"
@@ -7146,6 +7165,12 @@ version = "1.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493"
[[package]]
name = "unicode-width"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254"
[[package]]
name = "universal-hash"
version = "0.5.1"
@@ -7510,6 +7535,22 @@ dependencies = [
"wasm-bindgen",
]
[[package]]
name = "webbrowser"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3f00bb839c1cf1e3036066614cbdcd035ecf215206691ea646aa3c60a24f68f2"
dependencies = [
"core-foundation 0.10.1",
"jni",
"log 0.4.29",
"ndk-context",
"objc2 0.6.1",
"objc2-foundation 0.3.1",
"url",
"web-sys",
]
[[package]]
name = "webkit2gtk"
version = "2.0.1"
@@ -8353,17 +8394,25 @@ name = "yaak-cli"
version = "0.1.0"
dependencies = [
"assert_cmd",
"base64 0.22.1",
"clap",
"console",
"dirs",
"env_logger",
"futures",
"hex",
"keyring",
"log 0.4.29",
"predicates",
"rand 0.8.5",
"reqwest",
"schemars",
"serde",
"serde_json",
"sha2",
"tempfile",
"tokio",
"webbrowser",
"yaak",
"yaak-crypto",
"yaak-http",