XaCLI
A powerful, type-safe CLI framework for Rust.
Features
- Derive Macros:
#[derive(App)],#[derive(Subcommand)],#[derive(ValueEnum)] - Type-safe Parsing: Define CLI structure using structs and enums
- Interactive Components: Prompts, spinners, progress bars, and more
- Shell Completion: Auto-generation for Bash, Zsh, Fish, PowerShell
- Validation: Built-in validators for arguments
Installation
[]
= "0.1"
Quick Start
use App;
Crates
| Crate | Description |
|---|---|
xacli |
Umbrella crate (re-exports all) |
xacli-core |
Core framework |
xacli-derive |
Procedural macros |
xacli-components |
Interactive components |
Documentation
License
Apache-2.0