[package]
name = "syntaxis-cli"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
description = "CLI tool for syntaxis management"

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

[package.metadata.syntaxis]
use_wrapper = true
install_mode = "cargo|bin"
config_src = "configs/cli"

[dependencies]
syntaxis-core = { path = "../syntaxis" }
tools-shared = { path = "../../../shared/rust", features = ["interactive"] }

# CLI
clap = { workspace = true }
clap_complete = { workspace = true }

# Colors and formatting
colored = { workspace = true }
prettytable-rs = { workspace = true }

# Interactive prompts with arrow key support
inquire = { workspace = true }

# Async
tokio = { workspace = true }

# Logging
tracing = { workspace = true }
tracing-subscriber = { workspace = true }

# Other utilities
anyhow = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
toml = { workspace = true }
chrono = { workspace = true }
uuid = { workspace = true }

# HTTP client for API communication
reqwest = { workspace = true }

[dev-dependencies]
assert_cmd = { workspace = true }
predicates = { workspace = true }
tempfile = { workspace = true }
