[package]
name = "mod-cli"
version = "0.3.8"
edition = "2021"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/jamesgober/mod-cli"
documentation = "https://docs.rs/mod-cli"
description = "A fully customizable, feature-rich CLI framework for Rust. Define commands, prefixes, styled output, and more—built for flexibility and speed."
keywords = [
"cli",
"framework",
"terminal",
"commands",
"modular",
]
categories = [
"command-line-interface",
"command-line-utilities",
"asynchronous",
"development-tools",
]
authors = [
"James Gober <contact@jamesgober.com>"
]
[lib]
name = "modcli"
path = "src/lib.rs"
[[bin]]
name = "tool"
path = "bin/tool.rs"
[[bin]]
name = "modcli"
path = "bin/modcli.rs"
[[bin]]
name = "shell"
path = "bin/shell.rs"
[[example]]
name = "demo"
path = "examples/demo.rs"
[features]
default = ["internal-commands"]
plugins = []
interactive = []
internal-commands = []
custom-commands=[]
[dependencies]
thiserror = "1.0.56"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "1.0", features = ["full"] }
once_cell = "1.18"
terminal_size = "0.1"
libloading = "0.7"
rpassword = "7.2.0"
crossterm = { version = "0.27.0", features = ["event-stream"] }
colorgrad = "0.6.0"
colored = "2.1.0"
clap = { version = "4.5.4", features = ["derive"] }
[dev-dependencies]
tokio = { version = "1.0", features = ["rt-multi-thread"] }
once_cell = "1.19"