This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from time import sleep | |
| import click | |
| from tqdm import trange | |
| @click.command() | |
| @click.option("-c", "--count", default=60, help="Duration in seconds to wait") | |
| def timer(count): | |
| """Wait for the specified number of seconds and print the progress bar.""" |
OlderNewer