3 个版本

0.0.3 2022年7月17日
0.0.2 2021年5月2日
0.0.1 2021年5月2日

#1706 in 命令行工具

Apache-2.0

16KB
281 代码行

20min

https://gitlab.com/grauwoelfchen/20min/badges/trunk/pipeline.svg https://gitlab.com/grauwoelfchen/20min/badges/trunk/coverage.svg https://img.shields.io/crates/v/twenty-minutes?label=crates&style=flat https://docs.rs/twenty-minutes/badge.svg

最新消息!

20min(二十分钟) 是一个命令行工作计时器。

安装

% cargo install twenty-minutes

用法

# 900 secs work and 300 secs rest (same as default)
% 20min -w 15 -r 5
    Working [==============================================================] 100%
   Finished work [unoptimized + progressbar] targes(+s) in 900 secs
    Resting [===================================================-----------] 80%
# see 20min --help for the details
% 20min
% 20min 15,5
% 20min 15 5
% 20min --work 15 --rest 5
% 20min -w 15

构建

检查make help

# debug build
% make build

测试

% make test
% make test:coverage

许可证

20min
Copyright 2018-2022 Yasuhiro Яша Asaka

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    https://apache.ac.cn/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

依赖

~3MB
~50K SLoC