3 releases
0.0.3 | Jul 17, 2022 |
---|---|
0.0.2 | May 2, 2021 |
0.0.1 | May 2, 2021 |
#2271 in Command line utilities
16KB
281 lines
20min
https://gitlab.com/grauwoelfchen/20min/badges/trunk/pipeline.svg https://gitlab.com/grauwoelfchen/20min/badges/trunk/coverage.svg https://docs.rs/twenty-minutes/badge.svg20min (twenty-minutes) is a command line working timer.
Install
% cargo install twenty-minutes
Usage
# 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
Build
Check make help
# debug build % make build
Test
% make test % make test:coverage
License
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 http://www.apache.org/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.
Dependencies
~3.5MB
~66K SLoC