Rust CLI Toolkit

Cliva

A Rust toolkit for building reliable, polished, and developer-friendly command-line applications.

RustCargo WorkspaceOpen Source
Overview

CLI development
without the repetition.

Cliva is a collection of focused Rust libraries designed to make CLI development faster, cleaner, and less repetitive.

Rather than putting everything into one large library, Cliva is organized as a Cargo workspace containing independently usable crates.

Use only what your application needs. Nothing more.

Components

Focused libraries. One workspace.

Each component solves a specific part of CLI development and can be used independently.

01
Core library

cliva

The core CLI development library for commands, arguments, options, flags, subcommands, parsing, and related CLI functionality.

Packagecliva = "0.1"
View documentation
02
Terminal toolkit

cliva-io

A standalone terminal input and output toolkit providing formatted output, user input, prompts, status messages, tables, and terminal UI utilities.

Packagecliva-io = "0.1"
View documentation
Architecture

Independent pieces. One ecosystem.

Cliva keeps CLI development and terminal interaction separate, so each part can be used independently or together.

cliva

CLI Development
  • Commands
  • Arguments
  • Options
  • Flags
  • Parsing
  • Routing

cliva-io

Terminal I/O
  • Input
  • Output
  • Prompts
  • Progress Bars
  • Loaders
  • Tables
Get started

Explore Cliva.

Explore the source, read the documentation, or start experimenting with the components.

Apache License 2.0