A simple CLI tool for starting a countdown timer.
Project description
Timer-CLI
A very simple Python CLI tool to start a countdown timer.
Installation
Easily install timer-cli using pip:
pip install timer-cli
Usage
$ timer [options] duration
How to specify a duration
Syntax for a duration is __h__m__s
where the hour, minute and second values are all optional.
Duration examples
- 2mins 30secs -
2m30s
- 10hrs 5secs -
10h5s
- 1hr 25mins 45secs -
1h25m45s
Options
--no-bell
Supplying the --no-bell
flag will stop the terminal from "ringing the bell" (making a sound) once the timer has finished.
Contributing
Contributions are always welcome!
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License
This code is distributed under the Apache-2.0 license. See LICENSE
for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for timer_cli-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 064ddff15a7270e0a048213beca683497073546271e4fee62adc5c1416af7403 |
|
MD5 | b2f10317a8c66cbf7e26e9faa6d8e43b |
|
BLAKE2b-256 | 9df17e3326f43f2cd35f977e1ab78ac976006af3ee681f6569567cb9ff3e1c6d |