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

https://github.com/hash-bang/coma

Node CLI to enhance the GNU `sleep` command
https://github.com/hash-bang/coma

Last synced: 3 months ago
JSON representation

Node CLI to enhance the GNU `sleep` command

Awesome Lists containing this project

README

        

coma
====
Node CLI to enhance the GNU `sleep` command.

Parses a time expression, waits and quits. Designed to be used within a shell script.

coma next friday && echo "To the pub!"

coma midnight && echo "It its the witching hour!"

coma 2h && echo "2 Hours from when we started"

coma 3pm tomorrow && "Its 3 O'clock!"

Can also optionally take a `-c` / `--countdown` parameter to display the time remaining on the console every second.

The envionment variable `COMA` can be populated with default options to use if no arguments are specified. e.g. `export COMA='midnight tomorrow' -cv`.