terraphim-cli 1.20.3

CLI tool for semantic knowledge graph search with JSON output for automation
[package]
name = "terraphim-cli"
version.workspace = true
edition.workspace = true
authors = ["Terraphim Team <team@terraphim.ai>"]
description = "CLI tool for semantic knowledge graph search with JSON output for automation"
documentation = "https://terraphim.ai"
homepage = "https://terraphim.ai"
repository = "https://github.com/terraphim/terraphim-ai"
license = "Apache-2.0"
keywords = ["search", "knowledge-graph", "semantic", "cli", "automation"]
categories = ["command-line-utilities", "text-processing"]
readme = "../../README.md"

[[bin]]
name = "terraphim-cli"
path = "src/main.rs"

[dependencies]
# Core terraphim crates
terraphim_service = { version = "1.0.0" }
terraphim_config = { version = "1.0.0" }
terraphim_command_runtime = { path = "../terraphim_command_runtime", version = "0.1.0" }
terraphim_types = { version = "1.0.0" }
terraphim_automata = { version = "1.19.2" }
terraphim_rolegraph = { version = "1.0.0" }
terraphim_settings = { version = "1.0.0" }
terraphim_persistence = { version = "1.0.0" }
terraphim_update = { path = "../terraphim_update", version = "1.0.0" }
terraphim_hooks = { path = "../terraphim_hooks", version = "1.0.0" }

# Usage tracking (feature-gated)
terraphim_usage = { version = "1.20.3",  optional = true, features = ["cli", "providers"] }

# CLI framework
clap = { version = "4.5", features = ["derive", "cargo", "env"] }
clap_complete = "4.5"

# Async runtime
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }

# Output formatting
serde = { workspace = true }
serde_json = { workspace = true }

# Error handling
anyhow = { workspace = true }
log = { workspace = true }

[features]
default = ["usage"]
usage = ["dep:terraphim_usage"]

[dev-dependencies]
tokio = { workspace = true, features = ["rt-multi-thread", "macros", "test-util"] }
serial_test = "3.3"
tempfile = { workspace = true }

assert_cmd = "2.1"
predicates = "3.1"

# Profile configuration moved to workspace Cargo.toml for consistency