Expand description
§cli-battery-pack
A battery pack for building CLI applications in Rust.
§What’s Included
| Crate | What it does |
|---|---|
| anyhow | Ergonomic error handling for applications |
| clap | Command-line argument parsing with derive macros |
| dialoguer | Interactive prompts and user input |
§Optional features
- indicators —
indicatiffor progress bars,consolefor terminal styling - search —
regexfor pattern matching,ignorefor gitignore-aware file walking
§Quick Start
cargo bp add cliWant progress bars too?
cargo bp add cli -F indicators§License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Functions§
- validate
- Validate that the consumer’s dependencies match this battery pack’s specs.