cli-template
Welcome to the cli-template documentation. This is a Rust CLI tool built with Clap and Tokio, designed as a template for building production-ready command-line applications.
Quick Links
Section titled “Quick Links”- Getting Started — install and run your first command.
- Usage — learn about available commands and options.
- Architecture — understand the project structure and design decisions.
- CLI Reference — complete reference for all commands and flags.
- Contributing — how to contribute to this project.
Key Features
Section titled “Key Features”- Cross-platform — runs on macOS, Linux, and Windows.
- Fast — written in Rust for maximum performance.
- Type-safe CLI — powered by Clap derive macros.
- Async runtime — built on Tokio for concurrent operations.
- Structured logging — tracing with environment-based filtering.
- Docker support — multi-stage Alpine-based container image.
- npm distribution — TypeScript wrapper for cross-platform installation.
Installation
Section titled “Installation”# Via Cargocargo install cli-template
# Via npmnpm install -g @dallay/cli-templateSee the Getting Started guide for more details.