feat(cli): add craftlabs-auth-cli with status/activate/check/info/release commands

This commit is contained in:
2026-05-25 15:16:39 +08:00
parent 027ecbd375
commit 4b79533c70
6 changed files with 333 additions and 2 deletions
+15
View File
@@ -0,0 +1,15 @@
[package]
name = "craftlabs-auth-cli"
version = "1.0.0"
edition = "2021"
description = "CraftLabs 授权客户端 CLI — 设备授权/查看/撤销/迁移"
[[bin]]
name = "craft"
path = "src/main.rs"
[dependencies]
craft-core = { path = "../craft-core" }
clap = { version = "4", features = ["derive"] }
serde_json = "1"
chrono = "0.4"