/deepwork

A CLI to turn off mac off notification for x amount of time. To help you doing deepwork

Primary LanguageTypeScript

DeepWork

demo

Requirement

  • NodeJS

Installation

npm install -g deepwork

Usage

deepwork [duration] [unit]

For example :

deepwork 1 hour

After that, you can safely close the terminal. The script will still run in the background

Supported Time Units

DeepWork using momentJS for duration conversion. So DeepWork we support all duration unit that's supported by momentjs. Which means all of these units works

"year"          | "years"           | "y" |
"month"         | "months"          | "M" |
"week"          | "weeks"           | "w" |
"week"          | "weeks"           | "w" |
"day"           | "days"            | "d" |
"hour"          | "hours"           | "h" |
"minute"        | "minutes"         | "m" |
"second"        | "seconds"         | "s" |
"millisecond"   | "milliseconds"    | "ms"

`

More info & Contributing

If you have any question, ping me on twitter @muhajirframe or summit an issue

Enjoy