An open API service indexing awesome lists of open source software.

https://github.com/qu4tro/nap

nap is sleep for an utilitarian
https://github.com/qu4tro/nap

command-line-tool python sleep

Last synced: 20 days ago
JSON representation

nap is sleep for an utilitarian

Awesome Lists containing this project

README

          

*Nap*
==============

usage: nap [-h] [--quiet] [--dry-run] [--poll-time] {for,until} ... time

Sleep tight :)

positional arguments:
{for,until}
for Sleep for the given time
until Sleep until the given time
time Time values postfixed by their respective units separated
by nothing

optional arguments:
-h, --help show this help message and exit
--quiet, -q No output
--dry-run, -0 Only output
--poll-time, -p Instead of sleeping the entire time, checks every second if
the given time has arriven.

Example:
nap for 1h10m
nap for 1s1m
nap for 30s
nap until 9h23m10s
nap -q until 14h
nap -0 until 9h23m10s