feat: karapace-cli — 23 commands, thin dispatcher, progress indicators
- 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
2026-02-22 17:37:54 +00:00
|
|
|
[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
|
2026-02-23 11:15:39 +00:00
|
|
|
toml.workspace = true
|
feat: karapace-cli — 23 commands, thin dispatcher, progress indicators
- 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
2026-02-22 17:37:54 +00:00
|
|
|
tempfile.workspace = true
|
|
|
|
|
indicatif.workspace = true
|
|
|
|
|
console.workspace = true
|
2026-02-23 11:15:39 +00:00
|
|
|
dialoguer = "0.11"
|
feat: karapace-cli — 23 commands, thin dispatcher, progress indicators
- 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
2026-02-22 17:37:54 +00:00
|
|
|
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
|