[package]
edition = "2021"
rust-version = "1.82"
name = "clap-ext"
version = "0.1.0"
authors = ["KooshaPari <kooshapari@kooshapari.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared Rust CLI extension library: common subcommands, config flags, error display for clap-based CLIs"
readme = false
keywords = [
"cli",
"clap",
"argparse",
"extension",
"boilerplate",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/KooshaPari/clap-ext"
[lib]
name = "clap_ext"
path = "src/lib.rs"
[[test]]
name = "common_args"
path = "tests/common_args.rs"
[[test]]
name = "common_subcommands"
path = "tests/common_subcommands.rs"
[[test]]
name = "error"
path = "tests/error.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.clap]
version = ">=4.3, <4.4"
features = [
"derive",
"wrap_help",
"env",
"string",
]
[dependencies.thiserror]
version = "2.0"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"json",
]
[dev-dependencies.clap]
version = ">=4.3, <4.4"
features = ["derive"]