Yesh-02

psleep

Yesh-02

A tiny, fast CLI utility written in Rust that works just like sleep but shows a live progress bar. Supports human-friendly durations (psleep 1m30s), multiple animation styles (bar, spinner, dots, blocks), and is configurable via flags or environment variables. Never stare at a blank terminal wondering "is this thing still going?" again.

AI 简介

psleep 是一个用 Rust 编写的轻量级命令行工具,它类似于 `sleep` 命令,但增加了实时进度条显示功能。该工具支持易于理解的时间格式(如 `psleep 1m30s`),并提供了多种动画样式(如 bar、spinner、dots 和 blocks),用户可以通过命令行标志或环境变量进行配置。此外,psleep 还利用了终端的原生 OSC 9;4 协议,在支持的终端中直接在标签栏或任务栏显示进度。此工具适用于需要等待操作完成且希望直观了解剩余时间的各种场景,尤其适合开发者和系统管理员在脚本中使用。

Rust
Apache License 2.0
35
Stars
1
Forks
1
Watchers
3
Issues

Star 增长

今日0
近 7 天0
近 30 天+1
综合评分41
默认分支main