fix: 架构审查修复 — broadcast、目标校验、import_csv 警告、workspace 元数据统一

- HIGH: CLI 所有修改命令补 broadcast_env_change()
- HIGH: --system/--user 互斥校验,不再静默忽略
- MEDIUM: gui/Cargo.toml 删冗余 serde_json(log 保留,lib.rs 实际使用)
- MEDIUM: import_csv 对跳过行输出 log::warn
- MEDIUM: ProfilePathEntry 从 core 重导出
- LOW: Cargo workspace.package 统一元数据

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-28 23:52:31 +08:00
parent a553a16a64
commit 1320aa57a8
7 changed files with 43 additions and 31 deletions
+4 -8
View File
@@ -1,16 +1,12 @@
[package]
name = "patheditor-cli"
version = "5.0.0"
description = "PathEditor CLI — command-line interface for Windows PATH management"
authors = ["刘航宇"]
license = "MIT"
edition = "2021"
version.workspace = true
edition.workspace = true
license.workspace = true
authors.workspace = true
[dependencies]
path-editor-core = { path = "../core" }
clap = { version = "4", features = ["derive"] }
serde_json = "1"
[[bin]]
name = "patheditor"
path = "src/main.rs"