| Crates.io | clientele |
| lib.rs | clientele |
| version | 0.3.8 |
| created_at | 2024-08-21 16:17:42.510142+00 |
| updated_at | 2025-06-30 21:41:32.014264+00 |
| description | Clientele packages `clap`, `camino`, `dotenvy`, `wild`, `argfile`, and `getenv` into one dependency. |
| homepage | https://clientele.rs |
| repository | https://github.com/dryrust/clientele.rs |
| max_upload_size | |
| id | 1346700 |
| size | 52,724 |
Clientele makes it easy to write superb command-line utilities in Rust that follow consistent best practices on all target platforms including Linux, macOS, and Windows. It packages and re-exports clap, camino, dotenvy, wild, argfile, and getenv into a single easy dependency.
.env files (using the dotenvy crate).javac or Python (using the argfile crate).Utf8Path and Utf8PathBuf types (using the camino crate).sysexits.h(3) exit codes (see known-errors).cargo add clientele
Cargo.toml (with all features enabled)[dependencies]
clientele = "0.3"
Cargo.toml (with only specific features enabled)[dependencies]
clientele = { version = "0.3", default-features = false, features = ["dotenv"] }
See examples/skeleton/main.rs for a complete example.
use clientele::*;
cargo run --example skeleton
StandardOptionsOptions:
--color <COLOR> Set the color output mode [default: auto] [possible values: auto, always, never]
-d, --debug Enable debugging output
--license Show license information
-v, --verbose... Enable verbose output (may be repeated for more verbosity)
-V, --version Print version information
-h, --help Print help
| Crate (Feature) | Version | Usage | Summary |
|---|---|---|---|
argfile ("argfile") |
0.2 | Enhances args_os() to expand @argfiles |
|
camino ("camino") |
1.1 | Prerequisite for paths::* |
|
clap ("clap") |
4.5 | Provides StandardOptions |
|
dotenvy ("dotenvy") |
0.15 | Provides dotenv() |
|
getenv ("getenv") |
0.1 | Provides envs::*, prerequisite for paths::* |
|
tracing-core ("tracing") |
0.1 | Implements Into<tracing_core::Level> for StandardOptions |
|
wild ("wild") |
2 | Enhances args_os() to support globs on Windows |
|
git clone https://github.com/dryrust/clientele.rs.git