Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

cliclack

> 编程语言
Open source

Beautiful, minimal, opinionated CLI prompts inspired by the Clack NPM package

360 stars0 likes1 views
WebsiteGitHub

About

Beautiful, minimal, opinionated CLI prompts inspired by the Clack NPM package

Effortlessly build beautiful command-line apps with Rust ✨ Beautiful, minimal, opinionated CLI prompts inspired by the @clack/prompts npm package.

bash
cargo add cliclack

cliclack in action

bash
cargo run --example basic
cargo run --example log

Fancy minimal UI

✅ Simple API

Theme support

Setup

The intro and outro/outro_cancel functions will print a message to begin and end a prompt session respectively.

rust
use cliclack::{intro, outro};

intro("create-my-app")?;
// Do stuff
outro("You're all set!")?;

Input

The input prompt accepts a single line of text trying to parse it into a target type. Multiline input can be enabled using the multiline() switch, and autocomplete using autocomplete().

rust
use cliclack::input;

let path: String = input("Where should we create your project?")
    .placeholder("./sparkling-solid")
    .validate(|input: &String| {
        if input.is_empty() {
            Err("Please enter a path.")
        } else if !input.starts_with("./") {
            Err("Please enter a relative path")
        } else {
            Ok(())
        }
    })
    .interact()?;

Theme

A custom theme can be applied for UI rendering. An example of theme customization:

bash
cargo run --example theme

Progress Bar

Starting from cliclack = "0.2.3", progress bars and multi-progress bars are supported.

Autocomplete

Starting from cliclack = "0.5.0", the input prompt supports autocompletion.

See more

  • Documentation
  • Examples

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言