[package]
name = "bel7-cli"
version = "0.12.0"
edition = "2024"
rust-version = "1.85"
description = "An opinionated set of CLI utilities: colored output, table formatting, adaptive tables, trivial to integrate shell completion"
license = "MIT OR Apache-2.0"
authors = ["Michael S. Klishin"]
repository = "https://github.com/michaelklishin/bel7-cli"
homepage = "https://github.com/michaelklishin/bel7-cli"
keywords = ["cli"]
categories = ["command-line-interface"]

[dependencies]
owo-colors = "4.3"

[dependencies.sysexits]
version = "0.11"
optional = true

[dependencies.tabled]
version = "0.20"
optional = true

[dependencies.clap]
version = "4.6"
optional = true

[dependencies.clap_complete]
version = "4.6"
optional = true

[dependencies.clap_complete_nushell]
version = "4.6"
optional = true

[dependencies.indicatif]
version = "0.18"
optional = true

[dependencies.terminal_size]
version = "0.4"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dev-dependencies]
thiserror = "2.0"
proptest = "1.11"

[features]
default = ["tables"]
tables = ["dep:tabled", "dep:terminal_size"]
clap = ["dep:clap"]
completions = ["clap", "dep:clap_complete", "dep:clap_complete_nushell"]
progress = ["dep:indicatif"]
serde = ["dep:serde"]
errors = ["dep:sysexits"]
full = ["tables", "clap", "completions", "progress", "serde", "errors"]
