2 个版本
使用旧的 Rust 2015
0.1.1 | 2018 年 4 月 26 日 |
---|---|
0.1.0 | 2018 年 4 月 26 日 |
#14 在 #handy
149 每月下载
在 5 个 crates(4 个直接)中使用
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
是一个包含用于将带有表情符号和颜色的消息打印到终端的便捷函数的集合 😍
