2 个版本

使用旧的 Rust 2015

0.1.1 2018 年 4 月 26 日
0.1.0 2018 年 4 月 26 日

#14#handy

Download history · Rust 包仓库 90/week @ 2024-03-30 · Rust 包仓库 42/week @ 2024-04-06 · Rust 包仓库 63/week @ 2024-04-13 · Rust 包仓库 93/week @ 2024-04-20 · Rust 包仓库 24/week @ 2024-04-27 · Rust 包仓库 164/week @ 2024-05-04 · Rust 包仓库 165/week @ 2024-05-11 · Rust 包仓库 102/week @ 2024-05-18 · Rust 包仓库 106/week @ 2024-05-25 · Rust 包仓库 107/week @ 2024-06-01 · Rust 包仓库 90/week @ 2024-06-08 · Rust 包仓库 72/week @ 2024-06-15 · Rust 包仓库 89/week @ 2024-06-22 · Rust 包仓库 21/week @ 2024-06-29 · Rust 包仓库 12/week @ 2024-07-06 · Rust 包仓库 24/week @ 2024-07-13 · Rust 包仓库

149 每月下载
5 个 crates(4 个直接)中使用

MIT 许可证

4KB

prettycli

打印美观的终端消息


描述

一个简单的 Rust 包,无依赖项,用于在终端中打印带表情符号的彩色消息。

用法

extern crate prettycli;

use prettycli::*;

fn main() {
    error("Hello, world!");
    info("Hello, world!");
    warn("Hello, world!");
    wait("Hello, world!");
    critical("Hello, world!");
    command("Hello, world!");
    link("Hello, world!");
    misc("Hello, world!");
}

将输出

问题/反馈

github issues 中记录或在 twitter 上联系我。

灵感

喜欢它吗?

请 ⭐ 这个仓库


lib.rs:

prettycli

prettycli 是一个包含用于将带有表情符号和颜色的消息打印到终端的便捷函数的集合 😍

无运行时依赖