terraphim-cli 1.0.0

CLI tool for semantic knowledge graph search with JSON output for automation
[package]
name = "terraphim-cli"
version = "1.0.0"
edition = "2024"
authors = ["Terraphim Team"]
description = "CLI tool for semantic knowledge graph search with JSON output for automation"
repository = "https://github.com/terraphim/terraphim-ai"
license = "Apache-2.0"
keywords = ["search", "knowledge-graph", "semantic", "cli", "automation"]
categories = ["command-line-utilities", "text-processing"]

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

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

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

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

# Output formatting
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
colored = "2.1"

# Error handling
anyhow = "1.0"
log = "0.4"

[features]
default = []

[profile.release]
opt-level = "z"     # Optimize for size
lto = true          # Enable link-time optimization
codegen-units = 1   # Better optimization
strip = true        # Strip symbols for smaller binary