mirror of
https://github.com/marcoallegretti/karapace.git
synced 2026-03-26 21:43:09 +00:00
- 23 commands, each in its own module under commands/ - Thin main.rs dispatcher with clap subcommand routing - Progress spinners (indicatif) and colored state output (console) - Environment resolution by env_id, short_id, name, or prefix - Structured JSON output (--json) on all query commands - --verbose/-v for debug, --trace for trace-level logging - KARAPACE_LOG env var for fine-grained log control - Exit codes: 0 success, 1 failure, 2 manifest error, 3 store error - Prerequisite check before runtime operations - Shell completions (bash/zsh/fish/elvish/powershell) and man page generation
37 lines
959 B
TOML
37 lines
959 B
TOML
[package]
|
|
name = "karapace-cli"
|
|
description = "CLI interface for Karapace deterministic environment engine"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[[bin]]
|
|
name = "karapace"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
clap.workspace = true
|
|
clap_complete.workspace = true
|
|
clap_mangen.workspace = true
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
tempfile.workspace = true
|
|
indicatif.workspace = true
|
|
console.workspace = true
|
|
libc.workspace = true
|
|
karapace-schema = { path = "../karapace-schema" }
|
|
karapace-core = { path = "../karapace-core" }
|
|
karapace-store = { path = "../karapace-store" }
|
|
karapace-runtime = { path = "../karapace-runtime" }
|
|
karapace-tui = { path = "../karapace-tui" }
|
|
karapace-remote = { path = "../karapace-remote" }
|
|
|
|
[dev-dependencies]
|
|
tempfile.workspace = true
|
|
serde_json.workspace = true
|