Add miroir-ctl management CLI with: - clap root CLI with admin-key loading (env → credentials file → flag) - All 15 subcommand stubs from plan §4 - Unit tests for credential loader priority order - Clear "not yet implemented" messages pointing to tracking bead Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
24 lines
591 B
TOML
24 lines
591 B
TOML
[package]
|
|
name = "miroir-ctl"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
|
|
[[bin]]
|
|
name = "miroir-ctl"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
clap = { version = "4.5", features = ["derive"] }
|
|
reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
tokio = { version = "1.42", features = ["full"] }
|
|
miroir-core = { path = "../miroir-core" }
|
|
dirs = "5.0"
|
|
toml = "0.8"
|
|
|
|
[dev-dependencies]
|
|
pretty_assertions = "1"
|
|
tempfile = "3.14"
|